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

LBS settings

The maximum radius accepted for a tracker's cell-tower and Wi-Fi positions.

LBS, or location-based service, positions a device from cell towers and Wi-Fi access points instead of from GNSS such as GPS, GLONASS, Galileo, or BeiDou. It works where satellites do not, indoors or in dense cities, but its points carry far more uncertainty than a satellite fix.

That uncertainty is what these operations control. The setting is the maximum radius accepted for this tracker's LBS points, and it backs the LBS detection radius setting on the device's settings tab in the interface.

API actions

API base path: /tracker/settings/lbs.


Read the LBS radius limit

post
/tracker/settings/lbs/read

Get the maximum radius accepted for LBS points on this tracker. LBS positions a device from cell towers or Wi-Fi access points rather than from GNSS, so its points carry a much larger uncertainty than a GPS fix. Available to demo accounts.

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 LBS radius limit

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
max_radiusinteger · max: 10000Optional

Maximum accepted radius for LBS points, in metres.

Example: 300
post/tracker/settings/lbs/read
POST /v2/tracker/settings/lbs/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,
  "max_radius": 300
}

Errors

These errors come in addition to the general error codes:

  • 204 - 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 LBS radius limit

post
/tracker/settings/lbs/update

Change the maximum radius accepted for LBS points. Points reported with a larger radius than this are discarded, so raising it admits vaguer positions and lowering it discards more of them.

Requires the tracker_update 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
max_radiusinteger · max: 10000Required

Maximum accepted radius for LBS points, in metres.

Example: 1000
Responses
200

The limit was changed

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

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

{
  "tracker_id": 123456,
  "max_radius": 1000
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 204 - No tracker with this ID belongs to the account.

  • 208 - The tracker exists but is blocked, normally because its tariff ended.

Last updated

Was this helpful?