Listing
The set of working statuses a tracker can be set to, assigned per tracker.
A working status list is the set of working statuses a tracker can be set to. Nothing can be assigned to a tracker that is not on the list assigned to that tracker.
Lists are created empty. status/listing/create rejects both id and entries, because a new list holds no statuses yet, and statuses are added afterwards with status/create. Once a list holds several, status/listing/update reorders them through its entries field, which must name the list's full set of status IDs and nothing else.
Working status lists are a tariff feature. An account with no tracker whose plan includes statuses gets error 236 from every operation on this page.
Status listing object structure
API actions
API base path: /status/listing.
Required sub-user rights: tracker_update.
Create an empty working status list. Statuses are added to it afterwards with status/create.
Pass the listing object without id and without entries: both are rejected on creation, since a new list has no statuses in it yet.
Requires the tracker_update right. Requires the statuses tariff feature on at least one tracker. Without it the call returns error 236.
Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.
The created status list
true if request finished successfully.
trueID of the new working status list.
Bad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 236: no tracker on the account has the statuses feature. Error 268: the account's quota for working status lists is exhausted.
Error response object
POST /v2/status/listing/create HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"listing": {
"id": 1,
"label": "text",
"employee_controlled": true,
"supervisor_controlled": true,
"entries": [
1
]
}
}{
"success": true,
"id": 1
}Errors
These errors come in addition to the general error codes:
236 - Feature unavailable due to tariff restrictions, when no tracker on the account has the
statusestariff feature.268 - Over quota, when the user's quota for working status lists is exceeded.
Required sub-user rights: tracker_update.
Delete a working status list and everything in it.
Requires the tracker_update right. Requires the statuses tariff feature on at least one tracker. Without it the call returns error 236.
Also accepts GET with the same parameters as query-string values.
Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.
ID of the working status list.
Status list deleted
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 236: no tracker on the account has the statuses feature.
Error response object
POST /v2/status/listing/delete HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"listing_id": 1
}{
"success": true
}Errors
These errors come in addition to the general error codes:
201 - Not found in the database, when no working status list has the given ID.
236 - Feature unavailable due to tariff restrictions, when no tracker on the account has the
statusestariff feature.
Return every working status list belonging to the account, each with its entries in display order.
Callable with an empty body. Requires the statuses tariff feature on at least one tracker. Without it the call returns error 236.
Also accepts GET.
Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.
The status lists
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 236: no tracker on the account has the statuses feature.
Error response object
POST /v2/status/listing/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"success": true,
"list": [
{
"id": 1,
"label": "text",
"employee_controlled": true,
"supervisor_controlled": true,
"entries": [
1
]
}
]
}Errors
These errors come in addition to the general error codes:
236 - Feature unavailable due to tariff restrictions, when no tracker on the account has the
statusestariff feature.
Required sub-user rights: tracker_update.
Update a working status list's label, control flags and status order.
entries must contain exactly the statuses already in the list, no more and no fewer, with no duplicates. It exists to set their display order, not to add or remove statuses; a mismatched set returns error 262. Use status/create and status/delete to change membership.
Updating the list invalidates the status cache on every tracker assigned to it.
Requires the tracker_update right. Requires the statuses tariff feature on at least one tracker. Without it the call returns error 236.
Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.
Status list updated
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error 236: no tracker on the account has the statuses feature.
Error 262: entries does not match the statuses in the list, either missing some or naming ones that do not exist.
Error response object
POST /v2/status/listing/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"listing": {
"id": 1,
"label": "text",
"employee_controlled": true,
"supervisor_controlled": true,
"entries": [
1
]
}
}{
"success": true
}Errors
These errors come in addition to the general error codes:
201 - Not found in the database, when no working status list has the given ID.
236 - Feature unavailable due to tariff restrictions, when no tracker on the account has the
statusestariff feature.262 - Entries list is missing some entries or contains nonexistent entries, when
entriesomits a status ID associated with the list, or names one that does not exist.
More in this section
Tracker's working status list
Last updated
Was this helpful?