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.

For accessing freights API no additional scopes are set, therefore the scope parameter can be left empty.

Response example

{
    “created_at”: “2020-06-25T09:05:35+00:00”,
    “expiration_date”: “2020-06-25T23:59:59+02:00”,
    “id”: “ABCBNBKA38TQ2HSTT5YNT123456”,
    “offer_id”: 202343637,
    “status”: “active”,
    “vehicle”: {
        “adr_classes”: [],
        “available_on”: {
            “begin”: “2020-06-25T11:10:36+02:00”,
            “end”: “2020-06-25T23:59:59+02:00”
        },
        “available_ways_of_loading”: [],
        “cargo”: {
            “capacity”: {
                “unit_code”: “TNE”,
                “value”: 24
            }
        },
        “description”: “”,
        “equipment”: [],
        “has_adr”: false,
        “has_hds”: false,
        “has_lift”: false,
        “loading_place”: {
            “address”: {
                “country”: “pl”,
                “locality”: “Polska”,
                “postal_code”: “00-000”
            },
            “coordinates”: {}
        },
        “size”: “solo”,
        “truck_body”: “cooler”,
        “unloading_place”: {
            “address”: {
                “country”: “de”,
                “locality”: “Niemcy”,
                “postal_code”: “00-000”
            },
            “coordinates”: {}
        },
        “unloading_places”: [
            {
                “address”: {
                    “country”: “de”,
                    “locality”: “Niemcy”,
                    “postal_code”: “00-000”
                },
                “coordinates”: {}
            }
        ]
    }
}