RoscoLive API v1.0
  1. Driver Scoring / Coaching
RoscoLive API v1.0
  • Company
    • create a company
      PUT
    • get a company by ID
      GET
    • update company
      POST
    • get a company
      GET
    • get companies
      GET
    • get partner companies list
      GET
    • get own partner company
      GET
  • Device
    • Get a device
      GET
    • get list of company devices
      GET
  • Device Firmware
    • get available firmware versions
      GET
    • get list of latest firmware versions
      GET
    • push firmware to device
      POST
    • cancel pending firmware update to devices
      DELETE
    • get firmware updates history for company
      GET
  • Driver Scoring / Coaching
    • get company drivers list
      GET
    • add a driver
      PUT
  • Event
    • Get company events
      GET
    • Request videos of an event
      PUT
    • get a last event of devices
      GET
    • get geotab events
      GET
    • get a last updated event of devices
      GET
    • update an event
      POST
  • Live streaming
    • start live streaming
      GET
  • Report
    • get list of companies with data usage for date range
  • User
    • Update notification by email
    • Get event / sms notification settings
  1. Driver Scoring / Coaching

get company drivers list

GET
/company/{company_id}/driver
driver
Get a list of drivers for a company
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://fleet.roscolive.com/api/v1.0/company//driver'
Response Response Example
200 - Success
{
    "meta": {
        "code": 200
    },
    "response": {
        "drivers": [
            {
                "card_id": "9600A2F6",
                "driver_score": 0,
                "email": "asmith@example.com",
                "first_name": "Adam",
                "group_id": 5812,
                "group_name": "Installed Devices",
                "id": 2815,
                "last_name": "Smith",
                "last_trip_ts": null,
                "last_vehicle_id": null,
                "last_vehicle_name": null,
                "name": "Adam Smith",
                "photos": [],
                "status": "offline",
                "type": "manual"
            },
            {
                "card_id": "2A74F83A",
                "driver_score": 0,
                "email": "bsmith@example.com",
                "first_name": "Brad",
                "group_id": null,
                "group_name": null,
                "id": 2838,
                "last_name": "Smith",
                "last_trip_ts": null,
                "last_vehicle_id": 3716512371,
                "last_vehicle_name": "Truck 1",
                "name": "Brad Smith",
                "photos": [],
                "status": "offline",
                "type": "manual"
            }
        ]
    },
    "result": "OK"
}

Request

Path Params
company_id
integer 
required
ID of company to get list of drivers from
Body Params multipart/form-data
object {0}

Responses

🟢200Success
application/json
Body
meta
object 
required
Request metadata object
code
integer 
required
HTTP status code returned by server
response
object 
required
Contains response data
drivers
array [object {15}] 
required
List of drivers for company
result
string 
required
"OK" if request successful, otherwise "Failed"
🟠401Login Required
Modified at 2024-08-09 19:00:52
Previous
get firmware updates history for company
Next
add a driver
Built with