RoscoLive API v1.0
  1. Metadata
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. Metadata

Get alerts and events of devices for company

GET
https://fleet.roscolive.com/api/v1.0/partners/companies/{company_name}/devices/alerts
Returns an response that contains events and alerts sent by the devices for a company in the time window specified.
Values for event_type
gsensor
speed
critical_gsensor
driver
sensor
pending
custom
headway
camerablock
Values for alert_type
SD Card Failure
Improper Shutdown
Camera Failure
HddError
Roles with endpoint access
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/partners/companies//devices/alerts?start_ts=&end_ts=&ids=&page_number=&page_size=&alert_type=&event_type='
Response Response Example
200 - Success
{
    "meta": {
        "code": 200
    },
    "response": [
        {
            "alarms": [
                {
                    "alert_type": "UncleanShutdown",
                    "event_id": null,
                    "id": 4422724,
                    "timestamp": "2024-11-14 15:51:04",
                    "type": "UncleanShutdown"
                }
            ],
            "device_id": 51794261,
            "events": [
                {
                    "event_display_type": "",
                    "event_type": "CameraBlock",
                    "id": 2614875,
                    "timestamp": "2024-11-18 15:27:28"
                },
                {
                    "event_display_type": "",
                    "event_type": "Max Speed",
                    "id": 2614877,
                    "timestamp": "2024-11-18 16:06:47"
                },
                {
                    "event_display_type": "",
                    "event_type": "CameraBlock",
                    "id": 2614888,
                    "timestamp": "2024-11-18 17:05:12"
                },
                {
                    "event_display_type": "",
                    "event_type": "CameraBlock",
                    "id": 2614889,
                    "timestamp": "2024-11-18 17:59:50"
                }
            ],
            "vehicle_name": "Truck A"
        }
    ],
    "result": "OK"
}

Request

Path Params

Query Params

Responses

🟢200Success
application/json
Body

🟠401Login Required
Modified at 2024-11-26 17:37:19
Previous
Get a company profile
Next
Get custom report data
Built with