Get all events report for company
GET
https://fleet.roscolive.com/api/v1.0/partners/companies/{company}/reports/events
List of values for Driver G-Sensor Speed Custom Video Request Input Sensor Forward Collision Headway Warning Tailgating Seatbelt Smoking Distraction Drowsiness Phoneuse CameraBlock
events
:List of values for SD Card Failure Improper Shutdown Camera Failure
alerts
:Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://fleet.roscolive.com/api/v1.0/partners/companies//reports/events?events=&start_ts=&end_ts=&type=&device_ids=&alerts=&byid=company'
Response Response Example
200 - Success
{
"meta": {
"code": 200
},
"response": {
"report": {
"data": [
[
8,
0
],
[
0,
0
],
[
0,
0
],
[
0,
0
],
[
0,
43
]
],
"data_usage": [
[
43.35,
0
],
[
0,
0
],
[
0,
0
],
[
0,
0
],
[
0,
0
]
],
"device_id": [
3868616673,
5179426116
],
"device_name": [
"Truck A",
"Truck B"
],
"events": [
"Drowsiness",
"Custom Video Request",
"High G-Force",
"Driver",
"CameraBlock"
],
"uid": "0"
}
},
"result": "OK"
}
Request
Path Params
company
string
required
company_name
or company_id
value. If using company_id
, then byid
param must also be sent with request.Query Params
events
string
required
start_ts
string <date>
required
>= 8 characters<= 8 characters
Example:
20240504
end_ts
string <date>
required
>= 8 characters<= 8 characters
Example:
20240505
type
enum<string>
optional
Allowed values:
topbottom
device_ids
string
optional
alerts
string
optional
byid
enum<string>
optional
company_id
into URL, this param is also required.Allowed value:
company
Example:
company
Body Params multipart/form-data
object {0}
Responses
Modified at 2024-11-26 17:37:19