Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Innhold

Table of Contents


Info
titleXML

Se komplette eksempler for datainnsending

Sanntidsdata for endring av betjent platform (Quay)

Info
iconfalse
Ved endring av plattform må hele kjøretøyets rute sendes på nytt.

...

Opprinnelig datasett

I første innsendelse (eller dette allerede er spesifiert i de planlagte rutedataene) har dette kjøretøyet siste stopp på <StopPointRef>NSR:Quay:1078</StopPointRef>. (Se datasettets siste EstimatedCall.)

Code Block
languagexml
linenumberstrue
<EstimatedCall>
	<StopPointRef>NSR:Quay:1078</StopPointRef>
	<Order>8</Order>
	<StopPointName>Trondheim</StopPointName>
	<RequestStop>false</RequestStop>
	<AimedArrivalTime>2018-04-18T14:32:00+02:00</AimedArrivalTime>
	<ExpectedArrivalTime>2018-04-18T14:32:00+02:00</ExpectedArrivalTime>
	<ArrivalStatus>onTime</ArrivalStatus>
	<ArrivalBoardingActivity>alighting</ArrivalBoardingActivity>
</EstimatedCall>

Sanntidsmelding

...

etter plattformendring

For å endre Quay for siste stopp fra <StopPointRef>NSR:Quay:1078</StopPointRef> til <StopPointRef>NSR:Quay:1081</StopPointRef> (begge Trondheim) sendes SIRI-ET med endring.

Merk at hele ruten må sendes inn, selv om eneste endring er Quay på ett (eller flere) av stoppene.

Code Block
languagexml
linenumberstrue
<EstimatedCall>
	<StopPointRef>NSR:Quay:1081</StopPointRef>
	<Order>8</Order>
	<StopPointName>Trondheim</StopPointName>
	<RequestStop>false</RequestStop>
	<AimedArrivalTime>2018-04-18T14:32:00+02:00</AimedArrivalTime>
	<ExpectedArrivalTime>2018-04-18T14:32:00+02:00</ExpectedArrivalTime>
	<ArrivalStatus>onTime</ArrivalStatus>
	<ArrivalBoardingActivity>alighting</ArrivalBoardingActivity>
</EstimatedCall>

...