RoscoLive API v1.0
  1. Report
RoscoLive API v1.0
  • Authentication
    • Login
      POST
    • Logout
      GET
    • mark eula as viewed
      POST
    • password change
      POST
    • password reset
      POST
  • Company
    • get camera health error
    • create a company
    • get partner settings
    • get audit logs of a company
    • get input sensors notifications of a company
    • get ignition notifications of a company
    • get a company by ID
    • update a company by ID
    • update company
    • search companies
    • get companies list
    • get a company
    • get companies
    • get partner companies list
    • get own partner company
  • Custom Role Permissions
    • get full list of available custom user permission
  • Device
    • get company devices
    • search devices
    • update a device
    • get a device data usage
    • Play in-cab audible alert sound for device
    • get devices data usage
    • get a company devices by company ID
    • restart a device
    • get company devices with modems
    • get distance
    • get installed report of a device
    • get an installed report
    • merge profile with device config
    • get audit logs of a device
    • get list of trip dates for device
    • get list of trips for passed device and date
    • Get a device
    • get list of company devices
    • get device with driver id
    • create devices (legacy/DV4)
    • create devices (auto-prov/DV6)
    • get company device using IMEI/SN
    • check red bubble in manage vehicles
    • bulk device creation
    • get devices for all companies available for user
    • get list of trip related snapshots
    • reset status of sd card
    • get list of all available dates
    • get available video list for date
    • replace device
    • get replace history by device id
    • clear device channel status
    • get camera health error by device id
    • get camera health definitions
    • update camera health error by error id
    • update camera health errors
    • Get device list for multiple companies
    • Get current activity status of devices
  • Device Firmware
    • get available firmware versions
    • get list of latest firmware versions
    • push firmware to device
    • cancel pending firmware update to devices
    • get firmware updates history for company
  • Driver Scoring / Coaching
    • get company drivers list
    • get a list of trips
    • associate a driver with a trip
    • get driver by event_id
    • update a driver
    • get driver by trip_photo_id
    • get driver scores
    • add driver photo
    • add a driver
    • remove a driver
    • upload a driver from csv file
    • get unknown driver trips
    • associate trip with the driver.
    • Get company event score weights
    • Update company event score weights
    • Get drivers coaching events
  • Event
    • Get company events
    • get an event
    • send an event
    • get status of an event
    • Request videos of an event
    • get uploaded videos of an event
    • get events summary of devices
    • get events summary of a device
    • get a company events by company ID
    • get status of an event by company ID
    • get snapshots of an event or alert
    • get snapshots of an event or alert by company ID
    • get a last event
    • get a last event of devices
    • get events log of a device
    • get dates of events
    • get events for charts and graphs
    • get events for charts and graphs by company ID
    • get an event by company ID
    • get events summary of a device by company ID
    • request videos of an event by company ID
    • get dates of an events by company ID
    • get a last event of company device
    • clear last event
    • get dates of events of a device
    • push custom event
    • delete an event
    • request videos of an alert
    • share an event
    • get an event by a permalink
    • get geotab events
    • get a last updated event of devices
    • download a blocked event
    • Get flagged company events
    • flag an event
    • unflag an event
    • generate snapshots
    • local geocoding service
    • update an event
    • get snapshot/location of event
    • Get events for a device
    • Request custom video from device
    • get snapshot on demand
    • get an event by a permalink hash
    • Set Event Label for Event
    • Restore event video from archive
    • Add users for notification of event restore from archive
    • Add event label
    • Add user feedback to event
    • Get event user feedback
    • Get event filters list for date range in company
  • External Service
    • Get an external service account
    • Pair RL device with external device
    • Get RL device data via external device unique serial number
    • external service login
    • get a device
  • Fleet Configuration
    • Get profiles of a company
    • Create new profile in a company
    • Get a company profile
    • get profile history
    • Update a company profile
  • Group
    • get company groups
    • add a group
    • remove a group
    • get devices of a group
    • add a device to a group
    • remove a device from a group
    • get users of a group
    • add a user to a group
    • remove a user from a group
    • get company groups by company ID
    • add a device to a group by company ID
    • get devices of a group by company ID
    • remove a device from a group by company ID
    • remove a group by company ID
    • add a group by company ID
    • add an user to a group by company ID
    • get users of a group by company ID
    • remove an user from a group by company ID
    • edit group
    • get groups with ID
    • get group of a company by group ID
  • Live streaming
    • start live streaming
    • stop live streaming
    • start multi-channel live streaming
    • stop multi-channel live streaming
  • Metadata
    • get metadata of a device
    • get metadata of devices
    • Get alerts and events of devices for company
    • get alerts for charts and graphs
    • get metadata of device(s) for last 24 hours
    • get alerts of a device
    • get alerts of a driver
  • Modem Administration
    • get list of available modems
    • upgrade modem firmware
    • upgrade modem firmware for group of devices
  • Report
    • get data usage report
      GET
    • Get custom report data
      GET
    • get data usage report by device id
      GET
    • get list of companies with data usage for date range
      GET
    • get data usage for active devices for specified companies
      GET
    • get companies with data usage for date range
      GET
    • get data usage report for devices in company
      GET
    • get data tracking report
      GET
    • get all events report
      GET
    • Get all events report for company
      GET
    • get vehicle activity report
      GET
    • get firmware report
      GET
    • Get event count summary report for company devices
      GET
    • get driver event breakdown report
      GET
    • get driver event performance report
      GET
    • Update custom report
      POST
    • get custom reports by user email
      GET
    • get custom report by report id
      GET
    • put subscribe to a report
      PUT
    • get report subscriptions
      GET
    • get list of standard reports
      GET
    • get speeding summary report
      GET
    • get speeding breakdown report
      GET
    • get idling summary report
      GET
    • get idling breakdown report
      GET
    • Create custom report for user
      PUT
  • Partner Portal
    • get full list of devices per partner
    • get full list of companies per partner
    • get user custom presets
    • create custom presets
    • update custom preset
    • delete custom preset by name
  • Releases
    • get last release
    • view a release
  • Remote Device Management
    • get config values from device
    • verify of device token
    • get current firmware of devices
    • SD-card formatting
    • get config file for device
  • Statistics
    • get statistics feature usage
  • User
    • get company users
    • Get a user
    • update a user
    • remove a user
    • Get own info
    • create a user
    • get company users by company ID
    • get user settings
    • set user settings
    • Get application notifications
    • remove the notification
    • mark notifications as viewed
    • verify password
    • SD card reformat reminder
    • Update notification by email
    • assign user to company
    • get permissions by a user_id
    • Get event / sms notification settings
  • Webhooks
    • get push notifications
    • set push notifications
    • remove push notifications
  1. Report

get data tracking report

GET
/companies/{company_id}/reports/data_tracking
datadevice
Returns response that contains data tracking information for the devices in the company for the passed in company_id for the time window specified. If the value all is provided to the param company_id, then all available devices will be returned.

Request

Path Params
company_id
integer 
required
ID of company to get data for. If all is used, then all available devices will be returned instead.
Example:
123456
Query Params
start_date
integer 
required
Start date of time window for data in request (YYMMDD)
>= 6<= 6
Example:
240112
end_date
integer 
required
End date of time window for data in request (YYMMDD)
>= 6<= 6
Example:
240118
Body Params multipart/form-data
object {0}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://fleet.roscolive.com/api/v1.0/companies//reports/data_tracking?start_date=&end_date='

Responses

🟢200Success
application/json
Body
meta
object 
required
Request metadata object
code
integer 
required
HTTP status code returned by server
response
object 
required
report
array [object {17}] 
required
result
string 
required
"OK" if request successful, otherwise "Failed"
Example
{
    "meta": {
        "code": 200
    },
    "response": {
        "report": [
            {
                "active": 0,
                "company_id": 825,
                "company_name": "Acme Trucks",
                "created_at": "Wed, 02 Jan 2019 19:47:45 GMT",
                "created_days": 2031,
                "data_usage": 0,
                "deleted_at": null,
                "device_id": 11766724,
                "device_limit": 1,
                "existed_days": null,
                "fleet_limit": 1,
                "iccid": "",
                "imei": "0",
                "partner_name": "Rosco Vision Partner",
                "status": "used",
                "vehicle_group": "Group A",
                "vehicle_name": "Truck 1001"
            },
            {
                "active": 1,
                "company_id": 825,
                "company_name": "Acme Trucks",
                "created_at": "Mon, 10 Jul 2023 21:31:20 GMT",
                "created_days": 381,
                "data_usage": 0,
                "deleted_at": null,
                "device_id": 45716178,
                "device_limit": 1,
                "existed_days": null,
                "fleet_limit": 1,
                "iccid": null,
                "imei": null,
                "partner_name": "Rosco Vision Partner",
                "status": "used",
                "vehicle_group": "Groub B",
                "vehicle_name": "Truck 1002"
            },
            {
                "active": 1,
                "company_id": 825,
                "company_name": "Acme Trucks",
                "created_at": "Tue, 02 Oct 2018 17:33:09 GMT",
                "created_days": 2123,
                "data_usage": 0,
                "deleted_at": null,
                "device_id": 49417348,
                "device_limit": 1,
                "existed_days": null,
                "fleet_limit": 1,
                "iccid": "74125896303692587412",
                "imei": "015974000000123",
                "partner_name": "Rosco Vision Partner",
                "status": "used",
                "vehicle_group": "Group A",
                "vehicle_name": "Truck 1005"
            },
            {
                "active": 0,
                "company_id": 825,
                "company_name": "Acme Trucks",
                "created_at": "Mon, 24 May 2021 20:02:19 GMT",
                "created_days": 1158,
                "data_usage": 0,
                "deleted_at": "Thu, 17 Feb 2022 20:55:11 GMT",
                "device_id": 49759267,
                "device_limit": 1,
                "existed_days": 269,
                "fleet_limit": 1,
                "iccid": "74125896303692587412",
                "imei": "015974000000321",
                "partner_name": "Rosco Vision Partner",
                "status": "used",
                "vehicle_group": "Group A",
                "vehicle_name": "Truck 2001"
            }
        ]
    },
    "result": "OK"
}
🟠401Login Required
Modified at 2025-02-04 18:49:55
Previous
get data usage report for devices in company
Next
get all events report
Built with