Asset events
The event history of assets over a period, listed or counted.
These two operations read the event history of assets: one returns the entries over a period, the other counts them without returning them, which is what a badge or a paging control needs.
The event types that can appear come from history/type/list.
API actions
API base path: /history/asset.
list adds at most one label to message, as label: message. With add_asset_label on, an entry naming a vehicle or an employee takes the asset label, which is the vehicle label or, when there is no vehicle, the employee's full name. An entry naming neither falls back to the tracker label, even with add_tracker_label off.
Return the event history of assets over a period.
Only one label is ever prefixed to message, as label: message. With add_asset_label on, an entry naming a vehicle or an employee takes the asset label, which is the vehicle label or, when there is no vehicle, the employee's full name. An entry naming neither falls back to the tracker label, even with add_tracker_label off. With add_asset_label off, add_tracker_label decides on its own.
A request with an empty body reports interval as the missing parameter. That is the internal name of the field holding both dates; the public parameters are from and to.
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.
Start of the period. Include events recorded at or after this date.
2026-08-24 09:00:00End of the period. Include events recorded at or before this date. Must be after from.
2026-08-24 09:00:00Optional. Restrict to these event types. Available types come from history/type/list.
Optional. Defaults to the platform history.max_limit, which dealer/get_ui_config reports. Maximum number of records to return.
Optional. Default true. Order by time ascending, or descending when false.
Optional. Default false. Include only emergency events.
Optional. Default false. Include only unread events.
Optional. Default true. Add the asset label to the message field.
Optional. Default false. Add the tracker label to the message field.
Optional. Default false. Add files to each entry: the camera recordings and photos uploaded to Navixy that start within 10 seconds before or after the event. Applied only when the caller has the video_monitoring right, and ignored otherwise.
Matching history entries
true if request finished successfully.
truetrue when the result was cut short by the platform limit, so more entries match than were returned. There is no total count: use the matching count operation for that.
Bad 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 211: the requested time span is too big. Error 212: the requested period is not available on the current plan.
Error response object
POST /v2/history/asset/list HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 279
{
"assets": [
{
"id": 1,
"type": "vehicle"
}
],
"asset_types": [
"vehicle"
],
"from": "2026-08-24 09:00:00",
"to": "2026-08-24 09:00:00",
"events": [
"text"
],
"limit": 1,
"ascending": true,
"only_emergency": true,
"only_unread": true,
"add_asset_label": true,
"add_tracker_label": true,
"add_tracker_files": true
}{
"success": true,
"list": [
{
"id": 1,
"type": "socket",
"is_read": true,
"message": "text",
"time": "text",
"event": "text",
"tracker_id": 1,
"rule_id": null,
"track_id": 1,
"address": null,
"location": {
"lat": 1,
"lng": 1,
"precision": 1,
"address": "text"
},
"assets": [
{
"id": 1,
"type": "vehicle"
}
],
"files": [
{
"id": 1,
"storage_id": 1,
"user_id": 1,
"subuser_id": null,
"type": "image",
"created": "text",
"uploaded": "text",
"name": "2026_11_02_08_15_00_22_861234567890123_HVIDEO_HD.mp4",
"size": 1,
"mime_type": "video/mp4",
"storage_data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"metadata": null,
"state": "created",
"previews": [
{
"ANY_ADDITIONAL_PROPERTY": "anything"
}
],
"download_url": "text",
"view_url": "text",
"file_source_key": "front_camera"
}
],
"extra": {
"employee_full_name": "text",
"vehicle_label": "text",
"task_id": null,
"parent_task_id": null,
"counter_id": null,
"service_task_id": null,
"checkin_id": null,
"place_ids": [
1
],
"places_total_count": 1,
"last_known_location": true,
"tracker_label": "text",
"emergency": true,
"zone_ids": [
1
],
"zone_labels": [
"text"
],
"proximity_object_id": 1,
"employee_id": 1,
"sensor_id": 1,
"sensor_name": "text",
"sensor_calculated_value": "text",
"full_message": "text",
"precision": 1,
"command": {
"name": "text",
"param": null,
"response": {
"status": null,
"body": null,
"error": null,
"success": null
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"limit_exceeded": true
}Errors
These errors come in addition to the general error codes:
211 - Requested time span is too big.
212 - Requested period is not available on the current plan.
Return how many asset history entries match, without returning them.
Use this to size a query before paging through it.
A request with an empty body reports interval as the missing parameter. That is the internal name of the field holding both dates; the public parameters are from and to.
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.
Start of the period.
2026-08-24 09:00:00End of the period. Must be after from.
2026-08-24 09:00:00Optional. Restrict to these event types.
Optional. Default false. Count only emergency events.
Optional. Default false. Count only unread events.
The counts
true if request finished successfully.
trueNumber of matching history entries.
How many of those are unread.
Bad 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 211: the requested time span is too big.
Error response object
POST /v2/history/asset/count HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 179
{
"assets": [
{
"id": 1,
"type": "vehicle"
}
],
"asset_types": [
"vehicle"
],
"from": "2026-08-24 09:00:00",
"to": "2026-08-24 09:00:00",
"events": [
"text"
],
"only_emergency": true,
"only_unread": true
}{
"success": true,
"total": 1,
"total_unread": 1
}Errors
These errors come in addition to the general error codes:
211 - Requested time span is too big.
Last updated
Was this helpful?