Allows to acquire list of user’s company employees
Authorization and access
Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/companies-api/v1/companies/employees
- Http Method: GET
Headers
- Accept: application/json
- Content-type: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Example request
GET https://api.platform.trans.eu/ext/companies-api/v1/companies/employees
Example response
[
{
"account_id": 749989,
"family_name": "Testowy",
"given_name": "User",
"hidden": true,
"is_driver": false,
"job_title": "Stanowisko",
"roles": [
{
"name": "administrator",
"product": "basic"
},
{
"name": "freights_manage",
"product": "tff"
}
],
"trans_id": "1111111-1"
},
{
"next_employee_example": "next_employee_example"
}
]