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

Datalogger

Upload track data a device recorded offline, so it joins the tracker's history.

A datalogger is a device that records track data itself rather than streaming it. This operation uploads what it recorded, as a CSV file in a multipart request, so the points join the tracker's history.

The tracker has to be a datalogger. Other models answer error 214.

API actions

API base path: /tracker/datalogger.


Upload datalogger track data

post
/tracker/datalogger/upload

Upload recorded track data for a datalogger. Multipart request, with a CSV file in a part named file.

The tracker must be a datalogger; other models answer 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
filestring · binaryRequired

A CSV file of datalogger track data.

Responses
200

The data was accepted

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/tracker/datalogger/upload
POST /v2/tracker/datalogger/upload HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 37

{
  "tracker_id": 123456,
  "file": "binary"
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

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

  • 214 - The tracker is not a datalogger.

  • 219 - The tracker is a clone.

  • 233 - No file part was sent.

Last updated

Was this helpful?