For testing purposes I'm using Request Runner at https://xroute-eu-n-test.cloud.ptvgroup ... quest.html
I'm passing totalPermittedWeight='7500' within ProfileXMLSnippet.
In spite of this parameter I'm getting segments marked by maxWeight=3500 in the response.
Why does it work that way?
Here is my test request:
Code: Select all
{
"waypoints": [
{
"$type": "WaypointDesc",
"linkType": "NEXT_SEGMENT",
"fuzzyRadius": 0,
"coords": [
{
"$type": "Point",
"point": {
"$type": "PlainPoint",
"x": 5.904121700218979,
"y": 49.91983561437948
}
}
]
},
{
"$type": "WaypointDesc",
"linkType": "NEXT_SEGMENT",
"fuzzyRadius": 0,
"coords": [
{
"$type": "Point",
"point": {
"$type": "PlainPoint",
"x": 5.939734590555138,
"y": 49.93496515392465
}
}
]
}
],
"options": [],
"exceptionPaths": [],
"details": {
"manoeuvres": false,
"texts": false,
"nodes": false,
"binaryPathDesc": false,
"polygon": true,
"detailLevel": "BORDERS",
"dynamicInfo": false,
"segments": true,
"segmentAttributes": false,
"manoeuvreAttributes": false,
"brunnelManoeuvres": false,
"urbanManoeuvres": false,
"manoeuvreGroups": false,
"tollManoeuvres": false,
"boundingRectanglesC": 0,
"boundingRectanglesOffset": 0,
"totalRectangle": false,
"featureDescriptions": true
},
"callerContext": {
"properties": [
{
"key": "ResponseGeometry",
"value": "PLAIN"
},
{
"key": "CoordFormat",
"value": "OG_GEODECIMAL"
},
{
"key": "ProfileXMLSnippet",
"value": "<?xml version='1.0' encoding='UTF-8'?><Profile xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation=\"http:///xroute/schema/XRouteProfile.xsd\"><Routing majorVersion='2' minorVersion='0'><Vehicle><Physical><Weight totalPermittedWeight='7500'/></Physical></Vehicle><Course><AdditionalDataRules enabled='true'><VehicleSpecific enabled='true'><Malus residential='2501'/></VehicleSpecific></AdditionalDataRules></Course></Routing><FeatureLayer majorVersion='1' minorVersion='0'><Themes><Theme id='PTV_TruckAttributes' enabled='true'/></Themes></FeatureLayer></Profile>"
}
]
}
}