Content
See complete examples: |
The following is true for the illustration:
The message is applied to each vehicle on the specific dates.
The message is shown when search responses contain one of the vehicles.
<AffectedVehicleJourney> <!-- Vehicle 1 --> <VehicleJourneyRef>NSB:ServiceJourney:1-2492-2343</VehicleJourneyRef> <Route/> <OriginAimedDepartureTime>2018-04-11T09:20:00</OriginAimedDepartureTime> </AffectedVehicleJourney> |
Searches which contains any part of Vehicle 1 will show the message.
A different train on the same date:
<AffectedVehicleJourney> <!-- Vehicle 2 --> <VehicleJourneyRef>NSB:ServiceJourney:1-3678-42</VehicleJourneyRef> <Route/> <OriginAimedDepartureTime>2018-04-11T13:37:00</OriginAimedDepartureTime> </AffectedVehicleJourney> |
Searches which contains any part of Vehicle 2 will show the message.
<AffectedVehicleJourney> <!-- Vehicle 3 (a date) --> <FramedVehicleJourneyRef> <DataFrameRef>2018-04-11</DataFrameRef> <DatedVehicleJourneyRef>NSB:ServiceJourney:1-3654-47</DatedVehicleJourneyRef> </FramedVehicleJourneyRef> <Route/> </AffectedVehicleJourney> <AffectedVehicleJourney> <!-- Vehicle 3 (other date) --> <FramedVehicleJourneyRef> <DataFrameRef>2018-04-12</DataFrameRef> <DatedVehicleJourneyRef>NSB:ServiceJourney:1-3654-47</DatedVehicleJourneyRef> </FramedVehicleJourneyRef> <Route/> </AffectedVehicleJourney> |
Searches which contains any part of Vehicle 3 will show the message. This message is applied to Vehicle 3 on two different dates. The search has to be on one of those dates in order for the message to appear.