- Company
- Device
- Device Firmware
- Driver Scoring / Coaching
- Event
- Live streaming
- Report
- User
get companies
GET
/partners/companies
partnercompany
Request
Query Params
company_type
enum<string>
optional
Allowed values:
PARTNERCOMPANY
Example:
CUSTOMER
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/partners/companies?company_type=CUSTOMER'
Responses
🟢200Return Companies List
application/json
Body
meta
object
required
code
integer
required
response
object
required
companies
array[object (Company) {37}]
required
result
string
required
Example
{
"meta": {
"code": 200
},
"response": {
"companies": [
{
"active": true,
"advanced_profile_settings": true,
"asset_deletion_protection": false,
"billing_date": 1,
"company_address": "address",
"company_address2": "address2",
"company_city": "Castle",
"company_country": "USA",
"company_key": "f718695b37",
"company_name": "Rosco Vision",
"company_phone_number": "",
"company_state": "Main",
"company_type": "CUSTOMER",
"company_zipcode": "98786",
"created_by": 17,
"created_by_company_id": 3,
"custom_apn": "",
"cutoff_when_overage": false,
"data_limit": 3,
"data_usage_threshold": 1024.0,
"driver_recognition": "manual",
"event_expiration": "365",
"geotab_database": "",
"geotab_email": "sdfsdf@sadasd.ru",
"geotab_path": "",
"hash": "c2c7a460f0f4b812003569eafc6bb9ed",
"id": 2,
"live_active": true,
"owner_company": "Rosco Vision Partner",
"partner_company": "Rosco Vision Partner",
"reformat_reminder": 5,
"status": "used",
"storage_active": true,
"token": "12345678",
"trace_active": true,
"trial_status": false,
"trial_subscribers": ""
},
},
}
🟠404Resource Not Found
🔴500Internal Server Error
🟠401Login Required
Modified at 2024-11-26 18:38:04