Search replacement solutions for the legs of an issued train booking and stream them as Server-Sent Events, using the same projection as POST /v1/trains/search. By default the booked stations are kept and only the date and time move (change_datetime); a journey that names departureStationId and arrivalStationId changes its stations too (change_itinerary, only on a booking whose GET .../operations lists it).
journeys name the legs to move (a group exactly as changeableLegIds lists it on GET .../operations) and the requested departure. Solutions departing before the requested time that day are not returned. The stream ends with event: done.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
200SSE stream of replacement train solutions
401Missing or invalid authentication
404Booking not found
409The operator does not allow changing the booking now
410The change search expired; search again
422The selection does not fit the booking or the operator's rules (INVALID_CHANGE_SELECTION; details[0].reason says why)
503Booking or train provider unavailable