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 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.
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 tracker, also known as the object ID. Must belong to the current account and not be blocked.
Optional. ID of the working status list to assign. Omit to remove the current assignment.
Status list assigned
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 208: the tracker exists but is blocked, normally because its tariff ended. Error 219: the tracker is a clone.
Error 204: no working status list with this ID exists.
Error response object
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
statusestariff feature.
Last updated
Was this helpful?