You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

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

ParameterDescriptionTypeHintMandatory
companyRTI company keystring
yes
importRTI import keystring
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_COMPANYCompany key is missing.
INVALID_COMPANYCompany not found. Company key or import key might be faulty.
ERROR_MAINTENANCEYour company is under maintenance, no RTI request are possible at the moment.
MISSING_IMPORTImport key is missing.
INVENTORY_NOT_ACTIVATEDInventory 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
    },
    [...]
]
  • No labels