Page 1 of 1

xLoad Toll Details

Posted: Mon Jan 13, 2020 1:50 pm
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

Re: xLoad Toll Details

Posted: Mon Jan 13, 2020 3:55 pm
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 ;-)

Re: xLoad Toll Details

Posted: Thu Jan 30, 2020 3:25 pm
by Dobos Ionut
Hello Bernd,

Any updates on the matter?

Best Regards,
John

Re: xLoad Toll Details

Posted: Fri Jan 31, 2020 8:26 am
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

Re: xLoad Toll Details

Posted: Fri Jan 31, 2020 9:42 am
by Dobos Ionut
Hello Bernd,

Thank you for the info.

Best Regards,
John