Download a document attached to an order response
How to download a document from an order or line response
Method 1. Download the document from the Tradecloud object-storage
Step 1. Retrieve the objectId from the document
objectId from the document"documents": [
{
"code": "123456789",
"revision": "B",
"name": "Tradecloud API Manual",
"objectId": "67aa8ece-5d41-496f-a94c-483e360b833b",
"type": "General",
"description": "General document"
}
],Step. 2. Retrieve the downloadUrl from the object storage
downloadUrl from the object storageStep 3. Download the document using the downloadUrl
downloadUrlMethod 2. Download the document from the supplier content server
Step 1. Retrieve the url from the document
url from the documentStep 2. Download the document using the url
urlLast updated