This method allows you to download list of own vehicles offers posted on vehicles exchange.
Url parameters and connection settings
- HTTP Method: GET
- URL: https://api.platform.trans.eu
- Endpoint: /ext/vehicles-api/v1/vehicles
Headers
- Accept: application/json
- Content-type: 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.
Response
List of vehicles:
[
{
"created_at": "2021-03-09T09:39:15+00:00",
"expiration_date": "2021-03-09T19:25:00+0000",
"id": "01F0B5NP2BV7NK14ZEY95FQTHZ",
"offer_id": 202586589,
"status": "active",
"type": "vehicle",
"vehicle": {
"adr_classes": [],
"available_on": {
"begin": "2021-03-09T15:25:00+0000",
"end": "2021-03-09T19:25:00+0000"
},
"available_ways_of_loading": [],
"cargo": {
"capacity": 5
},
"equipment": [],
"has_adr": false,
"has_hds": false,
"has_lift": false,
"loading_place": {
"address": {
"country": "pl",
"locality": "Wroclaw",
"postal_code": "56-111"
},
"coordinates": {}
},
"size": "bus",
"truck_body": "standard-tent",
"unloading_place": {
"address": {
"country": "pl",
"locality": "Wroclaw",
"postal_code": "56-123"
},
"coordinates": {}
},
"unloading_places": [
{
"address": {
"country": "pl",
"locality": "Wroclaw",
"postal_code": "56-123"
},
"coordinates": {}
}
]
}
},
{
"next_vehicle": "next_vehicle"
}
]