You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to add an attachment to a purchase order via REST call

Summary:

We have PO's in status OPEN and now we want to add an URL link as an attachment to a certain document. We use a REST API for this and first make a Pending Change Order. Then we try to add the attachment, but his is resulting in:

https://fa-exbq-dev1-saasfaprod1.fa.ocs.oraclecloud.com:443/fscmRestApi/resources/11.13.18.05/draftPurchaseOrders/16008/child/attachments, status=400, reason=Bad Request}}]]&gt;</ns0:errorPath><ns0:instance>&lt;![CDATA[You can't perform this action on documents that are in OPEN status. (PO-2055153)

Content (please ensure you mask any confidential information):

We see the PO in status OPEN and we see a Pending Change Order with the status INCOMPLETE. Manually we can add the attachment, however using the API it's giving the error message.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!