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

update a company by ID

POST
https://fleet.roscolive.com/api/v1.0/partners/companies/{company_id}
Update a company's information. All fields are optional and only passed in fields will be updated. NOTE: Only Partner companies with correct permission can update companies.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://fleet.roscolive.com/api/v1.0/partners/companies/123456?byid=company' \
--form 'company_city="{{company_city}}"' \
--form 'company_state="{{company_state}}"' \
--form 'company_zipcode="{{company_zipcode}}"' \
--form 'company_address="{{company_address}}"' \
--form 'company_country="{{company_country}}"' \
--form 'company_phone_number="{{company_phone_number}}"' \
--form 'company_new_name="Company Name"'
Response Response Example
200 - 200
{
    "meta": {
        "code": 200
    },
    "response": {
        "company": {
            "active": true,
            "advanced_profile_settings": false,
            "asset_deletion_protection": false,
            "billing_date": 7,
            "company_address": "Flowers str, 2",
            "company_address2": "Forest ave, 12",
            "company_city": "Detroit2",
            "company_country": "USA2",
            "company_key": "4f593eb722",
            "company_name": "TransfoTech",
            "company_phone_number": "",
            "company_state": "Michigan2",
            "company_type": "CUSTOMER",
            "company_zipcode": "1121212",
            "created_by": 1,
            "created_by_company_id": 3,
            "custom_apn": "1234567",
            "data_limit": 3,
            "data_usage_threshold": 1024,
            "driver_recognition": "cardreader",
            "event_expiration": "180",
            "geotab_database": "",
            "geotab_email": "sasha.kyrylenko@gmail.com",
            "geotab_path": "",
            "hash": "ac6631660b966741a00cd20cd5014441",
            "id": 66,
            "live_active": true,
            "owner_company": "Rosco Vision Partner",
            "partner_company": "Rosco Vision Partner",
            "reformat_reminder": 0,
            "status": "used",
            "storage_active": true,
            "timezone": "US/Central",
            "token": "87443459",
            "trace_active": true,
            "trial_date": "Thu, 10 Oct 2019 12:01:20 GMT",
            "trial_status": true,
            "trial_subscribers": "end_user3@youpmail.com"
        }
    },
    "result": "OK"
}

Request

Path Params

Query Params

Body Params multipart/form-data

Responses

🟢200200
application/json
Body

🟠401Login Required
Modified at 2024-11-26 18:38:11
Previous
get a company by ID
Next
update company
Built with