Skip to end of banner
Go to start of banner

SIRI-ET - Kjøretøy som kjører etter en delkansellert strekning

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Innhold


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

For kansellert stopp

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 stopp som vil bli betjent

Merk 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)

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 allerede betjent stopp

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 kommende stopp (re-estimert underveis)

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>
  • No labels