Entur Developer
Open
GraphQL

refetchTripPattern

query

Get an updated version of a trip pattern with realtime changes applied.

deprecated

Use tripPatternByLegIds instead.

Arguments

from·Location

The start location, if null the trip pattern will start with the first provided leg

The destination location, if null the trip pattern will end with the last provided leg

legs·[ID!]!

A list of legIds describing the trip pattern. At least one leg is required.

wheelchairAccessible·Boolean= false

Whether the trip must be wheelchair accessible. Supported for the street part of the search.

modes·Modes

The set of access/egress modes to be used for this search. The direct and transit modes are ignored

walkSpeed·Float= 1.3

The maximum walk speed along streets, in meters per second.

walkReluctance·Float= 4

Walk cost is multiplied by this value. This is the main parameter to use for limiting walking.

boardSlackDefault·Int= 0

The boardSlack is the minimum extra time to board a public transport vehicle. This is the same as the 'minimumTransferTime', except that this also applies to to the first transit leg in the trip. This is the default value used, if not overridden by the 'boardSlackList'.

boardSlackList·[TransportModeSlack]

List of boardSlack for a given set of modes. Defaults: [air : PT35M]

alightSlackDefault·Int= 0

The alightSlack is the minimum extra time after exiting a public transport vehicle. This is the default value used, if not overridden by the 'alightSlackList'.

alightSlackList·[TransportModeSlack]

List of alightSlack for a given set of modes. Defaults: [air : PT15M]

maxAccessEgressDurationForMode·[StreetModeDurationInput]!= [{streetMode: bike_rental, duration: "PT20M"}, {streetMode: scooter_rental, duration: "PT20M"}, {streetMode: car, duration: "PT3H"}]

Maximum duration for access/egress for street searches per respective mode. Cannot be higher than default value. This is a performance optimisation parameter, avoid using it to limit the search.

tripPattern·TripPattern

The refetched trip pattern

Did you find what you were looking for?