1. Report
RoscoLive API v1.0(v2.40.0)
  • Report
    • Get custom report data
      GET
    • Get all events report for company
      GET
    • Get event count summary report for company devices
      GET
    • Update custom report
      POST
    • Create custom report for user
      PUT
  • Company
    • private
      • Create a new partner company
      • Update partner company info
      • Get a partner company
      • Disable a customer company
      • Enable a customer company
      • Disable a partner company
      • Enable a partner company
    • Create a company
      PUT
    • Get audit logs of a company
      GET
    • Get a company by ID
      GET
    • Update company
      POST
    • Get companies list
      GET
    • Get a company
      GET
    • Get companies
      GET
    • Get own partner company
      GET
  • User
    • Get Company Users
      GET
    • Get User Info from Email Address
      GET
    • Update a User's Info
      POST
    • Get my Own User Info
      GET
    • Create a User
      PUT
    • Update notification by email
      POST
  • Device
    • Update a device settings
      POST
    • Get company devices with modems
      GET
    • Get a device
      GET
    • Create devices (auto-prov/DV4/DV6/DV7)
      PUT
  • Driver Scoring / Coaching
    • Get company drivers list
      GET
    • Get driver scores
      GET
    • Add new driver to company
      PUT
    • Get company event score weights
      GET
    • Update company event score weights
      POST
  • Event
    • Get an Event of a Device by Start Time
    • Get an Event by ID and Storage Type
    • Get Company Events
    • Get Event by Company and ID
    • Get Flagged Company Events
    • Get Device Events for Period
    • Get list of company events
  • Metadata
    • Get alerts and events of devices for company
    • Get alerts of a driver
  • Fleet Configuration
    • Get profiles of a company
    • Get company default profile settings
    • Remove a company profile
    • Create new profile in a company
    • Get a company profile
    • Get profile history
    • Update a company profile
  • DocuWiki Support
    • Rosco customer registration
  • Installer App
    • Add install report
    • Installer registration
    • Install Rosco device
  1. Report

Get all events report for company

GET
/partners/companies/{company}/reports/events
Returns a report object containing the sum of occurences and data usage each event type contributed for the devices passed into the request for the specified date window.
Devices that do not have any relevant data for the time requested will not return in the report object.
List of values for events:
Driver
G-Sensor
Speed
Custom Video Request
Input Sensor
Forward Collision
Headway Warning
Tailgating
Seatbelt
Smoking
Distraction
Drowsiness
Phoneuse
CameraBlock
StopSignComplianceWarning
TrafficLightComplianceWarning
SpeedLimitViolation
List of values for alerts:
SD Card Failure
Improper Shutdown
Camera Failure
Roles with endpoint access
RolePermission
Partner
Partner View
Custom Partner
Fleet Manager
Group Manager
User
Custom User

Request

Path Params

Query Params

Responses

🟢200Success
application/json
Bodyapplication/json

🟠401Login Required
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '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"
}
Modified at 2026-03-25 14:56:29
Previous
Get custom report data
Next
Get event count summary report for company devices
Built with