Settings
A tracker's display label and the group it belongs to.
These two operations cover the tracker's own presentation: the label shown for it in the interface, and the group it sits in.
Everything else under settings is about the device rather than the record: tracking mode, parking detection, LBS, and the model-specific special settings.
API actions
API base path: /tracker/settings.
Get the tracker's label and group. Available to demo accounts.
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.
123456The base settings
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 201: no tracker with this ID belongs to the account. Error 208: the tracker exists but is blocked, normally because its tariff ended.
Error response object
POST /v2/tracker/settings/read HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"tracker_id": 123456
}{
"success": true,
"settings": {
"label": "Courier",
"group_id": 1
}
}Errors
These errors come in addition to the general error codes:
201 - No tracker with this ID belongs to the account.
208 - The tracker exists but is blocked, normally because its tariff ended.
Required sub-user rights: tracker_update.
Change the tracker's label and group.
Both label and group_id are required, so this call always writes both. Read the current values first if you mean to change only one.
Requires the tracker_update right.
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.
123456Tracker group ID, or 0 for no group. The group must exist.
1User-defined label. Printable characters, 1 to 60, and it cannot contain < or >.
CourierThe settings were changed
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 201: no tracker with this ID belongs to the account. Error 204: no group with this ID. Error 208: the tracker exists but is blocked, normally because its tariff ended.
Error response object
POST /v2/tracker/settings/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"tracker_id": 123456,
"group_id": 1,
"label": "Courier"
}{
"success": true
}Errors
These errors come in addition to the general error codes:
201 - No tracker with this ID belongs to the account.
204 - No group with this ID.
208 - The tracker exists but is blocked, normally because its tariff ended.
More in this section
LBS settings
Tracking mode
Parking detection
Special
Last updated
Was this helpful?