Solved

Unable to get the get link in Purchase Order

  • 23 April 2024
  • 2 replies
  • 28 views

Userlevel 1

When i am trying to create an Purchase Order I am successfully able to create the purchase order using an API in the acumatica i have passed these fields in my body 
{

"Type": {"value": "Standard"}, "ReferenceNbr": {"value": "1"}, "Hold": {"value": false}, "VendorID": {"value": "PREMIUMVD"}, "Description": {"value": "Acumatica PO"}, "Date": {"value": "2023-03-27T00:00:00+05:30"}, "CurrencyID": {"value": "USD"}, "Location": {"value": "MAIN"}, "Terms": {"value": "T007"

} }
and i am getting the response as 200 where i am also getting an link 
 

When i am clicking the self link i am unable to get any thing and it is giving me this page 
 

Can anyone help me why i am getting this page 

icon

Best answer by ruchikasharma23 23 April 2024, 16:46

View original

2 replies

Userlevel 5
Badge +2

@tanya007 
The value of the _links/files:put field for the desired record is part of the URL template that must be used in a request for attaching a file.

Below article has a detailed explanation on this. Hope this helps.
https://help-2023r1.acumatica.com/Help?ScreenId=ShowWiki&pageid=591def3d-5fe5-42c1-bb35-cfe5b4c77f6f
 

Userlevel 6
Badge +4

Hi @tanya007 

You have to login first before doing a PUT. Please take a look here:

Sign In to the Service
https://help-2023r1.acumatica.com/(W(1))/Help?ScreenId=ShowWiki&pageid=0322492a-de9b-4443-b256-923c48aff31d

 

 

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