Get all existing inventory items including their profile and group assignments, as well as their uuids for reference. For example uuids might be used to assign inventory itemsto tours created via TourWS.
Description
GET /inventory/get_inventories.php?company=RTI_COMPANYKEY&import=IMPORTKEY
Parameter
Parameter | Description | Type | Hint | Mandatory |
---|---|---|---|---|
company | RTI company key | string | yes | |
import | RTI import key | string | yes |
Return value
On success you will receive the result as json. On missing parameters or errors you will receive "ERROR:description".
Possible error values
Error | Description |
---|---|
MISSING_COMPANY | Company key is missing. |
INVALID_COMPANY | Company not found. Company key or import key might be faulty. |
ERROR_MAINTENANCE | Your company is under maintenance, no RTI request are possible at the moment. |
MISSING_IMPORT | Import key is missing. |
INVENTORY_NOT_ACTIVATED | Inventory management is not activated for your company. |
JSON
You can access the specification as a JSON Schema file here.
Example
[ { "uuid": "d0482b24095511ec9a030242ac130003", "description": "Object1", "nfcTag": "Tag1234", "profiles": [ "Messger\u00e4te" ], "groups": [], "attachable": false }, { "uuid": "d70c4da0095511ec9a030242ac130003", "description": "Tag5678", "nfcTag": "0441C0B2915B80", "profiles": [ "Abrollcontainer" ], "groups": [ "Container Sachsen" ], "attachable": true }, [...] ]