RoscoLive API v1.0(v2.35.0)
  1. External Service
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. External Service

Get an external service account

GET
https://fleet.roscolive.com/api/v1.0/external_service/{service_type}/account
external service
Returns data of external service account (Webfleet, Ituran).
Bearer token in the Authorization header is optional. If user does not belong to the company for which he is trying to receive external service account data, he should provide bearer token in the Authorization header.

User Role Permissions#

The following table shows which user roles are allowed to send requests using this API endpoint.
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/external_service//account?company_id'
Response Response Example
200 - Success
{
  "meta": {
    "code": 200
  },
  "response": {
    "access_hash": "gAAAAABn0vCXpw76YmpT8EGSoia0auwY85N1zQ8HTystKtx5labcY3La6ahrcEpRHitqRc44qDxSUktVxjI7dyhixIzjIYZ79oCJxiqI1b_EgBkA5r9w3XtMMn_iRTI1lq1s51JHVOms",
    "account": "test_account",
    "company_id": 100,
    "id": 212,
    "password": "Password1",
    "role_id": 4,
    "type": "ituran",
    "username": "Metrolink"
  },
  "result": "OK"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
service_type
enum<string> 
required
Allowed values:
webfleetituran
Query Params
company_id
integer 
required
ID of company

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
access_hash
string 
required
account
string  | null 
required
company_id
integer 
required
id
integer 
required
password
string 
required
role_id
enum<integer> 
required
Allowed values:
24
type
enum<string> 
required
Allowed values:
webfleetituran
username
string 
required
result
string 
required
"OK" if successful, else "Failed" if error
🟠401Login Required
🟠404Resource Not Found
🔴500Internal Server Error
Previous
Get a device
Next
Pair RL device with external device
Built with