RouteSummaryOutput interface
Summary object
Properties
arrival |
The estimated arrival time for the route or leg. Time is in UTC. |
departure |
The estimated departure time for the route or leg. Time is in UTC. |
length |
Length In Meters property |
traffic |
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. |
travel |
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. Time is in UTC.
arrivalTime: string
Property Value
string
departureTime
The estimated departure time for the route or leg. Time is in UTC.
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
Azure SDK for JavaScript