Skip to main content

Error while an Purchase Order using an API

  • April 21, 2024
  • 1 reply
  • 78 views

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

DipakNilkanth
Pro III
Forum|alt.badge.img+13

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!