Response
GetTravelDirections returns the following fields:
Response Element |
Format |
Description |
---|---|---|
Distance |
String |
The distance of each segment in the route. |
DistanceUnits |
String |
The unit of measurement for distance. |
Format |
String |
Value of the format used to generate directions. |
Language |
String |
Language of the directions. |
RouteDirections |
List |
Turn-by-turn directions for the route. |
RouteGeometry |
Geometry object |
A geometry object containing the coordinates of each point in the route. For more information, see What is Route Geometry? . |
Status |
String |
Reports the success or failure of the match attempt.
|
Status.Code |
String |
Reason for failure, if there is one. One of the following:
|
Status.Description |
String |
Description of failure indicated in Status.Code. |
Time |
String |
Total time it takes to follow the route in minutes. |
TimeUnits |
String |
The unit of measurement for time. |