Reconstruct an itinerary from an itinerary ID.
Experimental (API might change without prior notice and without API version bump). Only supports walking at start/end or station-to-station itineraries.
All parameters mirror those of the plan endpoint - see the plan endpoint for their descriptions.
Query parameters
Optional. Default is WALK. Modes allowed for the first (access) mile when reconstructing leg alternatives. Should match the preTransitModes of the original plan request.
Optional. Default is WALK. Modes allowed for the last (egress) mile when reconstructing leg alternatives. Should match the postTransitModes of the original plan request.
Different accessibility profiles for pedestrians.
Average speed for pedestrian routing in meters per second
Average speed for pedestrian routing on the first/last mile.
Average speed for bike routing in meters per second
Average speed for bike routing on the first/last mile.
Different elevation cost profiles for street routing. Using a elevation cost profile will prefer routes with a smaller incline and smaller difference in elevation, even if the routed way is longer.
- NONE: Ignore elevation data for routing. This is the default behavior
- LOW: Add a low penalty for inclines. This will favor longer paths, if the elevation increase and incline are smaller.
- HIGH: Add a high penalty for inclines. This will favor even longer paths, if the elevation increase and incline are smaller.
Elevation cost profile for first/last-mile street routing.
Maximum matching distance in meters to the street network.
Is limited by server config variable max_max_matching_distance, larger values are capped to this limit.
Maximum time in seconds for the first (access) street leg.
Maximum time in seconds for the last (egress) street leg.
Allowed rental form factors for the first (access) leg.
Allowed rental form factors for the last (egress) leg.
Allowed rental propulsion types for the first (access) leg.
Allowed rental propulsion types for the last (egress) leg.
Allowed rental providers for the first (access) leg.
Allowed rental providers for the last (egress) leg.
Allowed rental provider groups for the first (access) leg.
Allowed rental provider groups for the last (egress) leg.
Ignore rental return constraints on the first (access) leg.
Ignore rental return constraints on the last (egress) leg.
Response
reconstructed itinerary
Changes
Changed in 11 of the 52 revisions of this API.21238
- ○
added the new optional
queryrequest parameternoCompulsoryReservationnew-optional-request-parameter
- ○
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 enum value
HGVto the propertyitems/of thequeryrequest parameterpostTransitModesrequest-parameter-property-enum-value-added
- ○
added the enum value
HGVto the propertyitems/of thequeryrequest parameterpreTransitModesrequest-parameter-property-enum-value-added
- ○
added the enum value
HGVto the propertyitems/of thequeryrequest parametertransitModesrequest-parameter-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
- ○
- ▲
for the
queryrequest parametermaxMatchingDistance, default value was changed from25to250request-parameter-default-value-changed
- ▲
- ○
added the new optional
queryrequest parametercyclingSpeednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterelevationCostsnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterignorePostTransitRentalReturnConstraintsnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterignorePreTransitRentalReturnConstraintsnew-optional-request-parameter
- ○
added the new optional
queryrequest parametermaxMatchingDistancenew-optional-request-parameter
- ○
added the new optional
queryrequest parametermaxPostTransitTimenew-optional-request-parameter
- ○
added the new optional
queryrequest parametermaxPreTransitTimenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpedestrianSpeednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpostTransitModesnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpostTransitRentalFormFactorsnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpostTransitRentalPropulsionTypesnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpostTransitRentalProviderGroupsnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpostTransitRentalProvidersnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpreTransitModesnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpreTransitRentalFormFactorsnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpreTransitRentalPropulsionTypesnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpreTransitRentalProviderGroupsnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterpreTransitRentalProvidersnew-optional-request-parameter
- ○
- ○
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 optional
queryrequest parameterpedestrianProfilenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterrequireBikeTransportnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterrequireCarTransportnew-optional-request-parameter
- ○
added the new optional
queryrequest parametertransitModesnew-optional-request-parameter
- ○
added the new optional
queryrequest parameteruseRoutedTransfersnew-optional-request-parameter
- ○
- ●
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
- ●
- ○
endpoint added
endpoint-added
- ○