RoscoLive API v1.0(v2.35.0)
  1. Fleet Configuration
RoscoLive API v1.0(v2.35.0)
  • Event
    • Request custom video from device
      PUT
  • Company
    • create a company
      PUT
    • get a company by ID
      GET
    • update a company by ID
      POST
    • update company
      POST
    • get a company
      GET
    • get companies
      GET
    • get own partner company
      GET
  • Device
    • Geotab
      • Pair cameras to GO devices by CSV file
    • Play in-cab audible alert sound for device
      POST
    • Get a device
      GET
  • External Service
    • Get an external service account
      GET
    • Pair RL device with external device
      PUT
    • Get RL device data via external device unique serial number
      GET
  • Fleet Configuration
    • Create new profile in a company
      POST
    • Update a company profile
      POST
    • Get a company profile
      GET
    • Get profiles of a company
      GET
    • get profile history
      GET
  1. Fleet Configuration

Get profiles of a company

GET
https://fleet.roscolive.com/api/v1.0/partners/companies/{company_name}/profiles
Endpoint to get profiles of a company.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://fleet.roscolive.com/api/v1.0/partners/companies//profiles?include_data'
Response Response Example
200 - Example 1
{
  "meta": {
    "code": 200
  },
  "response": {
    "profiles": [
      {
        "advanced_quality_channels": false,
        "comments": null,
        "configuration": "{\"c\":34}",
        "configurationdv6": "{\"d\":4}",
        "created_at": "Wed, 10 Aug 2022 12:39:29 GMT",
        "devices_using": 2,
        "event_types": {
          "dv4_distraction": "video_snapshot",
          "dv4_driver": "video_snapshot",
          "dv4_drowsiness": "video_snapshot",
          "dv4_ext_driver": "snapshot_only",
          "dv4_fatal_gsensor": "video_snapshot",
          "dv4_high_speed": "alert_only",
          "dv4_phone_use": "video_snapshot",
          "dv6_camera_block": "alert_only",
          "dv6_distraction": "video_snapshot",
          "dv6_driver": "video_snapshot",
          "dv6_drowsiness": "video_snapshot",
          "dv6_fatal_gsensor": "video_snapshot",
          "dv6_following_distance": "snapshot_only",
          "dv6_forward_collision": "snapshot_only",
          "dv6_harsh_accel": "video_snapshot",
          "dv6_harsh_braking": "video_snapshot",
          "dv6_headway_monitoring": "snapshot_only",
          "dv6_high_speed": "alert_only",
          "dv6_lane_departure": "snapshot_only",
          "dv6_phone_use": "video_snapshot",
          "dv6_seatbelt": "video_snapshot",
          "dv6_smoking": "video_snapshot",
          "dv6_yawning": "video_snapshot"
        },
        "id": 9617,
        "last_changed_ts": "Thu, 30 Nov 2023 15:15:26 GMT",
        "name": "default",
        "preferred": true
      }
    ]
  },
  "result": "OK"
}

Request

Path Params
company_name
string 
required
Name of a company
Query Params
include_data
enum<string> 
optional
Data to include in response
Allowed values:
devices_usingevent_types

Responses

🟢200Success
application/json
Body
meta
object 
required
Request metadata object
code
integer 
required
HTTP status code returned by response
response
object 
required
Contains response data
profiles
array [object {10}] 
required
result
string 
required
"OK" if successful, else "Failed" if error
🟠401Login Required
🟠404Resource Not Found
🔴500Internal Server Error
Previous
Get a company profile
Next
get profile history
Built with