RoscoLive API v1.0
  1. Report
RoscoLive API v1.0
  • Device
    • Get device list for multiple companies
      GET
    • Get current activity status of devices
      GET
  • Driver Scoring / Coaching
    • Get company event score weights
      GET
    • Update company event score weights
      POST
  • Event
    • Get Company Events
      GET
    • Request videos of an event
      PUT
    • Get Device Events for Period
      GET
  • Fleet Configuration
    • Create new profile in a company
      POST
    • Get a company profile
      GET
  • Metadata
    • Get alerts and events of devices for company
      GET
  • 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
  • User
    • Get User Info from Email Address
      GET
    • Get my Own User Info
      GET
    • Get application notifications
      GET
    • SD card reformat reminder
      POST
    • Update notification by email
      POST
    • Get event / sms notification settings
      GET
  1. Report

Get event count summary report for company devices

GET
https://fleet.roscolive.com/api/v1.0/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 Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '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": {
                    "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,
                    "Lane Departure": 5,
                    "Max Speed": 6,
                    "Pedestrian Warning": 4,
                    "Phone Use/Hand to Head": 6,
                    "Seatbelt": 2,
                    "Sensor": 0,
                    "Smoking": 9,
                    "Tailgating": 8,
                    "Yawning": 0
                },
                "vehicle_group": "curso",
                "vehicle_name": "Chrysler 911"
            },
            {
                "device_id": 693089771,
                "events": {
                    "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,
                    "Lane Departure": 0,
                    "Max Speed": 0,
                    "Pedestrian Warning": 5,
                    "Phone Use/Hand to Head": 9,
                    "Seatbelt": 1,
                    "Sensor": 1,
                    "Smoking": 7,
                    "Tailgating": 8,
                    "Yawning": 8
                },
                "vehicle_group": "vigor",
                "vehicle_name": "Chrysler Charger"
            },
            {
                "device_id": 997811612,
                "events": {
                    "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,
                    "Lane Departure": 7,
                    "Max Speed": 6,
                    "Pedestrian Warning": 1,
                    "Phone Use/Hand to Head": 2,
                    "Seatbelt": 0,
                    "Sensor": 0,
                    "Smoking": 8,
                    "Tailgating": 9,
                    "Yawning": 5
                },
                "vehicle_group": "alter",
                "vehicle_name": "Maserati Golf"
            }
        ]
    },
    "result": "OK"
}

Request

Path Params

Query Params

Responses

🟢200Success
application/json
Body

🟠400Invalid input
🟠401Login Required
🟠404Record not found
🟠404Resource Not Found
Modified at 2024-11-26 17:37:19
Previous
Get all events report for company
Next
Update custom report
Built with