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 event count summary report for company devices

GET
/companies/{company_id}/reports/event_type
Get event count summary for all devices within the user's permission scope for passed in company_id.
Role Permissions
RolePermission
Partner
Partner View
Custom Partner
Fleet Manager
Group Manager
User
Custom User

Request

Path Params

Query Params

Responses

🟢200Success
application/json
Bodyapplication/json

🟠400Invalid input
🟠401Login Required
🟠404Record not found
🟠404Resource Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://fleet.roscolive.com/api/v1.0/companies/12345/reports/event_type?start_date=20241121000000&end_date=20241122000000'
Response Response Example
200 - Success
{
    "meta": {
        "code": 200
    },
    "response": {
        "report": [
            {
                "device_id": 269686641,
                "events": {
                    "Bypass Stop": 2,
                    "CameraBlock": 9,
                    "Custom Clip": 6,
                    "Distraction": 3,
                    "Driver Event": 5,
                    "Drowsiness/Head Down": 1,
                    "Flood": 1,
                    "Forward Collision": 4,
                    "Harsh Acceleration": 7,
                    "Harsh Braking": 8,
                    "Headway Warning": 1,
                    "High G-Force": 9,
                    "High Speeding": 3,
                    "Lane Departure": 5,
                    "Low Speeding": 3,
                    "Max Speed": 6,
                    "Moderate Speeding": 0,
                    "Pedestrian Warning": 4,
                    "Phone Use/Hand to Head": 6,
                    "Rolling Stop": 1,
                    "Seatbelt": 2,
                    "Sensor": 0,
                    "Severe Speeding": 0,
                    "Signal Approach": 3,
                    "Signal Violation": 1,
                    "Smoking": 9,
                    "Tailgating": 8,
                    "Yawning": 0
                },
                "vehicle_group": "curso",
                "vehicle_name": "Chrysler 911"
            },
            {
                "device_id": 693089771,
                "events": {
                    "Bypass Stop": 3,
                    "CameraBlock": 5,
                    "Custom Clip": 9,
                    "Distraction": 6,
                    "Driver Event": 9,
                    "Drowsiness/Head Down": 7,
                    "Flood": 0,
                    "Forward Collision": 7,
                    "Harsh Acceleration": 1,
                    "Harsh Braking": 3,
                    "Headway Warning": 4,
                    "High G-Force": 1,
                    "High Speeding": 0,
                    "Lane Departure": 0,
                    "Low Speeding": 0,
                    "Max Speed": 0,
                    "Moderate Speeding": 1,
                    "Pedestrian Warning": 5,
                    "Phone Use/Hand to Head": 9,
                    "Rolling Stop": 2,
                    "Seatbelt": 1,
                    "Sensor": 1,
                    "Severe Speeding": 2,
                    "Signal Approach": 0,
                    "Signal Violation": 2,
                    "Smoking": 7,
                    "Tailgating": 8,
                    "Yawning": 8
                },
                "vehicle_group": "vigor",
                "vehicle_name": "Chrysler Charger"
            },
            {
                "device_id": 997811612,
                "events": {
                    "Bypass Stop": 1,
                    "CameraBlock": 3,
                    "Custom Clip": 4,
                    "Distraction": 3,
                    "Driver Event": 2,
                    "Drowsiness/Head Down": 4,
                    "Flood": 3,
                    "Forward Collision": 7,
                    "Harsh Acceleration": 0,
                    "Harsh Braking": 0,
                    "Headway Warning": 6,
                    "High G-Force": 5,
                    "High Speeding": 1,
                    "Lane Departure": 7,
                    "Low Speeding": 1,
                    "Max Speed": 6,
                    "Moderate Speeding": 2,
                    "Pedestrian Warning": 1,
                    "Phone Use/Hand to Head": 2,
                    "Rolling Stop": 0,
                    "Seatbelt": 0,
                    "Sensor": 0,
                    "Severe Speeding": 1,
                    "Signal Approach": 2,
                    "Signal Violation": 3,
                    "Smoking": 8,
                    "Tailgating": 9,
                    "Yawning": 5
                },
                "vehicle_group": "alter",
                "vehicle_name": "Maserati Golf"
            }
        ]
    },
    "result": "OK"
}
Modified at 2026-03-25 14:56:28
Previous
Get all events report for company
Next
Update custom report
Built with