Inventory
Add Attachments to Inventory
Use this API to add existing attachments to inventory record. Users can see these attached documents under Documents tab of Inventory Details page.
post/api/inventory/v2/inventories/{inventoryId}/attachments
Request
- Base URLhttps://hostname
- URLhttps://hostname/api/inventory/v2/inventories/{inventoryId}/attachments
- AuthOAuth 2Client credentialsToken URL: https://{hostname}/api/access/v1/oauth/token scopes: INVENTORY, INVENTORY_WRITE
Path parameters
inventoryIdstring uuid required
The unique identifier of the inventory to which the attachments will be added
Request body
Example request
[
{
"AttachmentId": "c79fb1a9-9406-4e9b-bff7-c72e635ee82b",
"Description": "Attachment Description"
}
]Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.