Attach a document to an order
You can attach documents using three methods:
- Upload your document to the Tradecloud object-storage and attach the
objectIdto the order or line. - Upload your document to your company’s content server and attach the
urlto the order line. - Only attach document meta data, such as document code/number, revision and name.
Method 1. Attach a document using the Tradecloud object-storage
Section titled “Method 1. Attach a document using the Tradecloud object-storage”Step 1. Upload a document to the Tradecloud object-storage
Section titled “Step 1. Upload a document to the Tradecloud object-storage”Use the Upload document endpoint to upload the document to the Tradecloud object-storage and remember the returned document objectId.
Step 2. Choose an appropriate API to attach the document
Section titled “Step 2. Choose an appropriate API to attach the document”You can attach the uploaded document using two methods:
Choose attach document APIChoose an appropriate API to attach a document to an order or line
Method 2. Attach a document using your company’s content server
Section titled “Method 2. Attach a document using your company’s content server”Step 1. Upload to your company’s content server
Section titled “Step 1. Upload to your company’s content server”Upload documents to your company’s content server and remember the returned document url.
Step 2. Choose an appropriate API to attach the document
Section titled “Step 2. Choose an appropriate API to attach the document”Choose an appropriate API to attach the document:
Choose attach document APIChoose an appropriate API to attach a document to an order or line
Method 3. Only provide document meta data
Section titled “Method 3. Only provide document meta data”Only provide document meta data like code, revision, name, description and type.
Choose an appropriate API to attach the document:
Choose attach document APIChoose an appropriate API to attach a document to an order or line
