This method allows you to download partner fleet

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • Endpoint: /ext/partners-api/v1/partners/{partnerId}/fleet
  • Http Method: GET

Headers

  • Accept: application/json
  • Content-type: application/json
  • Authorization: Bearer {access_token}
  • Api-key: {unique_app_api-key}

Authorization and access

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 example

    "has_next_page": true,
    "page": 1,
    "page_size": 10,
    "vehicles": [
        {
            "gps": false,
            "kind": "bus/van",
            "manufacturer": "VOLKSWAGEN",
            "registration_plate_number": "DWR9999999",
            "specifications": {
                "cargo_capacity": {
                    "unit_code": "t",
                    "value": null
                },
                "combustion_norm": "EURO 6"
            },
            "type": "cooler"
        },
        {
            "gps": false,
            "kind": "semi-trailer",
            "manufacturer": "FIAT",
            "registration_plate_number": "PL1211",
            "specifications": {
                "cargo_capacity": {
                    "unit_code": "t",
                    "value": 24
                },
                "combustion_norm": null
            },
            "type": "tent"
        }
    ]
}

Paging

When calling GET method, page should be added as parameter in the URL, for example: https://api.platform.trans.eu/ext/partners-api/v1/partners/{partnerId}/fleet?page=4