This method allows you to download list of own vehicles offers posted on vehicles exchange.

Query

Request address and parameters.

  • 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.

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

Response

List of vehicles:

    {
        “created_at”: “2020-06-25T09:05:35+00:00”,
        “expiration_date”: “2020-06-25T23:59:59+02:00”,
        “id”: “ABCBNBKA38TQ2HSTT5YN1234567”,
        “offer_id”: 202343637,
        “status”: “active”,
        “type”: “vehicle”,
        “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”: {}
                }
            ]
        }
    }
]