Calculate Route
Purpose
The Calculate Route service calculates a route between an origin and a destination, passing through waypoints if they are specified.
- The route will take into account factors such as current traffic and the typical road speeds on the requested day of the week and time of day.
- Information returned includes the distance, estimated travel time, and a representation of the route geometry.
- Additional routing information such as optimized waypoint order or turn by turn instructions is also available, depending on the options selected.
Run this endpoint
You can easily run this and other endpoints. Go to the TomTom API Explorer page and follow the directions.
Request data
HTTPS methods: GET POST
Constants and parameters enclosed in curly brackets { } must be replaced with their values.
Generic request format
The following request URL contains all of this endpoint's respective parameters. For their details, please see the Common Routing Parameters page. In addition this endpoint supports guidance functionality that is collectively described in the Guidance Instructions page.
1https://{baseURL}/routing/{versionNumber}/calculateRoute/{routePlanningLocations}/{contentType}?key={Your_API_Key}2&callback={callback}3&maxAlternatives={alternativeRoutes}4&alternativeType={alternativeType}5&minDeviationDistance={integer}6&minDeviationTime={integer}7&supportingPointIndexOfOrigin={integer}8&computeBestOrder={boolean}9&routeRepresentation={routeRepresentation}10&computeTravelTimeFor={trafficTypes}11&vehicleHeading={integer}12§ionType={sectionType}13&includeTollPaymentTypes={includeTollPaymentTypes}14&report={effectiveSettings}15&departAt={time}16&arriveAt={time}17&routeType={routeType}18&traffic={boolean}19&avoid={avoidType}20&prefer={preferType}21&travelMode={travelMode}22&hilliness={hilliness}23&windingness={windingness}24&vehicleMaxSpeed={vehicleMaxSpeed}25&vehicleWeight={vehicleWeight}26&vehicleAxleWeight={vehicleAxleWeight}27&vehicleNumberOfAxles={vehicleNumberOfAxles}28&vehicleLength={vehicleLength}29&vehicleWidth={vehicleWidth}30&vehicleHeight={vehicleHeight}31&vehicleCommercial={boolean}32&vehicleLoadType={vehicleLoadType}33&vehicleAdrTunnelRestrictionCode={vehicleAdrTunnelRestrictionCode}34&vehicleEngineType={vehicleEngineType}35&handsFreeDrivingCapability={handsFreeDrivingCapability}36&constantSpeedConsumptionInLitersPerHundredkm={CombustionConstantSpeedConsumptionPairs}37¤tFuelInLiters={float}38&auxiliaryPowerInLitersPerHour={float}39&fuelEnergyDensityInMJoulesPerLiter={float}40&accelerationEfficiency={float}41&decelerationEfficiency={float}42&uphillEfficiency={float}43&downhillEfficiency={float}44&consumptionInkWhPerkmAltitudeGain={float}45&recuperationInkWhPerkmAltitudeLoss={float}46&constantSpeedConsumptionInkWhPerHundredkm={ElectricConstantSpeedConsumptionPairs}47¤tChargeInkWh={float}48&maxChargeInkWh={float}49&auxiliaryPowerInkW={float}50&chargeMarginsInkWh={commaSeparatedFloats}51&extendedRouteRepresentation={extendedRouteRepresentation}
GET URL example
Note: Line breaks are designated by "\".
1https://api.tomtom.com/routing/1/calculateRoute/\252.50931,13.42936:52.50274,13.43872/json?\3&vehicleHeading=90§ionType=traffic\4&report=effectiveSettings&routeType=eco\5&traffic=true&avoid=unpavedRoads\6&travelMode=car&vehicleMaxSpeed=120\7&vehicleCommercial=false&vehicleEngineType=combustion\8&key={Your_API_Key}
GET curl command example
Note: Line breaks are designated by "\".
1curl -X GET "https://api.tomtom.com/routing/1/calculateRoute/\252.50931,13.42936:52.50274,13.43872/json?\3vehicleHeading=90§ionType=traffic\4&report=effectiveSettings\&routeType=eco\5&traffic=true&avoid=unpavedRoads&travelMode=car\6&vehicleMaxSpeed=120&vehicleCommercial=false\7&vehicleEngineType=combustion&key={Your_API_Key}" -H "accept:*/*"
POST URL example
https://api.tomtom.com/routing/1/calculateRoute/52.50931,13.42936:52.50274,13.43872/json?key={Your_API_Key}
POST curl command examples
1curl -X POST "https://api.tomtom.com/routing/1/calculateRoute/52.50931,13.42936:52.50274,13.43872/json?key={Your_API_Key}" -H "Content-type:application/json" -d \2'{3 "supportingPoints": [4 {5 "latitude": 52.5093,6 "longitude": 13.429367 },8 {9 "latitude": 52.50844,10 "longitude": 13.4285911 }12 ],13 "avoidVignette": [14 "AUS",15 "CHE"16 ]17}'
1curl -X POST "https://api.tomtom.com/routing/1/calculateRoute/52.50931,13.42936:52.50274,13.43872/json?key={Your_API_Key}" -H "Content-type:application/json" -d \2'{3 "encodedPolyline": "cvn_Io|}pAjDxC",4 "encodedPolylinePrecision": 5,5 "avoidVignette": [6 "AUS",7 "CHE"8 ]9}'
1curl -X POST "https://api.tomtom.com/routing/1/calculateRoute/52.50931,13.42936:52.511572,13.416830:52.521860,13.427642:52.50274,13.43872/json?key={Your_API_Key}" -H "Content-type:application/json" -d \2'{3 "legs" : [4 {5 "routeType" : "eco",6 "routeStop": {7 "pauseTimeInSeconds": 6108 }9 },10 {11 "supportingPoints": [12 {13 "latitude": 52.5093,14 "longitude": 13.4293615 },16 {17 "latitude": 52.50844,18 "longitude": 13.4285919 }20 ]21 },22 {23 "routeType": "thrilling",24 "windingness": "low",25 "hilliness": "high",26 "avoids": [27 {28 "name": "tollRoads"29 }30 ]31 }32 ]33}'
1curl -X POST "https://api.tomtom.com/routing/1/calculateRoute/52.50931,13.42936:52.511572,13.416830:52.521860,13.427642:52.50274,13.43872/json?key={Your_API_Key}" -H "Content-type:application/json" -d \2'{3 "legs" : [4 {5 "routeType" : "eco",6 "routeStop": {7 "pauseTimeInSeconds": 6108 }9 },10 {11 "encodedPolyline": "cvn_Io|}pAjDxC",12 "encodedPolylinePrecision": 513 },14 {15 "routeType": "thrilling",16 "windingness": "low",17 "hilliness": "high"18 }19 ]20}'
1curl -X POST "https://api.tomtom.com/routing/1/calculateRoute/52.328416,13.626480:52.36428,13.508614/json?key={Your_API_Key}" -H "Content-type:application/json" -d \2'{3 "legs" : [4 {5 "routeStop": {6 "entryPoints": [7 {8 "latitude": 52.36443,9 "longitude": 13.5092910 },11 {12 "latitude": 52.38909,13 "longitude": 13.5178114 },15 {16 "latitude": 52.37038,17 "longitude": 13.5214918 },19 {20 "latitude": 52.36281,21 "longitude": 13.5103122 }23 ]24 }25 }26 ]27}'
Types
The following data table describes a subset of the types that can be used in the Calculate Route service; the remaining types are listed on the Common Routing Parameters page.
Type | Description |
---|---|
circle | A circle with a center point and a radius (in meters). The radius must
be a positive integer with the maximum value of 135000. |
generalizedLocation | A
|
commaSeparatedFloats | Comma-separated list of floats. |
point | To be used in the POST data only. |
Request headers
There currently are no additional headers specific to the Calculate Route service. The common headers are listed on the Common Routing Parameters page.
Base path parameters
The following table describes a subset of the parameters that can be used in the Calculate Route service. The remaining parameters are listed on the Common Routing Parameters page.
- Required parameters must be used or the call will fail.
- The order of the required parameters is important and must be followed.
- There are no optional parameters.
Required parameters (Base path) | Description |
---|---|
| The service version number. |
| Locations through which the route is calculated. The following constraints apply:
Values: Colon-delimited |
Request parameters
The following table describes a subset of the parameters that can be used in the Calculate Route service; the remaining parameters are listed on the Common Routing Parameters page.
- There are no required parameters. All of the following parameters are optional.
- The order of these optional request parameters is not important.
Optional parameters | Description |
---|---|
| Number of desired alternative routes to be calculated. The value provided:
Default value: |
| When
Note: The |
| All alternative routes returned will follow the reference route (see the
POST data parameters section) from
the origin point of the
0 |
| All alternative routes returned will follow the reference route (see the
POST data parameters section) from
the origin point of the
0 |
| Largest index in the array of
Minimum value: |
| Re-orders the route waypoints with a fast heuristic algorithm to reduce
the overall route length. Note that based on the heuristic nature of the
algorithm, optimality is not guaranteed. Yields best results when used
in conjunction with
false |
| Specifies the representation of the set of routes provided as a response.
Default value:
|
| Specifies whether to return additional travel times using different
types of traffic information (none, historic, live) as well as the
default best-estimate travel time.
Default value: |
| The directional heading of the vehicle, in degrees starting at true North and continuing in a clockwise direction.
Maximum value: |
| Specifies which of the section types is reported in the route response.
Default value:
|
| Include toll payment types in the toll section. If a toll section has different toll payment types in its subsections, this toll section splits into multiple toll sections with the toll payment types. Possible values:
The value Default value: |
| Specifies the hands-free driving capability of the vehicle.
The available hands-free driving data is matched against
|
| Specifies a list of margins in kilowatt-hours (kWh) for computing
Minimum value: |
| Specifies the extended representation of the set of routes provided as a
response.
|
Deprecation notice
March 15, 2024
- Value
tollRoad
for the input parametersectionType
as well as the respective response section typeTOLL_ROAD
have been deprecated.- This section will be withdrawn following a 12 months deprecation period.
- The planned withdrawal date is March 15, 2025.
- Following withdrawal, requests for
toll road section
may result in an HTTP 400 error in the response.We recommend using
toll
andtoll vignette
sections instead.
Further parameters not contained in the preceding table can be specified. A complete list is located in the Common Routing Parameters page. This page also includes the parameters used to define a detailed vehicle consumption model.
Using the detailed consumption model has two consequences for a calculateRoute
request:
- When the parameter
routeType
is set toeco
, then the Consumption Model will be taken into account for route planning. - When
constantSpeedConsumption*
is specified, the response will include eitherfuelConsumptionInLiters
orbatteryConsumptionInkWh
(forvehicleEngineType
set tocombustion
orelectric
, respectively) as an additional field in eachsummary
element.
POST data parameters
The supportingPoints
field is used to reconstruct a route.
This route is then used as a reference route for route reassessment, or calculating zero or more alternative routes.
- There are two options how to pass
supportingPoints
: for the entire route or per leg. - The provided sequence of supporting points is used as input for route reconstruction.
- The
pointWaypoints
field is used to represent waypoints when reconstructing a route. - The alternative routes are calculated between the origin and destination points specified in the
routePlanningLocations
, passing through all intermediate locations specified in thepointWaypoints
field. - If
supportingPointIndexOfOrigin
is not used, and bothminDeviationDistance
andminDeviationTime
are set to zero, then these origin and destination points are expected to be at (or very near) the beginning and end of the reference route, respectively. - The reference route may contain traffic incidents of type
ROAD_CLOSURE
, which are ignored for the calculation of the reference route's travel time and traffic delay.
Using supportingPointIndexOfOrigin
, or setting at least one of minDeviationDistance
or minDeviationTime
to a value greater than zero, has the following consequences:
- The origin point of the
calculateRoute
request must be on (or very near) the input reference route.- If this is not the case, an error is returned.
- However, the origin point does not need to be at the beginning of the input reference route (it can be thought of as the current vehicle position on the reference route).
- If used,
supportingPointIndexOfOrigin
must precisely indicate the location of the origin point in relation to thesupportingPoints
.
- The reference route, returned as the first route in the
calculateRoute
response, will start at the origin point specified in thecalculateRoute
request. The initial part of the input reference route up until the origin point will be excluded from the response. - The values of
minDeviationDistance
andminDeviationTime
determine how far alternative routes will be guaranteed to follow the reference route from the origin point onwards. - The
vehicleHeading
is ignored.
The following table describes a subset of the parameters that can be used in the Calculate Route service; the remaining parameters are listed on the Common Routing Parameters page.
Parameter | Description |
---|---|
| An array of |
| A string in the
encoded polyline format,
representing the array of points to be used as input for route reconstruction. |
| The precision used to encode the polyline in the |
pointWaypoints | An array of
|
pointWaypoint | Contains one |
waypointSourceType | Denotes the source of the waypoint. Possible values:
|
supportingPointIndex | An index into the
|
reassessmentParameterSets | An array of
|
| An array of objects with the parameters for the computation of each leg. If the parameter is such
that it is available for use in the query parameters, then its simultaneous use in the query
parameters and in the POST data is prohibited, and such a request will be returned with an error.
For an example that uses the |
RouteStop
Optional parameters | Description |
---|---|
pauseTimeInSeconds integer | Specifies the waiting time at route stops (including charging time).
It must be 0 in the last leg (the destination). |
entryPoints array of EntryPoint objects | Specifies the entry points for the stop at the end of the current leg. The route to the stop is calculated based on these entry points. Entries with the same location are not allowed. |
EntryPoint
Parameters | Description |
---|---|
latitude float | Latitude of the entry point. Required. |
longitude float | Longitude of the entry point. Required. |
Request content example
Note: for the purpose of brevity the following example may contain fields that are incompatible with others, and in practice only a subset of them will be present in the request.
1{2 "supportingPoints": [3 {"latitude": 52.50930, "longitude": 13.42936},4 {"latitude": 52.50844, "longitude": 13.42859},5 {"latitude": 52.50601, "longitude": 13.42742}6 ],7 "encodedPolyline": "ogcph^_esc_GnxOf`Nvmn@fzU",8 "encodedPolylinePrecision": 7,9 "pointWaypoints": [10 {11 "waypointSourceType": "USER_DEFINED",12 "supportingPointIndex": 013 },14 {15 "waypointSourceType": "USER_DEFINED",16 "supportingPointIndex": 117 }18 ],19 "avoidVignette": [20 "AUS",21 "CHE"22 ],23 "reassessmentParameterSets": [24 {25 "auxiliaryPowerInkW": 0.326 }27 ],28 "legs": [29 {30 "routeType": "eco",31 "routeStop": {32 "pauseTimeInSeconds": 610,33 "entryPoints": [34 {35 "latitude": 52.50601,36 "longitude": 13.4274237 }38 ]39 }40 },41 {42 },43 {44 "routeType": "short"45 }46 ]47}
Response data
Response headers
There currently are no additional response headers specific to the Calculate Route service; the common response headers are listed on the Common Routing Parameters page.
Response codes
There currently are no additional response codes specific to the Calculate Route service; the common response codes are listed on the Common Routing Parameters page.
Example of a successful response
The routes in a successful response are listed in the order of decreasing optimality. In case the request includes the supporting points supportingPoints
field, the response will specify the reconstructed route before any alternative routes.
Note: for the purpose of brevity the following example contains all the fields described in this document. In practice some fields are incompatible with others, and only a subset of them will be present in the response depending on the given request parameters.
A response could look like this: (Note: Comments are contained within ... ...
.)
Response body - JSON
1{2 "formatVersion": "0.0.12",3 "routes": [4 {5 "summary": {6 "lengthInMeters": 1147,7 "travelTimeInSeconds": 161,8 "trafficDelayInSeconds": 15,9 "trafficLengthInMeters": 147,10 "departureTime": "2015-04-02T15:01:57+02:00",11 "arrivalTime": "2015-04-02T15:04:38+02:00",12 "noTrafficTravelTimeInSeconds": 120,13 "historicTrafficTravelTimeInSeconds": 157,14 "liveTrafficIncidentsTravelTimeInSeconds": 161,15 "batteryConsumptionInkWh": 0.155,16 "deviationDistance": 1735,17 "deviationTime": 127,18 "deviationPoint": {19 "latitude": 52.50904,20 "longitude": 13.4291221 },22 "reachableRouteOffsets": [23 {24 "chargeMarginInkWh": 0.0,25 "routeOffsetInMeters": 1147,26 "point": {27 "latitude": 52.51565,28 "longitude": 13.4397929 },30 "pointIndex": 5031 }32 ]33 },34 "routeReassessments": [35 {36 "batteryConsumptionInkWh": 0.2,37 "reachableRouteOffsets": [38 {39 "chargeMarginInkWh": 0.0,40 "routeOffsetInMeters": 1147,41 "point": {42 "latitude": 52.51565,43 "longitude": 13.4397944 },45 "pointIndex": 5046 }47 ]48 }49 ],50 "legs": [51 {52 "summary": {53 "lengthInMeters": 108,54 "travelTimeInSeconds": 11,55 "trafficDelayInSeconds": 0,56 "trafficLengthInMeters": 0,57 "departureTime": "2015-04-02T15:01:57+02:00",58 "arrivalTime": "2015-04-02T15:02:07+02:00",59 "noTrafficTravelTimeInSeconds": 10,60 "historicTrafficTravelTimeInSeconds": 11,61 "liveTrafficIncidentsTravelTimeInSeconds": 11,62 "batteryConsumptionInkWh": 0.1,63 "originalWaypointIndexAtEndOfLeg": 0,64 "userDefinedPauseTimeInSeconds": 1020,65 "entryPointIndexAtEndOfLeg": 066 },67 "points": [68 {69 "latitude": 52.50931,70 "longitude": 13.4293771 },72 {73 "latitude": 52.50904,74 "longitude": 13.4291275 },76 ...further points...77 ],78 "encodedPolyline": "evn_Iq|}pAt@p@",79 "encodedPolylinePrecision": 580 },81 ...further legs...82 ],83 "progress": [84 {85 "pointIndex": 0,86 "travelTimeInSeconds": 0,87 "distanceInMeters": 0,88 "batteryConsumptionInkWh": 089 },90 {91 "pointIndex": 5,92 "travelTimeInSeconds": 7,93 "distanceInMeters": 74,94 "batteryConsumptionInkWh": 0.00295 },96 ...further progresses...97 {98 "pointIndex": 87,99 "travelTimeInSeconds": 161,100 "distanceInMeters": 1147,101 "batteryConsumptionInkWh": 0.155102 }103 ],104 "sections": [105 {106 "startPointIndex": 0,107 "endPointIndex": 3,108 "sectionType": "TRAVEL_MODE"109 "travelMode": "other"110 },111 {112 "startPointIndex": 3,113 "endPointIndex": 7,114 "sectionType": "TRAVEL_MODE"115 "travelMode": "car"116 },117 {118 "startPointIndex": 2,119 "endPointIndex": 3,120 "sectionType": "TOLL",121 "tollPaymentTypes": [122 "CREDIT_CARD",123 "DEBIT_CARD"124 ]125 },126 {127 "startPointIndex": 4,128 "endPointIndex": 5,129 "sectionType": "TOLL",130 "tollPaymentTypes": [131 "ETC_TRANSPONDER"132 ]133 },134 {135 "startPointIndex": 2,136 "endPointIndex": 5,137 "sectionType": "TOLL_ROAD"138 },139 {140 "startPointIndex": 3,141 "endPointIndex": 4,142 "sectionType": "TUNNEL"143 },144 {145 "startPointIndex": 0,146 "endPointIndex": 1,147 "sectionType": "PEDESTRIAN"148 },149 {150 "startPointIndex": 3,151 "endPointIndex": 4,152 "sectionType": "TRAFFIC",153 "simpleCategory": "JAM",154 "effectiveSpeedInKmh": 40,155 "delayInSeconds": 158,156 "magnitudeOfDelay": 1,157 "tec": {158 "effectCode": 4,159 "causes": [160 {161 "mainCauseCode": 1162 },163 {164 "mainCauseCode": 26,165 "subCauseCode": 2166 }167 ]168 }169 },170 {171 "startPointIndex": 5,172 "endPointIndex": 7,173 "sectionType": "HANDS_FREE_DRIVING",174 "handsFreeDrivingSpeedInKmh": 100175 },176 ...further sections...177 ]178 }179 ...further routes...180 ],181 "optimizedWaypoints": [182 {183 "providedIndex": 0,184 "optimizedIndex": 1185 },186 {187 "providedIndex": 1,188 "optimizedIndex": 0189 }190 ...further optimized waypoints...191 ],192 "report": {193 "effectiveSettings": [194 {195 "key": "avoid",196 "value": "motorways"197 },198 {199 "key": "computeBestOrder",200 "value": "true"201 },202 ...further settings...203 ]204 }205}
Example of an error response
If an error occurs, the response contains the description of the error. The error response would look like this:
1{2 "formatVersion": "0.0.12",3 "detailedError": {4 "code": "<error code>",5 "message": "Error message"6 }7}
Special behavior for content type JSONP
When the contentType=jsonp
is used, the returned HTTP status code is always OK (200
). Reference: JSONP - JSON with Padding
- This ensures that the
jsonp
callback will be invoked on the client side regardless of the outcome of the request. - In order to provide the client with the actual status of the request, a field called
statusCode
is added to the response body.
Currently, the preceding statement is not true for certain types of errors described below.
Special behavior of certain types of errors - authentication errors, request quota related errors, etc.
- For those errors the HTTP status code is returned as normal (
400
,500
, ...) and the response content type istext/xml
independent from the request content type. - For those errors, the content does not follow the documented format for error responses.
- Note: This imperfection should not cause problems during normal use of the API.
Structure of a successful response
Note that some names are implicitly defined. One example is the name leg
when describing legs
as an array of leg
objects.
JSON field | Description |
---|---|
| The format version. |
| The request may return more than one route. |
| The summary of a route, or of a route leg. |
|
|
| A description of a part of a route, comprised of an array of points.
|
| Each object in the array is a location on the surface of the globe
defined by its |
| A string in the
encoded polyline format,
representing the array of points describing a part of a route. |
| The precision used to encode the polyline in the |
| This array is available inside
|
| Index of the first point (offset |
| Index of the last point (offset |
| A 3-character ISO 3166-1 alpha-3 country code. |
| Type of the incident.
|
| The effective speed of the incident in km/h, averaged over its entire length. |
| The delay in seconds caused by the incident. |
| The magnitude of delay caused by the incident.
These values correspond to the values of the response field
|
| Details of the traffic event. It uses the definitions in the
TPEG2-TEC
standard. It can contain the |
| The effect on the traffic flow. Contains a value in the
|
| Each object in the array describes one cause of the traffic event.
|
| The main cause of the traffic event. Contains a value in the
|
| The sub-cause of the traffic event. Contains a value in the sub cause
table defined by the |
| The route or leg length in meters. |
| The estimated travel time in seconds. Note that even when
|
| The delay in seconds compared to free-flow conditions according to real-time traffic information. |
| The portion of the route or leg, expressed in meters, that is affected by traffic events which cause the delay. |
| The estimated travel time in seconds calculated as if there are no
delays on the route due to traffic conditions (e.g., congestion).
Included if requested using the |
| The estimated travel time in seconds calculated using time-dependent
historic traffic data. Included if requested using the
|
| The estimated travel time in seconds calculated using real-time speed
data. Included if requested using the |
| The distance (in meters) from the origin point of the
|
| The travel time (in seconds) from the origin point of the
|
| The coordinates of the first point following the origin point of the
|
| The estimated fuel consumption in liters using the Combustion Consumption Model. Included if:
|
| The estimated electric energy consumption in kilowatt hours (kWh) using the Electric Consumption Model.
|
| This field is included if
|
| A description of an optimized sequence of waypoints. It shows the index from the user-provided waypoint sequence for the original and optimized list. For instance, a response:
means that:
Since the index starts by |
| The estimated departure time for the route or leg. Specified as a
|
| The estimated arrival time for the route or leg. Specified as a
|
| Each object in the array represents an effective parameter or a data
used when calling the Calculate Route API. Each object has fields
|
| The original HTTP status code as listed in the response codes (note:
included for content type |
| The reason for a better route proposal. Can currently be:
This field is included in the response only if the route is requested
with |
| This field is included if
A
|
| The index of the waypoint at the end of the leg that corresponds to:
This field is not provided if the end of the leg corresponds to the destination or to a new charging waypoint that is not present in the request. |
| Contains the value of |
| Identifies the entry point that was used for the route at the end of the leg. |
| The base URL of the Road Shields service to fetch the road shield atlas
and metadata resources.
We recommend to cache the sprite atlas ( |
| The speed in km/h for the hands-free section. |
Structure of the section object
Each section
object contains additional information about parts of a route. A section
object contains at least the fields startPointIndex
, endPointIndex
, and sectionType
.
JSON field | Description | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Contains the response section type.
| ||||||||||||||||||||||||||||||||||||||
| This field is either set to the value given to the request parameter
| ||||||||||||||||||||||||||||||||||||||
| The Possible toll payment types are:
|
Structure of an error response
JSON field | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| This object provides a representation of the error message. It contains
a
| ||||||||||||||||||||
| The original HTTP status code as listed in response codes (included for
content type |
Structure of a road shield reference object
JSON field | Description | ||||||
---|---|---|---|---|---|---|---|
| This object describes a single road shield reference. It contains the following fields:
|