Get list of employees

Allows to acquire list of user’s com­pa­ny employ­ees

Authorization and access

Autho­riza­tion process is described here. Each API request must also con­sist of unique Api-key obtained dur­ing appli­ca­tion reg­is­tra­tion togeth­er with client_id and client_secret.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ex­t/­com­pa­nies-api/v1/­com­pa­nies/em­ploy­ees
  • Http Method: GET

Headers

  • Accept: application/json
  • Con­tent-type: application/json
  • Autho­riza­tion: Bear­er {access_token}
  • Api-key: {unique_ap­p_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"
  }
]