Get a trip as itinerary
Query parameters
trip identifier (e.g. from an itinerary leg or stop event)
Optional. Include intermediate stops where passengers can not alight/board according to schedule.
Controls if legGeometry is returned for transit legs.
The default value is true.
Optional. Default is true.
Controls if a trip with stay-seated transfers is returned:
- joinInterlinedLegs=false: as several legs (full information about all trip numbers, headsigns, etc.). Legs that do not require a transfer (stay-seated transfer) are marked with interlineWithPreviousLeg=true.
- joinInterlinedLegs=true (default behavior): as only one joined leg containing all stops
language tags as used in OpenStreetMap / GTFS (usually BCP-47 / ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
Response
the requested trip as itinerary
Changes
Changed in 9 of the 52 revisions of this API.11212
- ○
added the optional property
legs/items/reservationto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
HGVenum value to thelegs/items/from/modes/items/response property for the response status200response-property-enum-value-added
- ●
added the new
HGVenum value to thelegs/items/intermediateStops/items/modes/items/response property for the response status200response-property-enum-value-added
- ●
added the new
HGVenum value to thelegs/items/moderesponse property for the response status200response-property-enum-value-added
- ●
added the new
HGVenum value to thelegs/items/to/modes/items/response property for the response status200response-property-enum-value-added
- ●
added the new
HGVenum value to thelegs/items/tripFrom/modes/items/response property for the response status200response-property-enum-value-added
- ●
added the new
HGVenum value to thelegs/items/tripTo/modes/items/response property for the response status200response-property-enum-value-added
- ●
- ○
added the optional property
legs/items/agencyFareUrlto the response with the200statusresponse-optional-property-added
- ○
added the optional property
legs/items/ticketUrlsto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
legs/items/steps/items/fromOsmNodeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
legs/items/steps/items/toOsmNodeto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
legs/items/from/stopCodeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
legs/items/intermediateStops/items/stopCodeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
legs/items/to/stopCodeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
legs/items/tripFrom/stopCodeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
legs/items/tripTo/stopCodeto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
SPECIAL_EVENTenum value to thelegs/items/alerts/items/causeresponse property for the response status200response-property-enum-value-added
- ●
added the new
SPECIAL_EVENTenum value to thelegs/items/from/alerts/items/causeresponse property for the response status200response-property-enum-value-added
- ●
added the new
SPECIAL_EVENTenum value to thelegs/items/intermediateStops/items/alerts/items/causeresponse property for the response status200response-property-enum-value-added
- ●
added the new
SPECIAL_EVENTenum value to thelegs/items/to/alerts/items/causeresponse property for the response status200response-property-enum-value-added
- ●
added the new
SPECIAL_EVENTenum value to thelegs/items/tripFrom/alerts/items/causeresponse property for the response status200response-property-enum-value-added
- ●
added the new
SPECIAL_EVENTenum value to thelegs/items/tripTo/alerts/items/causeresponse property for the response status200response-property-enum-value-added
- ●
- ○
added the required property
idto the response with the200statusresponse-required-property-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 30 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲