Skip to end of banner
Go to start of banner

Avslutte en melding

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 »

Eksempel 1: <EndTime> er satt.

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

<PtSituationElement>
    <CreationTime>2018-02-22T11:40:33+01:00</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-22T11:40:11+01:00</StartTime>
        <EndTime>2018-04-04T16:55:40+02:00</EndTime>
    </ValidityPeriod>
    <Priority>18</Priority>
    <ReportType>general</ReportType>
    <Description xml:lang="NO">Plattformene kan være glatte.</Description>
    <Affects>
        <StopPoints>
            <AffectedStopPoint>
                <StopPointRef>NSR:StopPlace:652</StopPointRef>
                <StopPointName>Dovre</StopPointName>           
			</AffectedStopPoint>
        </StopPoints>
    </Affects>
</PtSituationElement>


Eksemepel 2: <EndTime> er ikke satt

<Progress>open</Progress>
<ValidityPeriod> 
	<StartTime>2018-02-22T11:40:11+01:00</StartTime> 
</ValidityPeriod>


Meldingen vises i sanntidsdatastrøm/-tjenester inntil det sendes inn <progress>closed. (endTime må være minimum 5 timer frem i tid):

<Progress>closed</Progress>
<ValidityPeriod> 
	<StartTime>2018-02-22T11:40:11+01:00</StartTime> 
	<EndTime>2018-04-04T16:55:40+02:00</EndTime>
</ValidityPeriod>

Når <Progress>closed</Progress> er mottat vil meldingen

  • ikke vises ved reisesøk
  • vises i sanntidsstrømmer, men med <Progress>closed</Progress>




  • No labels