# Deep Security Manager REST API

## Path: / rest / software-inventory

Retrieve the list of all inventory metadata.

Resources
Name | Description
--- | ---
drift |
{inventoryID} | Retrieve inventory list metadata.

Method Summary
Resource | Description
--- | ---
`POST /rest/software-inventory` | Create an inventory of a host.
`GET /rest/software-inventory?inventoryID=…&inventoryIDOp=…&maxItems=…` | Retrieve the list of all inventory metadata.

Method Detail
Create an inventory of a host. Input: `CreateInventoryRequest` - a {@link CreateInventoryRequest} describing the inventory action to take. Output: `CreateInventoryResponse` - a {@link CreateInventoryResponse} carrying the ID of the created inventory list. Cookie parameters: sID - a session ID returned by the Authentication API. Produces: application/json Consumes: application/json
Retrieve the list of all inventory metadata. Output: `ListInventoriesResponse` - a {@link ListInventoriesResponse} containing the list of all software inventory metadata. Query parameters: inventoryID - (optional) used to define the starting point for the query. Combine with `inventoryIDOp` to page through results. inventoryIDOp - (optional, required if `inventoryID` is specified) Currently supported operations include gt(greater than), ge(greater than or equal to), eq(eqaul to), lt(less than), and le(less than or equal to). maxItems - (optional) the number of items to retrieve. The maximum value for this parameter is controlled by the "Maximum number of items to retrieve from database" setting on the administrator account, which defaults to 5000. Cookie parameters: sID - a session ID returned by the Authentication API. Produces: application/json Consumes: application/json

Copyright © 2017 Trend Micro Inc. All Rights Reserved.