Get custom report data
GET
/reports/custom/{report_id}/generateGets a custom report either owned or shared with the user. The report object will contain all of the report fields that were selected for the report when it was created or last updated.
Roles with endpoint access
Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Request
ID of report either owned or shared with user
Start date for request. YYYYMMDD
End date for request. YYYYMMDD
ID of company
Request samples
Responses
Request metadata object
HTTP status code returned by server
Contains response data
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Unique ID of device
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Router manufacturer for DV4 cameras using non-Rosco routers
Router model for DV4 cameras using non-Rosco routers
Flag for if SD20 reported for camera in given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Sum of instances for this event type within the given time window
Name of device
Router version for DV4 cameras using non-Rosco routers
Vehicle Identification Number for given device
Sum of instances for this event type within the given time window
"OK" if request successful, otherwise "Failed"
{
"meta": {
"code": 100
},
"response": [
{
"adas_fcw": 0,
"adas_hw": 0,
"adas_ldw": 0,
"adas_pcw": 0,
"critical_gsensor": 0,
"custom": 0,
"device_id": 0,
"distraction": 0,
"driver": 0,
"drowsiness": 0,
"first_connected_ts": "Fri, 11 Jun 2021 18:20:38 GMT",
"harshaccel": 0,
"harshbraking": 0,
"imei": "string",
"input_sensor": 0,
"last_connected_ts": "string",
"manufacturer": "string",
"model": "string",
"no_sd_card": true,
"phone_use": 0,
"seatbelt": 0,
"smoking": 0,
"speeding": 0,
"tailgating": 0,
"vehicle_name": "string",
"version": "string",
"vin": "string",
"yawning": 0
}
],
"result": "OK"
}