Get monitoring task’s location

Allows to get loca­tion updates for pre­vi­ous­ly cre­at­ed mon­i­tor­ing task.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/loads-monitoring-api/v1/monitorings/{id}/positions
  • Method: GET

Headers

  • Con­tent-type: application/json
  • Accept: application/json
  • Autho­riza­tion: Bear­er {access_token}
  • Api-key: {unique_ap­p_api-key}

Authorization

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.

Response body example

{
    "positions": [
        {
            "coordinates": {
                "latitude": 53.765693,
                "longitude": 20.522543
            },
            "device_id": 681550,
            "position_time": "2021-02-18T06:06:16.000Z"
        }
    ]
}