get a company
GET
partners/companies/{company_name}Returns a single company object.
Request
Path Params
company_name
string
required
Name of the company on RoscoLive. This value is found in the "company_name" of the company object.
Example:
Acme Trucking
Request samples
Responses
Return company(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
Request metadata object
code
integer
required
HTTP status code returned by server
response
object
required
Contains response data
company
object
required
The returned company object
result
string
required
"OK" if request successful, otherwise "Fail"
Example
{
"meta": {
"code": 200
},
"response": {
"company": {
"active": true,
"advanced_profile_settings": true,
"billing_date": 1,
"company_address": "853 Russel Throughway",
"company_address2": "9614",
"company_city": "Handshire",
"company_country": "Serbia",
"company_key": "A1B2C3D4E5",
"company_metadata": null,
"company_name": "Murazik, Ullrich and Bednar",
"company_phone_number": "817.234.5586 x460",
"company_country_code": null,
"company_state": "Kentucky",
"company_type": "CUSTOMER",
"company_zipcode": "24349-1541",
"created_by": 9,
"created_by_company_id": 86,
"custom_apn": "http://realistic-acrylic.org",
"data_limit": 3,
"data_usage_threshold": 92336197,
"driver_recognition": "manual",
"event_expiration": "365",
"geotab_database": "rosco",
"geotab_email": "Tillman.Rice49@hotmail.com",
"geotab_path": "http://quizzical-lyrics.org",
"hash": "dolore est labore",
"id": 2,
"live_active": true,
"owner_company": "Rosco Vision Partner",
"partner_company": "Rosco Vision Partner",
"reformat_reminder": 6,
"status": "used",
"storage_active": true,
"token": "12345678",
"trace_active": true,
"trial_status": true,
"trial_subscribers": "example1@email.com,example2@email.com"
}
},
"result": "OK"
}
Last modified: 3 months ago