Output

Get Travel Directions returns the following fields:

Table 1. Get Travel Directions Outputs

Field Name

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.

null
Success
F
Failure

Status.Code

String

Reason for failure, if there is one. One of the following:

  • InsufficientInputData(missing lat/lon)
  • MalformedInputData(wrong input format)
  • InputOutOfRange (input is out of range)
  • EngineError (engine generated error)

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.