InnholdContent
Table of Contents |
---|
Info | ||||
---|---|---|---|---|
| Se det komplette eksempelet på ||||
See complete example: rutebankenafterdeparture |
Delkansellering på starten av en strekning
Kjøretøyet er planlagt kansellert Vinstra - Dovre og kjørende Dovre - Trondheim.
Siden delkanselleringen er først i ruta, og denne alltid skal sendes komplett, må det sendes RecordedCalls for den kansellerte strekningen. Det sendes EstimatedCalls (før passering) / RecordedCalls (etter passering) på normal måte for den kjørende delen av ruta.
Før avgang
RecordedCall
...
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.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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 stopp som vil bli betjentMerk at dette RecordedCall ikke er finnes i den komplette eksempel-XML'en, da dette er sanntids-datasettet innsendt etter at dette stoppet er betjent (se også RecordedCall under)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).
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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 allerede betjent stoppalready served stops.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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 kommende stopp upcoming stops (re-estimert underveisestimated continuously).
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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> |
...