Inventories

Upload an inventory for processing

Upload an inventory to the web application

post/inventories/upload

Request

Request body multipart/form-data

filestring binary

The inventory file. The original file name is used to check extension, that should be .xml[.gz] or .ocs[.gz]

signaturestring binary

The signature file. The original file name is used to check extension, that should be ${originalInventoryFileName}.sign[.gz]

Response

Inventory uploaded

result'success' | 'error' required

Result of the request

action'uploadInventory' required

The id of the action

datastring required

Example response

{
  "data": "Inventory 'file.xml' for Node 'c1bab9fc-bcf6-4d59-a397-84c8e2fc06c0' added to processing queue."
}

Changes

No recorded changes to this operation across all 7 revisions of this API.