RoscoLive API v1.0
  1. User
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
      GET
    • create a company
      PUT
    • get partner settings
      GET
    • get audit logs of a company
      GET
    • get input sensors notifications of a company
      GET
    • get ignition notifications of a company
      GET
    • get a company by ID
      GET
    • update a company by ID
      POST
    • update company
      POST
    • search companies
      GET
    • get companies list
      GET
    • get a company
      GET
    • get companies
      GET
    • get partner companies list
      GET
    • get own partner company
      GET
  • 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 custom report data
    • get data usage report by device id
    • get list of companies with data usage for date range
    • get data usage for active devices for specified companies
    • get companies with data usage for date range
    • get data usage report for devices in company
    • get data tracking report
    • get all events report
    • Get all events report for company
    • get vehicle activity report
    • get firmware report
    • Get event count summary report for company devices
    • get driver event breakdown report
    • get driver event performance report
    • Update custom report
    • get custom reports by user email
    • get custom report by report id
    • put subscribe to a report
    • get report subscriptions
    • get list of standard reports
    • get speeding summary report
    • get speeding breakdown report
    • get idling summary report
    • get idling breakdown report
    • Create custom report for user
  • 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
    • Get a user
      GET
    • update a user
      POST
    • remove a user
      DELETE
    • Get own info
      GET
    • create a user
      PUT
    • get company users by company ID
      GET
    • get user settings
      GET
    • set user settings
      PUT
    • Get application notifications
      GET
    • remove the notification
      DELETE
    • mark notifications as viewed
      POST
    • verify password
      POST
    • SD card reformat reminder
      POST
    • Update notification by email
      POST
    • assign user to company
      PUT
    • get permissions by a user_id
      GET
    • Get event / sms notification settings
      GET
  • Webhooks
    • get push notifications
    • set push notifications
    • remove push notifications
  1. User

update a user

POST
/partners/users/{user_email}
Update a user's information. All the attributes are optional, only the posted attributes will be changed
"active" is where user is marked as removed, if acitve is false, user is accessible by email but not searchable and not in the users list.
A partner can not change the role of his own, but can assign fleet manager, group_manager, end_user role to a user.

Request

Path Params
user_email
string 
required
Body Params multipart/form-data
last_name
string 
required
Example:
{{lastname_changed}}
first_name
string 
required
Example:
{{firstname_changed}}
roles
string 
required
Example:
{{group_manager or end_user}}
phone_number
string 
required
Example:
{{phone_changed}}
alert_gsensor
string 
required
Example:
{{true or false}}
alert_critical_gsensor
string 
required
Example:
{{true or false}}
alert_speed
string 
required
Example:
{{true or false}}
alert_sensor
string 
required
Example:
{{true or false}}
alert_sd_error
string 
required
Example:
{{true or false}}
alert_unclean_shutdown
string 
required
Example:
{{true or false}}
alert_camera_failure
string 
required
Example:
{{true or false}}
active
string 
required
Example:
{{true or false}}
alert_dv_camera_failure
string 
required
Example:
{{alert_dv_camera_failure}}
alert_high_temperature
string 
required
Example:
{{true or false}}
speed_unit
string 
required
Example:
{{mph or kph}}
aggr_notific_interval
string 
required
Example:
{{aggr_notific_interval}}
alert_inactive_vehicles
string 
required
Example:
{{true or false}}
alert_summary
string 
required
Example:
{{true or false}}
flood_notification
string 
required
Example:
{{true or false}}
reformat_reminder
string 
required
Example:
{{true or false}}
alert_inactive_vehicles_time
string 
required
Example:
{{1-5}}
recording_status_notifs
string 
required
Example:
{{true or false}}
alert_camera_errors
string 
required
Example:
{{true or false}}

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 POST 'https://fleet.roscolive.com/api/v1.0/partners/users/' \
--form 'last_name="{{lastname_changed}}"' \
--form 'first_name="{{firstname_changed}}"' \
--form 'roles="{{group_manager or end_user}}"' \
--form 'phone_number="{{phone_changed}}"' \
--form 'alert_gsensor="{{true or false}}"' \
--form 'alert_critical_gsensor="{{true or false}}"' \
--form 'alert_speed="{{true or false}}"' \
--form 'alert_sensor="{{true or false}}"' \
--form 'alert_sd_error="{{true or false}}"' \
--form 'alert_unclean_shutdown="{{true or false}}"' \
--form 'alert_camera_failure="{{true or false}}"' \
--form 'active="{{true or false}}"' \
--form 'alert_dv_camera_failure="{{alert_dv_camera_failure}}"' \
--form 'alert_high_temperature="{{true or false}}"' \
--form 'speed_unit="{{mph or kph}}"' \
--form 'aggr_notific_interval="{{aggr_notific_interval}}"' \
--form 'alert_inactive_vehicles="{{true or false}}"' \
--form 'alert_summary="{{true or false}}"' \
--form 'flood_notification="{{true or false}}"' \
--form 'reformat_reminder="{{true or false}}"' \
--form 'alert_inactive_vehicles_time="{{1-5}}"' \
--form 'recording_status_notifs="{{true or false}}"' \
--form 'alert_camera_errors="{{true or false}}"'

Responses

🟢200valid update a user
application/json
Body
object {0}
Example
{
    "meta": {
        "code": 200
    },
    "response": {
        "user": [
            {
                "active": bool,
                "aggr_notific_interval": int,
                "alert_camera_failure": bool,
                "alert_critical_gsensor": bool,
                "alert_dv_camera_failure": bool,
                "alert_high_temperature": bool,
                "alert_inactive_vehicles": bool,
                "alert_inactive_vehicles_time": none,
                "alert_sd_error": bool,
                "alert_sensor": bool,
                "alert_speed": bool,
                "alert_summary": bool,
                "audit_notification": bool,
                "company_audit_log": none,
                "company_data": dict,
                "company_driver_recognition": "str",
                "company_id": int,
                "company_name": "str",
                "company_reformat_reminder": int,
                "company_token": "str",
                "company_type": "str",
                "confirmed_at": bool,
                "created_timestamp": "str",
                "data_usage_notification": bool,
                "data_usage_notification_vehicle_limit": "str",
                "email": "str",
                "eula_was_viewed": bool,
                "event_breakdown": bool,
                "first_name": "str",
                "flood_notification": bool,
                "groups": list,
                "harshaccel": none,
                "harshbraking": none,
                "has_registered_sms": bool,
                "high_speeding": none,
                "id": int,
                "installer_company_name": none,
                "is_fake": bool,
                "last_login": "str",
                "last_name": "str",
                "low_speeding": none,
                "mecp_cert": bool,
                "moderate_speeding": none,
                "partner_company_name": "str",
                "phone_number": "str",
                "recent_activity": "str",
                "recording_status_notifs": bool,
                "reformat_last_notifs": none,
                "reformat_reminder": bool,
                "release_viewed": "str",
                "roles": list,
                "rosco_product_owned": none,
                "settings": dict,
                "severe_speeding": none,
                "speed_unit": "str",
                "status": "str",
                "unidentified_drivers": bool,
                "work_submission_report": none
            }
        ]
    }
}
           
🟠404update a non existing user
🟠401Login Required
Modified at 2024-07-25 02:00:14
Previous
Get a user
Next
remove a user
Built with