Assign

Assign transport

post
Authorizations
Query parameters
uid__instringOptional

Comma separated list of transport uids to assign.

Example: 4443d4b6-e165-11ea-a488-0242ac110007
Body
Responses
200Success
application/json
post
POST /api/v4/transports/assign/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 453

{
  "trucker_id": {
    "pk": 928,
    "remote_id": "tr123"
  },
  "vehicle": {
    "remote_id": "tr123type1",
    "fleet_number": "TRUCK120",
    "license_plate": "WE749RM",
    "category": "unknown",
    "used_for_qualimat_transports": true,
    "tags": [
      {
        "pk": 23498,
        "name": "Remorque"
      }
    ],
    "telematic_data_source": "webfleet",
    "vendor_id": "text"
  },
  "trailers": [
    {
      "remote_id": "tr123type1",
      "fleet_number": "TRUCK120",
      "license_plate": "WE749RM",
      "used_for_qualimat_transports": true,
      "tags": [
        {
          "pk": 23498,
          "name": "Remorque"
        }
      ]
    }
  ]
}
200Success
{
  "success": true
}

Last updated

Was this helpful?