- Authentication
- Company
- get camera health error
- create a company
- get partner settings
- get audit logs of a company
- get input sensors notifications of a company
- get ignition notifications of a company
- get a company by ID
- update a company by ID
- update company
- search companies
- get companies list
- get a company
- get companies
- get partner companies list
- get own partner company
- Custom Role Permissions
- Device
- get company devices
- search devices
- update a device
- get a device data usage
- Play in-cab audible alert sound for device
- get devices data usage
- get a company devices by company ID
- restart a device
- get company devices with modems
- get distance
- get installed report of a device
- get an installed report
- merge profile with device config
- get audit logs of a device
- get list of trip dates for device
- get list of trips for passed device and date
- Get a device
- get list of company devices
- get device with driver id
- create devices (legacy/DV4)
- create devices (auto-prov/DV6)
- get company device using IMEI/SN
- check red bubble in manage vehicles
- bulk device creation
- get devices for all companies available for user
- get list of trip related snapshots
- reset status of sd card
- get list of all available dates
- get available video list for date
- replace device
- get replace history by device id
- clear device channel status
- get camera health error by device id
- get camera health definitions
- update camera health error by error id
- update camera health errors
- Get device list for multiple companies
- Get current activity status of devices
- Device Firmware
- Driver Scoring / Coaching
- get company drivers list
- get a list of trips
- associate a driver with a trip
- get driver by event_id
- update a driver
- get driver by trip_photo_id
- get driver scores
- add driver photo
- add a driver
- remove a driver
- upload a driver from csv file
- get unknown driver trips
- associate trip with the driver.
- Get company event score weights
- Update company event score weights
- Get drivers coaching events
- Event
- Get company events
- get an event
- send an event
- get status of an event
- Request videos of an event
- get uploaded videos of an event
- get events summary of devices
- get events summary of a device
- get a company events by company ID
- get status of an event by company ID
- get snapshots of an event or alert
- get snapshots of an event or alert by company ID
- get a last event
- get a last event of devices
- get events log of a device
- get dates of events
- get events for charts and graphs
- get events for charts and graphs by company ID
- get an event by company ID
- get events summary of a device by company ID
- request videos of an event by company ID
- get dates of an events by company ID
- get a last event of company device
- clear last event
- get dates of events of a device
- push custom event
- delete an event
- request videos of an alert
- share an event
- get an event by a permalink
- get geotab events
- get a last updated event of devices
- download a blocked event
- Get flagged company events
- flag an event
- unflag an event
- generate snapshots
- local geocoding service
- update an event
- get snapshot/location of event
- Get events for a device
- Request custom video from device
- get snapshot on demand
- get an event by a permalink hash
- Set Event Label for Event
- Restore event video from archive
- Add users for notification of event restore from archive
- Add event label
- Add user feedback to event
- Get event user feedback
- Get event filters list for date range in company
- External Service
- Fleet Configuration
- Group
- get company groups
- add a group
- remove a group
- get devices of a group
- add a device to a group
- remove a device from a group
- get users of a group
- add a user to a group
- remove a user from a group
- get company groups by company ID
- add a device to a group by company ID
- get devices of a group by company ID
- remove a device from a group by company ID
- remove a group by company ID
- add a group by company ID
- add an user to a group by company ID
- get users of a group by company ID
- remove an user from a group by company ID
- edit group
- get groups with ID
- get group of a company by group ID
- Live streaming
- Metadata
- Modem Administration
- Report
- get data usage reportGET
- Get custom report dataGET
- get data usage report by device idGET
- get list of companies with data usage for date rangeGET
- get data usage for active devices for specified companiesGET
- get companies with data usage for date rangeGET
- get data usage report for devices in companyGET
- get data tracking reportGET
- get all events reportGET
- Get all events report for companyGET
- get vehicle activity reportGET
- get firmware reportGET
- Get event count summary report for company devicesGET
- get driver event breakdown reportGET
- get driver event performance reportGET
- Update custom reportPOST
- get custom reports by user emailGET
- get custom report by report idGET
- put subscribe to a reportPUT
- get report subscriptionsGET
- get list of standard reportsGET
- get speeding summary reportGET
- get speeding breakdown reportGET
- get idling summary reportGET
- get idling breakdown reportGET
- Create custom report for userPUT
- Partner Portal
- Releases
- Remote Device Management
- Statistics
- User
- get company users
- Get a user
- update a user
- remove a user
- Get own info
- create a user
- get company users by company ID
- get user settings
- set user settings
- Get application notifications
- remove the notification
- mark notifications as viewed
- verify password
- SD card reformat reminder
- Update notification by email
- assign user to company
- get permissions by a user_id
- Get event / sms notification settings
- Webhooks
Get custom report data
GET
/reports/custom/{report_id}/generate
Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Request
Path Params
report_id
integerÂ
required
>= 0
Example:
1234
Query Params
start_date
string <date>
required
>= 8 characters<= 8 characters
Example:
20241018
end_date
string <date>
required
>= 8 characters<= 8 characters
Example:
20241018
company_id
integerÂ
required
>= 0
Example:
12345
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://fleet.roscolive.com/api/v1.0/reports/custom//generate?start_date=&end_date=&company_id='
Responses
🟢200Success
application/json
Body
meta
objectÂ
required
code
integerÂ
required
>= 100<= 599
response
array [object {28}]Â
required
adas_fcw
integerÂ
optional
>= 0
adas_hw
integerÂ
optional
>= 0
adas_ldw
integerÂ
optional
>= 0
adas_pcw
integerÂ
optional
>= 0
critical_gsensor
integerÂ
optional
>= 0
custom
integerÂ
optional
>= 0
device_id
integerÂ
optional
>= 0
distraction
integerÂ
optional
>= 0
driver
integerÂ
optional
>= 0
drowsiness
integerÂ
optional
>= 0
first_connected_ts
string <date-time> | nullÂ
optional
Example:
Fri, 11 Jun 2021 18:20:38 GMT
harshaccel
integerÂ
optional
>= 0
harshbraking
integerÂ
optional
>= 0
imei
string  | nullÂ
optional
input_sensor
integerÂ
optional
>= 0
last_connected_ts
string  | nullÂ
optional
manufacturer
string  | nullÂ
optional
model
string  | nullÂ
optional
no_sd_card
booleanÂ
optional
phone_use
integerÂ
optional
>= 0
seatbelt
integerÂ
optional
>= 0
smoking
integerÂ
optional
>= 0
speeding
integerÂ
optional
>= 0
tailgating
integerÂ
optional
>= 0
vehicle_name
stringÂ
optional
version
string  | nullÂ
optional
vin
string  | nullÂ
optional
yawning
integerÂ
optional
>= 0
result
enum<string>Â
required
Allowed values:
OKFailed
Example
{
"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"
}
🟠400Invalid input
🟠401Login Required
Modified at 2024-11-26 18:42:06