Quick Start

With the Data service you can obtain additional data such as vehicle profiles.

Using the Data API is simple. Follow the steps on this page to get started with requesting data.

API Endpoint

To get you started we will use the following endpoint, that will request all available predefined profiles.


You can test this by entering the URL into your web browser (be sure to replace YOUR_API_KEY with your actual API key).


Alternatively you can choose one of the following options to send your request. You also have the option to send the API key in the request header.

curl --location --request GET "https://api.myptv.com/data/v1/vehicle-profiles/predefined" --header "ApiKey: YOUR_API_KEY"

$headers = @{"apiKey" = "YOUR_API_KEY"}
$Uri = "https://api.myptv.com/data/v1/vehicle-profiles/predefined"
$response = Invoke-RestMethod -Uri $uri -Method Get -Headers $headers
$response | ConvertTo-Json


Below you will find an extract of the response representing one single predefined vehicle profile.

    "profiles": [
            "name": "EUR_TRAILER_TRUCK",
            "description": "Heavy truck / semi-trailer truck (Euro-tractor) with 5 axles and a maximum total weight of 40 tons. Total length maximum 16,5m. Tractor 3 axles + semitrailers 2 axles or tractor 2 axles + semitrailer 3 axles. Tractor does not have a loading area.",
            "xServerProfile": "trailertruck",
            "nonMotorized": false,
            "isTruck": true,
            "vehicle": {
                "emissionStandard": "EURO_5",
                "engineType": "COMBUSTION",
                "cylinderCapacity": 12000,
                "fuelType": "DIESEL",
                "bioFuelRatio": 0,
                "averageFuelConsumption": 35.0,
                "lowEmissionZoneTypes": [
                "particleReductionClass": "PMK_0",
                "emptyWeight": 15000,
                "loadWeight": 25000,
                "totalPermittedWeight": 40000,
                "axleWeight": 11500,
                "numberOfAxles": 5,
                "height": 400,
                "heightAboveFrontAxle": 400,
                "length": 1650,
                "width": 254,
                "hazardousMaterials": [],
                "tunnelRestrictionCode": "NONE",
                "truckRoutes": [],
                "commercial": false