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.
Return the vehicle status list of the current user. Callable with an empty body. Also accepts GET.
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.
The status listing
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error response object
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.
Replace the vehicle status list.
order is ignored on update, because position is taken from the array order.
Requires the vehicle_update right.
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.
Status listing updated
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error response object
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?