Error while an Purchase Order using an API

  • 21 April 2024
  • 1 reply
  • 22 views

Userlevel 1

I am facing a problem while creating a purchase order using an API in the postaman i am using this api  “http://localhost/AcumaticaERP/entity/Default/22.200.001/PurchaseOrder”  to create an purchase order an sending this in the Body of the Postman 
 

{

"Type":{"value":"Normal"},

"ReferenceNbr":{"value":"1"},

"Hold":{"value":"True"},

"VendorID":{"value":"AAVENDOR"},

"Description":{"value":"TestPO"},

"Date":{"value":"2023/03/27"}

}
which i have seen from your community only to create an Purchase Order but when i try to send the API i am getting this error 
 

Can Anyone to resolve this issue so that i can create an Purchase Order using an API 


1 reply

Userlevel 3
Badge

Hi @tanya007 ,

Have you gone through This documentation of Acumatica for creating Purchase order through API?

I believe you need to use Put method to create PO as per documentation.

Hope, it helps!

 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved