Authorization
header is optional. If user does not belong to the company for which he is trying to receive external service account data, he should provide bearer token in the Authorization
header.Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Authorization: Bearer ********************
curl --location --request GET 'https://fleet.roscolive.com/api/v1.0/external_service//account?company_id'
{
"meta": {
"code": 200
},
"response": {
"access_hash": "gAAAAABn0vCXpw76YmpT8EGSoia0auwY85N1zQ8HTystKtx5labcY3La6ahrcEpRHitqRc44qDxSUktVxjI7dyhixIzjIYZ79oCJxiqI1b_EgBkA5r9w3XtMMn_iRTI1lq1s51JHVOms",
"account": "test_account",
"company_id": 100,
"id": 212,
"password": "Password1",
"role_id": 4,
"type": "ituran",
"username": "Metrolink"
},
"result": "OK"
}