timetable

Reconstruct an itinerary from a protobuf-JSON itinerary identifier.

Experimental (API might change without prior notice and without API version bump). Only supports walking at start/end or station-to-station itineraries.

All RefreshItineraryPostBody fields mirror the parameters of the plan endpoint - see the plan endpoint for their descriptions.

post/api/v6/refresh-itinerary

Request body

Response

reconstructed itinerary

durationinteger required

journey duration in seconds

startTimestring date-time required

journey departure time

endTimestring date-time required

journey arrival time

transfersinteger required

The number of transfers this trip has.

idstring required

Experimental (format might change). Opaque itinerary identifier. Pass it as itineraryId to refresh-itinerary endpoint for reconstruction using the new schedule/realtime data.

Changes

Changed in 10 of the 52 revisions of this API.12517

    • added the optional property legs/items/reservation to the response with the 200 status

      response-optional-property-added

  • dbfe4b7f2bab61See the full diff
    • added the new HGV enum value to the legs/items/from/modes/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new HGV enum value to the legs/items/intermediateStops/items/modes/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new HGV enum value to the legs/items/mode response property for the response status 200

      response-property-enum-value-added

    • added the new HGV enum value to the legs/items/to/modes/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new HGV enum value to the legs/items/tripFrom/modes/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new HGV enum value to the legs/items/tripTo/modes/items/ response property for the response status 200

      response-property-enum-value-added

    • added the new HGV enum value to the request property id/legs/items/mode

      request-property-enum-value-added

    • added the optional property legs/items/agencyFareUrl to the response with the 200 status

      response-optional-property-added

    • added the optional property legs/items/ticketUrls to the response with the 200 status

      response-optional-property-added

    • added the optional property legs/items/steps/items/fromOsmNode to the response with the 200 status

      response-optional-property-added

    • added the optional property legs/items/steps/items/toOsmNode to the response with the 200 status

      response-optional-property-added

    • removed the request property detailedLegs

      request-property-removed

    • removed the request property detailedTransfers

      request-property-removed

    • removed the request property joinInterlinedLegs

      request-property-removed

    • removed the request property language

      request-property-removed

    • removed the request property numLegAlternatives

      request-property-removed

    • removed the request property pedestrianProfile

      request-property-removed

    • removed the request property requireBikeTransport

      request-property-removed

    • removed the request property requireCarTransport

      request-property-removed

    • removed the request property requireDisplayNameMatch

      request-property-removed

    • removed the request property transitModes

      request-property-removed

    • removed the request property useRoutedTransfers

      request-property-removed

    • removed the request property withFares

      request-property-removed

    • removed the request property withScheduledSkippedStops

      request-property-removed

    • added the optional property legs/items/from/stopCode to the response with the 200 status

      response-optional-property-added

    • added the optional property legs/items/intermediateStops/items/stopCode to the response with the 200 status

      response-optional-property-added

    • added the optional property legs/items/to/stopCode to the response with the 200 status

      response-optional-property-added

    • added the optional property legs/items/tripFrom/stopCode to the response with the 200 status

      response-optional-property-added

    • added the optional property legs/items/tripTo/stopCode to the response with the 200 status

      response-optional-property-added

    • added the new optional request property pedestrianProfile

      new-optional-request-property

    • added the new optional request property requireBikeTransport

      new-optional-request-property

    • added the new optional request property requireCarTransport

      new-optional-request-property

    • added the new optional request property transitModes

      new-optional-request-property

    • added the new optional request property useRoutedTransfers

      new-optional-request-property

    • added the new SPECIAL_EVENT enum value to the legs/items/alerts/items/cause response property for the response status 200

      response-property-enum-value-added

    • added the new SPECIAL_EVENT enum value to the legs/items/from/alerts/items/cause response property for the response status 200

      response-property-enum-value-added

    • added the new SPECIAL_EVENT enum value to the legs/items/intermediateStops/items/alerts/items/cause response property for the response status 200

      response-property-enum-value-added

    • added the new SPECIAL_EVENT enum value to the legs/items/to/alerts/items/cause response property for the response status 200

      response-property-enum-value-added

    • added the new SPECIAL_EVENT enum value to the legs/items/tripFrom/alerts/items/cause response property for the response status 200

      response-property-enum-value-added

    • added the new SPECIAL_EVENT enum value to the legs/items/tripTo/alerts/items/cause response property for the response status 200

      response-property-enum-value-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