iotoms Docs

Get inventory exception counts

GET
/api/v1/inventory/exceptions/summary

Returns the number of open inventory exceptions, how many of them can have their missed movement posted, and the open count per exception type (types with no open exceptions are left out).

Authorization

BearerAuth
headerAuthorizationBearer <JWT>

Header Parameters

Response Body

OK

*/*
  1. response
status*string

Outcome of the call: SUCCESS when the request worked, ERROR when it did not.

message*string

Short human-readable message describing the result, for logs or display; do not parse it.

data?

Open inventory exception counts, overall, replayable, and per exception type.

Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/inventory/exceptions/summary'
Example Response
{  "status": "string",  "message": "string",  "data": {    "openCount": 0,    "replayableOpenCount": 0,    "byType": [      {        "exceptionType": "REGISTER_LOCATION_UNSET",        "exceptionTypeLabel": "string",        "openCount": 0      }    ]  }}