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 URL
    https://hostname
  • URL
    https://hostname/api/inventory/v2/inventories/{inventoryId}/attachments
  • Auth
    OAuth 2
    Client credentials
    Token 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

AttachmentIdstring uuid required
Descriptionstring

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.