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 | |
offset | int | This function returns 5000 results at max. To get further entries, you can add an offset. | no |
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
{ "_date": "2024-12-04T09:07:00+01:00", "_links": { "next": { "href": null } }, "items": [ { "uuid": "d0482b24095511ec9a030242ac130003", "description": "Object1", "nfcTag": "Tag1234", "profiles": [ "Messger\u00e4te" ], "groups": [], "canTours": false }, { "uuid": "d70c4da0095511ec9a030242ac130003", "description": "Tag5678", "nfcTag": "0441C0B2915B80", "profiles": [ "Abrollcontainer" ], "groups": [ "Container Sachsen" ], "canTours": true }, [...] ] }
Example calls
|