This API can get all vehicle data within a fleet.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": [
- {
- "vehicle_id": 0,
- "vehicle_name": "string",
- "vin": "string",
- "year": 0,
- "make": "string",
- "model": "string",
- "type": {
- "id": 0,
- "type": "string",
- "is_default": 0,
- "display_name": "string"
}, - "license_plate": "string",
- "odometer": 0,
- "status": 0,
- "device": "string",
- "groups": [
- null
]
}
]
}
This API can get detail about a vehicle by its ID.
OK
{- "vehicle_id": 0,
- "vehicle_name": "string",
- "vin": "string",
- "year": 0,
- "make": "string",
- "model": "string",
- "type": {
- "id": 0,
- "type": "string",
- "is_default": 0,
- "display_name": "string"
}, - "license_plate": "string",
- "odometer": 0,
- "status": 0,
- "device": "string",
- "groups": [
- null
]
}
This API can get detail about a vehicle by paired device ID.
OK
{- "vehicle_id": 0,
- "vehicle_name": "string",
- "vin": "string",
- "year": 0,
- "make": "string",
- "model": "string",
- "type": {
- "id": 0,
- "type": "string",
- "is_default": 0,
- "display_name": "string"
}, - "license_plate": "string",
- "odometer": 0,
- "status": 0,
- "device": "string",
- "groups": [
- null
]
}
This API can add a new vehicle to the fleet.
OK
{- "vehicle_name": "string",
- "vin": "stringstringstrin",
- "year": 0,
- "make": "string",
- "model": "string",
- "type": 0,
- "license_plate": "string",
- "odometer": 0,
- "device": 0
}
This API can edit setting of a vehicle.
Please note that each time it will overwrite the previous data, and it cannot be restored.
OK
{- "vehicle_name": "string",
- "vin": "stringstringstrin",
- "year": 0,
- "make": "string",
- "model": "string",
- "type": 0,
- "license_plate": "string",
- "odometer": 0,
- "device": 0
}
This API can get the ID and name of unassigned devices within the fleet.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": [
- {
- "id": 0,
- "name": "string"
}
]
}
This API is used to get the data use report of a certain device, inputs:
serial number of the device, start and end timestamp, frequency to update the report
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "deviceUuid": "string",
- "frequency": "string",
- "from": "2019-08-24T14:15:22Z",
- "serialNo": "string",
- "to": "2019-08-24T14:15:22Z",
- "usage": [
- {
- "_id": "2019-08-24T14:15:22Z",
- "from": "2019-08-24T14:15:22Z",
- "mobile": {
- "rx": 0,
- "tx": 0
}, - "to": "2019-08-24T14:15:22Z",
- "wifi": {
- "rx": 0,
- "tx": 0
}
}
]
}
}
Because in VisionMax devices are managed in groups, therefor you can query and manage devices through groups.
This API can fetch the general information of a group.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "count": 0,
- "data": [
- {
- "device_count": 0,
- "group_name": "string",
- "id": 0,
- "is_default": 0,
- "organization_id": 0
}
]
}
Because in VisionMax devices are managed in groups, therefor you can query and manage devices through groups.
This API can fetch all devices
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "count": 0,
- "data": [
- {
- "activated_since": 0,
- "active_at": "2023-11-12 00:09:00",
- "active_at_epoch_timestamp": 0,
- "adas_function": "string",
- "application_version": "string",
- "cid": "string",
- "connectivity_state": "string",
- "device_id": 0,
- "dms_function": "string",
- "epoch_latest_timestamp": 0,
- "group_id": 0,
- "group_name": "string",
- "inserted_at": "string",
- "install_position": "string",
- "is_online": "string",
- "keep_alive_timestamp": 0,
- "last_connected_timestamp": 0,
- "latest_event_id": 0,
- "latest_event_type": 0,
- "latest_lat": 0,
- "latest_lng": 0,
- "latest_parking_timestamp": 0,
- "latest_timestamp": "string",
- "latest_trips_id": 0,
- "latest_trips_status": "string",
- "license_plate": "string",
- "model": "string",
- "onging_live_trip": "string",
- "organization_id": 0,
- "plan_type": "string",
- "product_name": "string",
- "serial_number": "string",
- "sku_name": "string",
- "snapshot": [
- {
- "image": "string",
- "event_type": 1
}
], - "total_photo": 0,
- "total_photo_msg": "string",
- "unit_name": "string",
- "vehicle_identification_number": "string",
- "vehicle_type": "string",
- "vehicle_type_display_name": "string",
- "vehicle_type_is_default": "string"
}
]
}
With this API, you can get the devices information in a specific group, omit to query all devices
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "count": 0,
- "data": [
- {
- "activated_since": 0,
- "active_at": "2023-11-12 00:09:00",
- "active_at_epoch_timestamp": 0,
- "adas_function": "string",
- "application_version": "string",
- "cid": "string",
- "connectivity_state": "string",
- "device_id": 0,
- "dms_function": "string",
- "epoch_latest_timestamp": 0,
- "group_id": 0,
- "group_name": "string",
- "inserted_at": "string",
- "install_position": "string",
- "is_online": "string",
- "keep_alive_timestamp": 0,
- "last_connected_timestamp": 0,
- "latest_event_id": 0,
- "latest_event_type": 0,
- "latest_lat": 0,
- "latest_lng": 0,
- "latest_parking_timestamp": 0,
- "latest_timestamp": "string",
- "latest_trips_id": 0,
- "latest_trips_status": "string",
- "license_plate": "string",
- "model": "string",
- "onging_live_trip": "string",
- "organization_id": 0,
- "plan_type": "string",
- "product_name": "string",
- "serial_number": "string",
- "sku_name": "string",
- "snapshot": [
- {
- "image": "string",
- "event_type": 1
}
], - "total_photo": 0,
- "total_photo_msg": "string",
- "unit_name": "string",
- "vehicle_identification_number": "string",
- "vehicle_type": "string",
- "vehicle_type_display_name": "string",
- "vehicle_type_is_default": "string"
}
]
}
Used to get a geofence’s general information, like:
ID, name, radius, latitude, longitude, trigger type, updated timestamp
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "count": 0,
- "limit": 0,
- "offset": 0,
- "geofences": [
- {
- "count": 0,
- "created_at": 0,
- "id": 0,
- "image": "string",
- "lat": 0,
- "lng": 0,
- "name": 0,
- "radius": 0,
- "status": 0,
- "trigger_type": "string",
- "updated_at": 0
}
], - "user_devices": [
- {
- "device_id": 0,
- "name": "string"
}
]
}
}
This API can get vehicle types of a fleet. Including: name, ID, vehicle type code
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": [
- {
- "display_name": "string",
- "id": 0,
- "is_default": 0,
- "type": {
- "vehicle_type": 1
}, - "vehicle_type": "string",
- "vehicle_type_display_name": "string",
- "vehicle_type_is_default": 0
}
]
}
This API is to get total drivers list of a fleet, driver information:
avatar, driver ID, email address, employee ID, driver name, driver’s phone number, RFID number
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "count": 0,
- "data": [
- {
- "avatar": "string",
- "driver_id": 0,
- "email": "string",
- "employee_id": "string",
- "enabled": 0,
- "name": "string",
- "phone": "string",
- "rfid": "string"
}
]
}
This can be used to retrieve general information of a device:
IMEI 1/IMEI 2, activated from, activated date/time, application version, front camera height, CID, device ID, device name, device installed location, firmware version, first connected timestamp, group ID, online status…etc. Emit the cid to retrieve the full list.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "count": 0,
- "data": [
- {
- "IMEI_1": "string",
- "IMEI_2": "string",
- "active_at": "2023-11-12 00:09:00",
- "active_since": 0,
- "application_version": "string",
- "camera_height": 0,
- "cid": "string",
- "custom_camera_height_changed": true,
- "device_id": 0,
- "device_name": "string",
- "driver_position": "string",
- "event_count": 0,
- "firmware_version": "string",
- "first_connected_timestamp": 0,
- "group_id": 0,
- "image": "string",
- "inserted_at": "string",
- "install_position": "string",
- "is_online": true,
- "last_connected_timestamp": 0,
- "last_device_server_connection_speed": "2019-08-24T14:15:22Z",
- "last_update_time": "string",
- "latest_event_id": 0,
- "latest_event_type": 1,
- "latest_lat": 0,
- "latest_lng": 0,
- "latest_parking_timestamp": 0,
- "latest_timestamp": "string",
- "latest_trips_id": 0,
- "latest_trips_status": "string",
- "license_plate": "string",
- "liveview_session": "string",
- "mmf_detail_map_version": "string",
- "name": "string",
- "onging_live_trip": "string",
- "organization_id": 0,
- "pid": "string",
- "plan_type": "string",
- "product_name": "string",
- "region": "string",
- "serial_number": "string",
- "sku_name": "string",
- "snapshot": [
- {
- "image": "string",
- "event_type": 1
}
], - "speedcam_file_md5": "string",
- "speedcam_version": 0,
- "speedcam_version_name": "string",
- "total_photo": 0,
- "total_photo_msg": "string",
- "trip_count": 0,
- "trip_info": "string",
- "vehicle_identification_number": "string",
- "vehicle_type_id": 0,
- "connectivity_state": "string",
- "keep_alive_timestamp": 0,
- "miai_service_version": "string"
}
]
}
Used to fetch the last time diagnostic report of a device.
Including: assigning status, attention flag, CID, device ID, model, device name, repair flag, and report
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "assigned": true,
- "attention_flag": true,
- "cid": "string",
- "device_id": 0,
- "model": "string",
- "name": "string",
- "repair_flag": true,
- "fleet_id": 0,
- "fleet_name": "string",
- "report": {
- "health_battery": {
- "charge_percentage": {
- "status": "string"
}, - "health_percentage": {
- "status": "string"
}, - "voltage": {
- "status": 0,
- "id": "string"
}
}, - "health_cams": {
- "embedded_inward": {
- "status": "string",
- "ai_detection": "string",
- "record_driver": "string",
- "dms_ai_invalid": "string"
}, - "embedded_outward": {
- "status": "string",
- "ai_detection": "string",
- "record_driver": "string",
- "adas_ai_invalid": "string"
}, - "uvc": {
- "status": "string",
- "ai_detection": "string",
- "record_driver": "string"
}
}, - "health_general": {
- "connectivity_type": {
- "status": "string"
}, - "gps_signal": {
- "status": "string"
}, - "lte_signal": {
- "status": "string"
}, - "report_request_by": {
- "status": "string"
}
}, - "health_icc": {
- "id": {
- "status": "string"
}, - "sim_type": {
- "status": "string"
}
}, - "health_issues": "string",
- "health_modules": {
- "gps": {
- "status": "string"
}, - "g_sensor": {
- "status": "string"
}, - "lte": {
- "status": "string"
}, - "sd_card_1": {
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "sim_card": {
- "status": "string"
}, - "wifi": {
- "status": "string"
}
}, - "health_network": {
- "data_usage": {
- "status": "string"
}, - "download_speed": {
- "status": "string"
}, - "upload_speed": {
- "status": 0
}
}, - "health_storages": {
- "internal": {
- "status": "string",
- "id": "string",
- "life_percentage": "string",
- "storage": "string"
}, - "sd_card_1": {
- "status": "string",
- "description": "string",
- "solution": "string"
}
}, - "health_times": {
- "first_gps_fixed_taken_time_second": {
- "status": 0
}, - "latest_acc_off_timestamp": {
- "status": 0
}, - "latest_acc_on_timestamp": {
- "status": 0
}, - "latest_app_crash_timestamp": {
- "status": "string"
}, - "latest_app_launch_timestamp": {
- "status": 0
}, - "latest_system_boot_timestamp": {
- "status": 0
}, - "latest_system_shutdown_timestamp": {
- "status": 0
}, - "latest_upload_data_failure_timestamp": {
- "status": 0
}, - "server_response_time_second": {
- "status": 0
}
}, - "latest_gps_signal": "string",
- "latest_lte_signal": "string",
- "needs_attention": 0,
- "needs_to_be_repaired": 0,
- "version": 0
}
}
}
Used to fetch the last time diagnostic report of a device.
This API is used to describe device health status.
Including: Provide a more user-friendly device health report that summarizes information and solutions required for device configuration
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "cid": "string",
- "name": "string",
- "model": "string",
- "last_communication_time": 0,
- "aux_camera_settings": 0,
- "last_storage_update_time": 0,
- "report": {
- "footag_storage": {
- "sd_card_1": {
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "sd_card_2": {
- "status": "string",
- "description": "string",
- "solution": "string"
}
}, - "ai_component": {
- "ai_provider": {
- "version": "string",
- "provider": "string"
}, - "embedded_inward": {
- "type": "string",
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "embedded_outward": {
- "type": "string",
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "uvc": {
- "type": "string",
- "status": "string",
- "description": "string",
- "solution": "string"
}
}, - "camera": {
- "embedded_inward": {
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "embedded_outward": {
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "tvi": {
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "uvc": {
- "status": "string",
- "description": "string",
- "solution": "string"
}
}, - "sensor_events_detection": {
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "location_function": {
- "status": "string",
- "description": "string",
- "solution": "string"
}, - "version": 0
}
}
}
If you are trying to update the vehicle type, we encourage you to manage the vehicle types with vehicle management endpoints
This API can modify device settings, including:
OK
{- "certificate_id": "string",
- "device_name": "string",
- "license_plate": "string",
- "vehicle_identification_number": "stringstringstrin",
- "vehicle_type_id": 0,
- "region": "TW",
- "camera_height": 121,
- "group": 0
}
Send a remote command to formate SD card
OK
{- "type": "SDCARD"
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "task_id": "string"
}
}
Send a remote command to Delete files on the device's SD card.
OK
{- "type": "SDCARD",
- "start_time": 0,
- "end_time": 0
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "task_id": "string"
}
}
Remove the task from the devices.
Requires Cam app version 1.2.21.37-REL_20240930_1847 or higher.
OK
{- "type": "string",
- "task": "string"
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "task_id": "string"
}
}
Find device list tasks.
states required | Array of strings (TaskState) States such as "successed". |
start_time required | integer <int64> Start time in Unix timestamp format. The provided timestamp should be an Epoch Unix timestamp, represented in seconds. |
end_time required | integer <int64> End time in Unix timestamp format. The provided timestamp should be an Epoch Unix timestamp, represented in seconds. |
OK
{- "states": [
- "initial"
], - "start_time": 0,
- "end_time": 0
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": [
- {
- "serial_number": "string",
- "certificate_id": "string",
- "timestamp": 0,
- "state": "string",
- "ack_at": 0,
- "acked": 0,
- "file_name": "string",
- "target_time": 0,
- "capture_mode": "string",
- "target_end_time": 0,
- "target_start_time": 0,
- "command": "string",
- "task_id": "string"
}
]
}
Used to get the storage list of the device.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": [
- {
- "capture_mode": "string",
- "storage_type": "string",
- "storage_size": 0,
- "storage_remaining_size": 0,
- "list": [
- {
- "time": "string",
- "duration": 0,
- "dst": 0
}
]
}
]
}