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

Vehicle status listing

Deprecated. The list of statuses a vehicle could be set to.

A vehicle status listing was the set of statuses a vehicle could be set to, in the way a working status list works for a tracker. The operations still answer, and are documented because they are still reachable, but nothing new should be built on them.

Vehicle status listing object

API actions

API base path: /vehicle/status/listing.

Operations that list no errors of their own return only the general error codes.

Reads the vehicle status list of the current user.


Read vehicle status listing

post
/vehicle/status/listing/read

Return the vehicle status list of the current user. Callable with an empty body. Also accepts GET.

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.

Responses
200

The status listing

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/vehicle/status/listing/read
POST /v2/vehicle/status/listing/read HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "success": true,
  "list": [
    {
      "id": 1,
      "order": 1,
      "label": "text",
      "color": "text"
    }
  ]
}

Replaces the vehicle status list. order is ignored on update, because statuses already have a position in the array.

Required sub-user rights: vehicle_update.

Update vehicle status listing

post
/vehicle/status/listing/update

Replace the vehicle status list.

order is ignored on update, because position is taken from the array order.

Requires the vehicle_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
Responses
200

Status listing updated

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/vehicle/status/listing/update
POST /v2/vehicle/status/listing/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 63

{
  "statuses": [
    {
      "id": 1,
      "order": 1,
      "label": "text",
      "color": "text"
    }
  ]
}
{
  "success": true
}

Last updated

Was this helpful?