xLoad Toll Details

This forum deals with any kind of routing computation whether it is simple A:B-routing, calculation of isochrones, simple matrix computation or nearest search.
Post Reply
Dobos Ionut
Posts: 25
Joined: Tue Dec 03, 2019 11:27 am

xLoad Toll Details

Post by Dobos Ionut »

Hello,

As we've discussed in out last call, we're trying to get the toll details that are not yet available and soon to be released at the start of 2020. We've been presented with an alternative: to make the call with country events, add those points as waypoints, and then repeat the call with Toll Events. Unfortunately, the toll event does not seem to have any impact on the response.

Here is a RouteRequest that we are using:

Code: Select all

{
    "resultFields": {
        "polyline": true,
        "legs": {
            "enabled": true,
            "polyline": true,
            "tollSummary": true
        },
        "toll": {
            "enabled": true,
            "costs": {
                "enabled": true,
                "additionalPaymentMethods": true,
                "attributes": true
            },
            "systems": false
        },
        "eventTypes": [
            "TOLL_EVENT",
            "COUNTRY_EVENT"
        ]
    },
    "routeOptions": {},
    "geometryOptions": {
        "responseGeometryTypes": [
            "PLAIN"
        ]
    },
    "requestProfile": {
        "routingProfile": {
            "course": {
                "toll": {
                    "tollPenalty": 0
                }
            }
        },
        "vehicleProfile": {
            "electronicTollCollectionSubscriptions": "NONE"
        },
        "currency": "EUR"
    },
    "coordinateFormat": "EPSG:4326",
    "waypoints": [
        {
            "$type": "OffRoadWaypoint",
            "location": {
                "offRoadCoordinate": {
                    "x": 5.9134999164,
                    "y": 49.851970717
                }
            },
            "name": "Start"
        },
        {
            "$type": "OffRoadWaypoint",
            "location": {
                "offRoadCoordinate": {
                    "x": 6.1213250692,
                    "y": 49.472504164
                }
            },
            "name": "Border 1"
        },
        {
            "$type": "OffRoadWaypoint",
            "location": {
                "offRoadCoordinate": {
                    "x": 7.5631292162,
                    "y": 47.575178616
                }
            },
            "name": "Border 2"
        },
        {
            "$type": "OffRoadWaypoint",
            "location": {
                "offRoadCoordinate": {
                    "x": 9.0352971513,
                    "y": 45.839161156
                }
            },
            "name": "Border 3"
        },
        {
            "$type": "OffRoadWaypoint",
            "location": {
                "offRoadCoordinate": {
                    "x": 11.162109375,
                    "y": 43.81867485545323
                }
            },
            "name": "Destination"
        }
    ]
}
Please let us know how we could access the toll details.

Best Regards,
John
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xLoad Toll Details

Post by Bernd Welter »

Hello John,

Lars will take care of this soon, I just spoke to him.

Regarding the availability of the detailed toll: I recommend to subscribe here to stay up2date.

Best regards,
Bernd

I moved the post into xRoute ;-)
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Dobos Ionut
Posts: 25
Joined: Tue Dec 03, 2019 11:27 am

Re: xLoad Toll Details

Post by Dobos Ionut »

Hello Bernd,

Any updates on the matter?

Best Regards,
John
User avatar
Bernd Welter
Site Admin
Posts: 2695
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Re: xLoad Toll Details

Post by Bernd Welter »

Hello John,

the detailed toll is now available for tests on the cloud.
I will update any info on the following thread which includes samples and screenshots:
https://xserver.ptvgroup.com/forum/view ... 1165#p3452

Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Dobos Ionut
Posts: 25
Joined: Tue Dec 03, 2019 11:27 am

Re: xLoad Toll Details

Post by Dobos Ionut »

Hello Bernd,

Thank you for the info.

Best Regards,
John
Post Reply