List the camera connection events
Request
- Base URLhttps://api.gomotive.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Specify the ID of a vehicle or vehicles for which you want to view the existing camera connections.
Specify the ID of a driver or drivers for whom you want to view the camera connections..
Specify the start date from when you want to view the camera connections.
Specify the end date till when you want to view the camera connections.
Specify the type of camera connection. Allowed values are connected, disconnected, disabled.
Specify the status of the camera connection event. Allowed values are correct, incorrect.
Number of records to return per page.
Denotes the current page number.
Specify the field to sort the response with. Allowed values are: start_time, end_time, status.
Specify the order for displaying the response list. Allowed values are asc: Ascending, desc: Descending.
Response
200
Example response
{
"camera_connections": [
{
"camera_connection": {
"id": 41901,
"offline_id": "9ad7445a-920e-49b3-9428-64506ebfce06",
"created_at": "2024-12-14T12:12:55Z",
"updated_at": "2024-12-14T12:13:54Z",
"type": "disconnected",
"duration": 188610.242704913,
"cam_type": "dc54",
"cam_serial_num": "ABAD41DB490142",
"sw_pkg_version": 99130,
"status": "correct",
"vehicle": {
"id": 117868,
"number": "AABL36QC252488"
},
"current_driver": {
"id": 1050022,
"first_name": "farjad",
"last_name": "khan1",
"driver_company_id": "61101"
}
}
}
],
"per_page": 25,
"page_no": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.