RoscoLive API v1.0(v2.35.0)
  1. Geotab
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
        PUT
    • 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. Geotab

Pair cameras to GO devices by CSV file

PUT
https://fleet.roscolive.com/api/v1.0/geotab/companies/{company_id}/devices
geotab
Endpoint to submit a CSV document containing camera IMEI and GO device serial numbers to pair.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://fleet.roscolive.com/api/v1.0/geotab/companies//devices' \
--form 'file=@"cmMtdXBsb2FkLTE3Mzg1MTI3MzM1MzAtMg==/pair_devices.csv"'
Response Response Example
200 - Example 1
{
  "meta": {
    "code": 0
  },
  "response": {
    "error": [
      {}
    ],
    "success": [
      {
        "device_id": 0,
        "go_device_sn": "string",
        "serial_number": "string",
        "vehicle_name": "string"
      }
    ]
  },
  "result": "string"
}

Request

Path Params
company_id
integer 
required
Body Params multipart/form-data
file
file 
required
File to upload that contains camera and GO device data to pair. A value is required for each column for each device in the document. Document must be CSV format.
Column HeaderDescription
rl_imeiIMEI value of an existing active device in the company.
go_snGO device serial number from the customer's Geotab company to pair the camera to. Typically starts with "G"
Example:
cmMtdXBsb2FkLTE3Mzg1MTI3MzM1MzAtMg==/pair_devices.csv

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
error
array [object] 
required
success
array [object {4}] 
required
Devices successfully paired
result
string 
required
"OK" if successful, else "Fail" if error
🔴500Internal Server Error
🟠404Resource Not Found
🟠401Login Required
Previous
get own partner company
Next
Play in-cab audible alert sound for device
Built with