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

Tracker's working status list

Assign a working status list to a tracker, or remove the assignment.

This operation links a tracker to a working status list, which is what makes any working status available to that tracker at all. A tracker with no list assigned has no statuses it can be set to.

Omit listing_id entirely to remove the assignment rather than change it.

API actions

API base path: /status/listing/tracker.


Required sub-user rights: tracker_update.

Assign working status list to tracker

post
/status/listing/tracker/assign

Assign a working status list to a tracker, or remove the assignment.

Omit listing_id entirely to remove the assignment. A tracker with no list assigned has no working statuses available to it.

Not allowed for clones. 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
tracker_idinteger · min: 1Required

ID of the tracker, also known as the object ID. Must belong to the current account and not be blocked.

listing_idinteger · min: 1Optional

Optional. ID of the working status list to assign. Omit to remove the current assignment.

Responses
200

Status list assigned

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/status/listing/tracker/assign
POST /v2/status/listing/tracker/assign HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 31

{
  "tracker_id": 1,
  "listing_id": 1
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 201 - Not found in the database, when the authorized user has no tracker with the given ID.

  • 204 - Entity not found, when no working status list has the given ID.

  • 208 - Device blocked, when the tracker exists but is blocked, whether by tariff restrictions or for another reason.

  • 219 - Not allowed for clones of the device, when the given tracker is a clone.

  • 236 - Feature unavailable due to tariff restrictions, when no tracker on the account has the statuses tariff feature.

Last updated

Was this helpful?