Versions Compared

Key

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

Innholdtoc

Info
titleXML

Se komplette eksempler for datainnsending

Før endring

See complete examples:

...


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

Opprinnelig datasett

...

When any platform (Quay) is changed, the entire sequence of stops must be re-confirmed in the dataset.

Original dataset

In the original SIRI dataset (or the planned data) the last stop of the vehicle is <StopPointRef>NSR:Quay:1079</StopPointRef> (See the last EstimatedCall of the dataset). In <ArrivalStopAssignment> the values for <AimedQuayRef> and <ExpectedQuayRef> are equal.

Code Block
languagexml
linenumberstrue
<EstimatedCall>
    	<StopPointRef>NSR:Quay:1078<1079</StopPointRef>
	<Order>8<
    <Order>5</Order>
    	<StopPointName>Trondheim</StopPointName>
  	  <RequestStop>false</RequestStop>
	<AimedArrivalTime>2018-04-18T14:32
    <AimedArrivalTime>2019-08-16T22:49:00+02:00</AimedArrivalTime>
	<ExpectedArrivalTime>2018-04-18T14:32
    <ExpectedArrivalTime>2019-08-16T22:49:00+02:00</ExpectedArrivalTime>
    	<ArrivalStatus>onTime</ArrivalStatus>
	
    <ArrivalPlatformName>2</ArrivalPlatformName>
    <ArrivalBoardingActivity>alighting</ArrivalBoardingActivity>
    <ArrivalStopAssignment>
        <AimedQuayRef>NSR:Quay:1079</AimedQuayRef>
        <ExpectedQuayRef>NSR:Quay:1079</ExpectedQuayRef>
    </ArrivalStopAssignment>
</EstimatedCall>

Sanntidsmelding etter plattformendring

...

After the platform is changed

The last stop <StopPointRef>NSR:Quay:1078<1079</StopPointRef> til  is replaced by <StopPointRef>NSR:Quay:1081<1078</StopPointRef> (begge both are 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. Also <ExpectedQuayRef>NSR:Quay:1079</ExpectedQuayRef> is replaced by <ExpectedQuayRef>NSR:Quay:1078</ExpectedQuayRef> in <ArrivalStopAssignment>.

Code Block
languagexml
linenumberstrue
<EstimatedCall>
  	  <StopPointRef>NSR:Quay:1081<1078</StopPointRef>
	<Order>8<
    <Order>5</Order>
    	<StopPointName>Trondheim</StopPointName>
  	  <RequestStop>false</RequestStop>
	<AimedArrivalTime>2018-04-18T14:32
    <AimedArrivalTime>2019-08-16T22:49:00+02:00</AimedArrivalTime>
	<ExpectedArrivalTime>2018-04-18T14:32
    <ExpectedArrivalTime>2019-08-16T22:49:00+02:00</ExpectedArrivalTime>
	    <ArrivalStatus>onTime</ArrivalStatus>
	<ArrivalBoardingActivity>alighting</ArrivalBoardingActivity>
    <ArrivalPlatformName>1</ArrivalPlatformName>
    <ArrivalBoardingActivity>alighting</ArrivalBoardingActivity>
    <ArrivalStopAssignment>
        <AimedQuayRef>NSR:Quay:1079</AimedQuayRef>
        <ExpectedQuayRef>NSR:Quay:1078</ExpectedQuayRef>
    </ArrivalStopAssignment>
</EstimatedCall>