Allows to get details of single vehicle offer
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/vehicles-api/v1/vehicles/{id}
- Method: GET
Headers:
- Content-type: application/json
- Accept: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Authorization
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.
Important!
Weight is always represented in tonnes.
Height, length and width are always represented in meters.
Volume is always represented in cubic meters.
Response example
{
"created_at": "2021-03-05T09:05:35+00:00",
"expiration_date": "2021-03-08T23:59:59+02:00",
"id": "ABCBNBKA38TQ2HSTT5YNT123456",
"offer_id": 202343637,
"status": "active",
"vehicle": {
"adr_classes": [],
"available_on": {
"begin": "2021-03-05T11:10:36+02:00",
"end": "2021-03-08T23:59:59+02:00"
},
"available_ways_of_loading": [],
"cargo": {
"capacity": 24
},
"equipment": [],
"has_adr": false,
"has_hds": false,
"has_lift": false,
"loading_place": {
"address": {
"country": "pl",
"locality": "Wroclaw",
"postal_code": "00-000"
},
"coordinates": {}
},
"size": "solo",
"truck_body": "cooler",
"unloading_place": {
"address": {
"country": "de",
"locality": "Berlin",
"postal_code": "00-000"
},
"coordinates": {}
},
"unloading_places": [
{
"address": {
"country": "de",
"locality": "Berlin",
"postal_code": "00-000"
},
"coordinates": {}
}
]
}
}