get own partner company
GET
/partners/meReturns the Partner company data the current user belongs to.
Request
None
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
Request metadata object
code
integer
required
HTTP status code returned by response
response
object
required
Contains response data
company
object
required
Partner company data object
result
string
required
"OK" if successful, else "Fail" if error
Example
{
"meta": {
"code": 200
},
"response": {
"company": {
"allow_create_company": false,
"allow_edit_company": false,
"billing_date": 1,
"company_address": "4706 Theodora Field",
"company_address2": "51243",
"company_city": "West Raphael",
"company_country": "Pitcairn Islands",
"company_key": "A1B2C3D4E5",
"company_metadata": {
"data": "et nisi eu minim tempor"
},
"company_name": "Swift, Murphy and Mueller",
"company_phone_number": "6015104323",
"company_country_code": null,
"company_state": "Tennessee",
"company_type": "PARTNER",
"company_zipcode": "58035",
"created_by": 15284,
"created_by_company_id": null,
"custom_apn": "http://tepid-shoelace.info",
"data_usage_threshold": 23269648,
"driver_recognition": "cardreader",
"event_expiration": "365",
"geotab_database": "rosco",
"geotab_email": "Ruthie_Swaniawski0@yahoo.com",
"geotab_path": "https://clean-adviser.net",
"hash": "minim irure in",
"id": 2,
"industry_type": "Construction",
"live_active": true,
"reformat_reminder": 6,
"status": "used",
"storage_active": true,
"token": "12345678",
"trace_active": true,
"trial_status": true,
"trial_subscribers": "example1@email.com,example2@email.com",
"using_rosco_sim": true
}
},
"result": "OK"
}
Last modified: 2 months ago