Versions Compared

Key

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

...

Info
titleXML

Se komplette eksempler for datainnsending:

Tidsbegrenset ved opprettelse

<EndTime> er satt

Meldingen vil vises i sanntidsdatastrøm/-tjenester frem til tidpunktet i <EndTime>. Etter tidspunktet i <EndTime> er passert vil ikke meldingen vises lenger i sanntidsdatastrøm/-tjenester

Code Block
languagexml
<PtSituationElement>
	<CreationTime>2018-02-11T11:29:31</CreationTime>
	<ParticipantRef>NSB</ParticipantRef>
	<SituationNumber>NSB:SituationNumber:status-53733</SituationNumber>
	<Version>1</Version>
	<Source>
		<SourceType>directReport</SourceType>
	</Source>
	<Progress>open</Progress>
	<ValidityPeriod>
		<StartTime>2018-02-11T11:33:11</StartTime>
		<EndTime>2018-04-22T22:55:00</EndTime>
	</ValidityPeriod>
	<UndefinedReason/>
	<Priority>18</Priority>
	<ReportType>general</ReportType>
	<Description xml:lang="NO">Plattform 2 er ikke i bruk. Vær oppmerksom på at det kan bli sporendringer.</Description>
	<Description xml:lang="EN">Platform 2 is closed. Track changes may occur.</Description>
	<Affects>
		<StopPoints>
			<AffectedStopPoint>
				<StopPointRef>NSR:StopPlace:652</StopPointRef>
				<StopPointName>Dovre</StopPointName>
			</AffectedStopPoint>
		</StopPoints>
	</Affects>
</PtSituationElement>

Gyldig frem til ny melding avslutter den opprinnelige

<EndTime> er ikke satt

Code Block
languagexml
<Progress>open</Progress>
<ValidityPeriod>
	<StartTime>2018-02-11T11:33:11</StartTime>
</ValidityPeriod>

...