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

Tracking mode

How often and under what conditions a device transmits its data.

Tracking mode is the device's own data transmission and operating configuration: how often it reports, what wakes it up, and how it behaves between reports. It backs the tracking mode settings on the device's settings tab in the interface.

The fields differ from model to model, because they map onto what each device's firmware exposes, so the request and the response are open objects rather than a fixed shape. Tracking profiles lists what a given model accepts. A model with no tracking settings at all answers error 214.

API actions

API base path: /tracker/settings/tracking.


Read tracking mode settings

post
/tracker/settings/tracking/read

Get the device's data transmission and operating mode settings. Available to demo accounts.

The fields differ from model to model, so the response is an open object rather than a fixed shape. The tracking profiles page lists what each model accepts. A model with no tracking settings at all answers error 214.

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_idintegerRequired

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

Example: 123456
Responses
200

The tracking settings

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/settings/tracking/read
POST /v2/tracker/settings/tracking/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,
  "value": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}

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.

  • 214 - This model has no tracking settings.


Required sub-user rights: tracker_configure.

Change tracking mode settings

post
/tracker/settings/tracking/update

Send new data transmission and operating mode settings to the device.

This reaches the hardware, so it is not a database-only write. The accepted fields differ from model to model; see the tracking profiles page for what a given model takes.

Requires the tracker_configure right.

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_idintegerRequired

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

Example: 123456
Responses
200

The settings were sent

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/settings/tracking/update
POST /v2/tracker/settings/tracking/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 194

{
  "tracker_id": 123456,
  "tracking_settings": {
    "tracking_angle": 30,
    "tracking_distance": 100,
    "tracking_interval": 60,
    "on_stop_tracking_interval": 180,
    "sleep_mode": "disabled",
    "stop_detection": "ignition"
  }
}
{
  "success": true
}

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.

  • 214 - This model has no tracking settings.

  • 219 - The tracker is a clone.

Last updated

Was this helpful?