Entur Developer
Open
GraphQL

serviceJourney

query

Get a single service journey based on its id

Arguments

Return Type

·ServiceJourney
id·ID!
line·Line!
activeDates·[Date!]
transportMode·TransportMode
transportSubmode·TransportSubmode
publicCode·String

Publicly announced code for service journey, differentiating it from other service journeys for the same line.

privateCode·String

For internal use by operators.

operator·Operator
directionType·DirectionType
serviceAlteration·ServiceAlterationdeprecated
wheelchairAccessible·WheelchairBoarding

Whether service journey is accessible with wheelchair.

bikesAllowed·BikesAllowed

Whether bikes are allowed on service journey.

The vehicle and vehicle type aimed to operate the service journey.

journeyPattern·JourneyPattern

JourneyPattern for the service journey, according to scheduled data. If the ServiceJourney is not included in the scheduled data, null is returned.

quays·[Quay!]!(2 args)

Quays visited by service journey, according to scheduled data. If the ServiceJourney is not included in the scheduled data, an empty list is returned.

Returns scheduled passing times only - without real-time-updates, for realtime-data use 'estimatedCalls'

estimatedCalls·[EstimatedCall!]!(1 arg)

Returns scheduled passingTimes for this ServiceJourney for a given date, updated with real-time-updates (if available). NB! This takes a date as argument (default=today) and returns estimatedCalls for that date and should only be used if the date is known when creating the request. For fetching estimatedCalls for a given trip.leg, use leg.serviceJourneyEstimatedCalls instead.

Detailed path travelled by service journey. Not available for flexible trips.

notices·[Notice!]!

Get all situations active for the service journey.

bookingArrangements·BookingArrangementdeprecated

Booking arrangements for flexible services.

isReplacement·Boolean!

Is this a replacement ServiceJourney? In NeTEx/SIRI-sourced data this can be set by either a replacement submode, or a replacement link in a DatedServiceJourney. Only true for GTFS-sourced data if set by the extended GTFS type.

replacementsExist·Boolean!

Are there replacement DatedServiceJourneys for this ServiceJourney?

Did you find what you were looking for?