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

Retranslator binding

Which retranslators forward a given tracker's data, and how to change that.

A binding connects one tracker to one retranslator, which is what makes that tracker's data flow on to the third-party server the retranslator points at. The retranslator itself is created separately, and these operations only decide which trackers feed it.

Binding is a master-user action. Creating and removing a binding requires the admin right, though listing a tracker's bindings does not.

Tracker retranslator binding object

API actions

API base path: /tracker/retranslator.


Required sub-user rights: admin, available only to master users.

Bind a tracker to a retranslator

post
/tracker/retranslator/bind

Start forwarding a tracker's data to a retranslator, or update an existing binding. The retranslator itself is created with the retranslator resource.

Requires the admin 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: 999199
retranslator_idintegerRequired

ID of the retranslator.

Example: 123
fake_device_idstringOptional

Optional. Forward this value instead of the real device ID. Must be valid for the retranslator's protocol, which the protocol's fake_device_id_pattern defines.

Example: AI568T
Responses
200

The binding was created

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/retranslator/bind
POST /v2/tracker/retranslator/bind HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 69

{
  "tracker_id": 999199,
  "retranslator_id": 123,
  "fake_device_id": "AI568T"
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 201 - No such tracker or retranslator.

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

  • 219 - The tracker is a clone.

  • 236 - No tracker has the retranslation tariff feature.

  • 242 - fake_device_id is invalid for the retranslator's protocol.


List a tracker's retranslator bindings

post
/tracker/retranslator/list

Get the retranslators a tracker forwards data to. 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: 999199
Responses
200

The bindings

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/retranslator/list
POST /v2/tracker/retranslator/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21

{
  "tracker_id": 999199
}
{
  "success": true,
  "list": [
    {
      "retranslator_id": 4548,
      "fake_device_id": "AI568T"
    }
  ]
}

Errors

These errors come in addition to the general error codes:

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


Required sub-user rights: admin, available only to master users.

Unbind a tracker from a retranslator

post
/tracker/retranslator/unbind

Stop forwarding a tracker's data to a retranslator.

Requires the admin 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: 999199
retranslator_idintegerRequired

ID of the retranslator.

Example: 123
Responses
200

The binding was removed

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/retranslator/unbind
POST /v2/tracker/retranslator/unbind HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "tracker_id": 999199,
  "retranslator_id": 123
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

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

  • 219 - The tracker is a clone.

Last updated

Was this helpful?