For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 working status list

post
/status/listing/create

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.

Authorizations
AuthorizationstringRequired

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.

Body
Responses
200

The created status list

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
idintegerOptional

ID of the new working status list.

post/status/listing/create
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 statuses tariff feature.

  • 268 - Over quota, when the user's quota for working status lists is exceeded.


Required sub-user rights: tracker_update.

Delete working status list

post
/status/listing/delete

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.

Authorizations
AuthorizationstringRequired

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.

Body
listing_idinteger · min: 1Required

ID of the working status list.

Responses
200

Status list deleted

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/status/listing/delete
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 statuses tariff feature.


List working status lists

post
/status/listing/list

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.

Authorizations
AuthorizationstringRequired

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.

Body
objectOptional
Responses
200

The status lists

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/status/listing/list
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 statuses tariff feature.


Required sub-user rights: tracker_update.

Update working status list

post
/status/listing/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.

Authorizations
AuthorizationstringRequired

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.

Body
Responses
200

Status list updated

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/status/listing/update
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 statuses tariff feature.

  • 262 - Entries list is missing some entries or contains nonexistent entries, when entries omits a status ID associated with the list, or names one that does not exist.

More in this section

Tracker's working status list

Endpoint
Method
What it does

POST

Assign working status list to tracker

Last updated

Was this helpful?