Entur Developer
Open
GraphQL

ViaLocationInput

input

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.

Fields

name·String

The name of the location. This is pass-through information and is not used in routing.

place·String

The id of an element in the OTP model. Currently supports Quay, StopPlace, multimodal StopPlace, and GroupOfStopPlaces.

coordinates·InputCoordinates

Coordinates for the location. This can be used alone or as fallback if the place id is not found.

minSlack·Duration= "PT5M"

The minimum time the user wants to stay in the via location before continuing his journey

maxSlack·Duration= "PT1H"

The maximum time the user wants to stay in the via location before continuing his journey

Schema Context

Accepted By1
Did you find what you were looking for?