RouteSummaryOutput interface

Summary object

Properties

arrivalTime

The estimated arrival time for the route or leg.

departureTime

The estimated departure time for the route or leg.

lengthInMeters

Length In Meters property

trafficDelayInSeconds

Estimated delay in seconds caused by the real-time incident(s) according to traffic information. For routes planned with departure time in the future, delays is always 0. To return additional travel times using different types of traffic information, parameter computeTravelTimeFor=all needs to be added.

travelTimeInSeconds

Estimated travel time in seconds property that includes the delay due to real-time traffic. Note that even when traffic=false travelTimeInSeconds still includes the delay due to traffic. If DepartAt is in the future, travel time is calculated using time-dependent historic traffic data.

Property Details

arrivalTime

The estimated arrival time for the route or leg.

arrivalTime: string

Property Value

string

departureTime

The estimated departure time for the route or leg.

departureTime: string

Property Value

string

lengthInMeters

Length In Meters property

lengthInMeters: number

Property Value

number

trafficDelayInSeconds

Estimated delay in seconds caused by the real-time incident(s) according to traffic information. For routes planned with departure time in the future, delays is always 0. To return additional travel times using different types of traffic information, parameter computeTravelTimeFor=all needs to be added.

trafficDelayInSeconds: number

Property Value

number

travelTimeInSeconds

Estimated travel time in seconds property that includes the delay due to real-time traffic. Note that even when traffic=false travelTimeInSeconds still includes the delay due to traffic. If DepartAt is in the future, travel time is calculated using time-dependent historic traffic data.

travelTimeInSeconds: number

Property Value

number