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.
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 Technology Platform Dataflow Designer's Guide. |
Language |
String |
Specifies the language in which GetTravelDirections should return directions. One of the following:
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. |