Entur Developer
Open
GraphQL

Modes

input

Input format for specifying which modes will be allowed for this search. If this element is not present, it will default to accessMode/egressMode/directMode of foot and all transport modes will be allowed.

Fields

accessMode·StreetMode

The mode used to get from the origin to the access stops in the transit network (first-mile). If the element is not present or null,only transit that can be immediately boarded from the origin will be used.

egressMode·StreetMode

The mode used to get from the egress stops in the transit network to the destination (last-mile). If the element is not present or null, only transit that can immediately arrive at the destination will be used.

directMode·StreetMode

The mode used to get from the origin to the destination directly, without using the transit network. If the element is not present or null,direct travel without using transit will be disallowed.

transportModes·[TransportModes]

The allowed modes for the transit part of the trip. Use an empty list to disallow transit for this search. If the element is not present or null, it will default to all transport modes.

Did you find what you were looking for?