Allows to assign driver to existing monitoring task.

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/loads-monitoring-api/v1/monitorings/{monitoringId}/accept
  • Method: PATCH

Headers

  • Accept: application/json
  • Content-type: application/json
  • Authorization: Bearer {access_token}
  • Api-key: {unique_app_api-key}

Request body example:

{
   "vehicle":{
      "is_tracked":true,
      "vehicle_id":242499
   },
   "semitrailer":{
      "is_tracked":true,
      "vehicle_id":242499
   },
   "executor":{
      "is_tracked":true,
      "account_id":242499
   }
}