Entur Developer
Open
GraphQL

Inputs

Input types define structured arguments passed to queries and mutations. They group related fields into a single object, useful for complex inputs. Learn more

BikePreferencesInput
Bicycle routing preferences.
DatedServiceJourneyReference
Identifies a specific service journey on a specific service date. Exactly one of the fields must be set.
EstimatedCallFilterInput
A collection of selectors for what estimated calls should be included / excluded. At least one of select or not must be provided. The select is always applied first, then not. If only not is present, the exclude is applied to the existing set of estimated calls.
EstimatedCallSelectInput
A selector for filter allow-list / exclude-list. At least one field must be provided. An estimated call matches a selector if it matches all fields. Within each field, a call matches if it matches any of the listed values.
InputBanned
Filter trips by disallowing lines involving certain elements. If both lines and authorities are specified, only one must be valid for each line to be banned. If a line is both banned and whitelisted, it will be counted as banned.
InputCoordinates
Input type for coordinates in the WGS84 system
InputPlaceIds
InputWhiteListed
Filter trips by only allowing lines involving certain elements. If both lines and authorities are specified, only one must be valid for each line to be used. If a line is both banned and whitelisted, it will be counted as banned.
ItineraryFilters
Parameters for the OTP Itinerary Filter Chain. These parameters SHOULD be configured on the server side and should not be used by the client. They are made available here to be able to experiment and tune the server.
Location
Input format for specifying a location through either a place reference (id), coordinates or both. If both place and coordinates are provided the place ref will be used if found, coordinates will only be used if place is not known. Alternatively, a serviceJourneyLocation can be used to start the search on-board a vehicle,or pinpoint a boarding on a specific dated service journey to start routing.
Modes
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.
PassThroughPoint
Defines one point which the journey must pass through.
PenaltyForStreetMode
A combination of street mode and penalty for time and cost.
PointInJourneyPatternReference
Identifies a point in a journey pattern by stop location ID, optionally with an aimed departure time for disambiguation.
RelaxCostInput
A relax-cost is used to increase the limit when comparing one cost to another cost. This is used to include more results into the result. A ratio=2.0 means a path (itinerary) with twice as high cost as another one, is accepted. A constant=$300 means a "fixed" constant is added to the limit. A {ratio=1.0, constant=0} is said to be the NORMAL relaxed cost - the limit is the same as the cost used to calculate the limit. The NORMAL is usually the default. We can express the RelaxCost as a function f(t) = constant + ratio * t. f(t)=t is the NORMAL function.
ScooterPreferencesInput
Scooter routing preferences.
ServiceJourneyLocationInput
Identifies a specific dated service journey and a specific point within it.
ServiceJourneyOnServiceDate
Identifies a service journey by service journey ID and service date.
StreetModeDurationInput
A combination of street mode and corresponding duration
StreetModes
Input format for specifying which modes will be allowed for this search. If this element is not present, it will default to all to foot.
TransitGeneralizedCostFilterParams
TransportModeSlack
Used to specify board and alight slack for a given modes.
TransportModes
TriangleFactors
How much the factors safety, slope and distance are weighted relative to each other when routing bicycle legs. In total all three values need to add up to 1.
TripFilterInput
A collection of selectors for what lines/trips should be included in / excluded from search
TripFilterSelectInput
A list of selectors for filter allow-list / exclude-list. An empty list means that everything is allowed. A trip/line will match with selectors if it matches with all non-empty lists. The select is always applied first, then not. If only not not is present, the exclude is applied to the existing set of lines.
TripPassThroughViaLocationInput
One of the listed stop locations must be visited on-board a transit vehicle or the journey must alight or board at the location.
TripViaLocationInput
A via-location is used to specifying a location as an intermediate place the router must route through. The via-location is either a pass-through-location or a visit-via-location.
TripVisitViaLocationInput
A visit-via-location is a physical visit to one of the stop locations or coordinates listed. An on-board visit does not count, the traveler must alight or board at the given stop for it to to be accepted. To visit a coordinate, the traveler must walk (bike or drive) to the closest point in the street network from a stop and back to another stop to join the transit network.
ViaLocationInput
Input format for specifying a location through either a place reference (id), coordinates or both. If both place and coordinates are provided the place ref will be used if found, coordinates will only be used if place is not known. The location also contain information about the minimum and maximum time the user is willing to stay at the via location.
ViaSegmentInput
Did you find what you were looking for?