Parameters for Input Data

GetTravelDirections takes route points, which include starting and ending latitudes and longitudes as input. The following table provides information on the format and layout of the input.

Note: If you intend to interact with the GetTravelDirections service, note that it is only available as a web service. The Get Travel Directions service is not available through the Java, C++, C, .NET, or COM APIs.
Table 1. GetTravel Directions Input Data

Parameter

Format

Description

RoutePoints

List

A schema containing the latitude string and the longitude string.

For information on creating a process list, see the Spectrum OnDemand Dataflow Designer's Guide.

Language

String

Specifies the language in which GetTravelDirections should return directions. Specify one of the Travel direction language codes.

Note: An entry in this input field will override an entry in the Default Language option.

TravelDirectionTransientUpdate

List

A schema containing the update types for the transient update. Transient updates are updates made on a request that only apply to that particular request. Transient updates are similar to Persistent updates, except that Transient updates are only for a particular request and Persistent updates are for all the requests. You have the ability to set a speed for a point, a segment id, or a road class, as well as the ability to update the road class for a segment (specified by the segment id).

For transient update options and example, see GetTravelDirections_TransientOptions.dita.

TollRoad Boolean This feature specifies whether you want a route with or without a toll road. This is a Boolean type parameter. The default vale is False. If you set the value of TollRoad to True, the response contains a route without any toll roads. If the value of TollRoad is set to False, the route includes toll roads.

Travel direction language codes

sq
Return directions in Albanian.
zh_CN
Return directions in Chinese.
zh_TW
Return directions in Chinese (Taiwan).
hr
Return directions in Croatian.
cs
Return directions in Czech.
da
Return directions in Danish.
nl
Return directions in Dutch.
en
Return directions in English. Default
en-US
Return directions in American English.
et
Return directions in Estonian.
fi
Return directions in Finnish.
fr
Return directions in French.
de
Return directions in German.
hu
Return directions in Hungarian.
it
Return directions in Italian.
ja
Return directions in Japanese.
lv
Return directions in Latvian.
lt
Return directions in Lithuanian.
no
Return directions in Norwegian.
pt
Return directions in Portuguese.
ro
Return directions in Romanian.
sk
Return directions in Slovak.
sl
Return directions in Slovenian.
es
Return directions in Spanish.
sv
Return directions in Swedish.
ru
Return directions in Russian.
tr
Return directions in Turkish.