SIRI-ET - Partial cancellation (first leg)
Content
XML
The first part of the journey has been cancelled
The vehicle has a planned cancellation of the Vinstra to Dovre leg but plans to execute the Dovre to Trondheim leg.
Since the cancellation includes stops from the very beginning of the route, which must always be described fully (all stops in the journey listed), RecordedCalls for the cancelled leg must be submitted.
EstimatedCalls (before passing)/RecordedCalls (after passing) are submitted as usual for the operational leg.
Before departure
RecordedCall
For cancelled stops.
RecordedCall
<RecordedCall> <StopPointRef>NSR:Quay:709</StopPointRef> <Order>1</Order> <StopPointName>Vinstra</StopPointName> <Cancellation>true</Cancellation> <AimedDepartureTime>2018-04-18T13:05:00</AimedDepartureTime> </RecordedCall>
EstimatedCall
For stops which will be served.
Please note that this RecordedCall is not included in the complete XML example, as the example describes data submitted after the stop was served (see RecordedCall).
RecordedCall
<RecordedCall> <StopPointRef>NSR:Quay:1067</StopPointRef> <Order>4</Order> <StopPointName>Dovre</StopPointName> <AimedArrivalTime>2018-04-18T13:51:50</AimedArrivalTime> <ExpectedDepartureTime>2018-04-18T13:52:00</ExpectedDepartureTime> <ActualDepartureTime>2018-04-18T13:52:00</ActualDepartureTime> </RecordedCall>
Etter avgang
RecordedCall
For already served stops.
RecordedCall
<RecordedCall> <StopPointRef>NSR:Quay:1067</StopPointRef> <Order>4</Order> <StopPointName>Dovre</StopPointName> <AimedArrivalTime>2018-04-18T13:51:50</AimedArrivalTime> <ExpectedDepartureTime>2018-04-18T13:52:00</ExpectedDepartureTime> <ActualDepartureTime>2018-04-18T13:52:00</ActualDepartureTime> </RecordedCall>
EstimatedCall
For upcoming stops (re-estimated continuously).
RecordedCall
<EstimatedCall> <StopPointRef>NSR:Quay:519</StopPointRef> <Order>6</Order> <StopPointName>Oppdal</StopPointName> <RequestStop>false</RequestStop> <AimedArrivalTime>2018-04-18T14:59:00</AimedArrivalTime> <ExpectedArrivalTime>2018-04-18T15:03:00</ExpectedArrivalTime> <ArrivalStatus>onTime</ArrivalStatus> <ArrivalBoardingActivity>alighting</ArrivalBoardingActivity> <AimedDepartureTime>2018-04-18T15:02:00</AimedDepartureTime> <ExpectedDepartureTime>2018-04-18T15:05:00</ExpectedDepartureTime> <DepartureStatus>onTime</DepartureStatus> <DepartureBoardingActivity>boarding</DepartureBoardingActivity> </EstimatedCall>