SIRI SX - Message on multiple vehicles on multiple dates

Content

Different methods for applying a message on a vehicle/date

The following is true for the illustration:

  • Search 1 will show the message for Vehicle 1 and Vehicle 3
  • Search 2 will show the message for Vehicle 1
  • Search 3 will show the message for Vehicle 1
  • Search 4 will show the message for Vehicle 2
  • Search 5 will show the message for Vehicle 3

The message is applied to each vehicle on the specific dates.

The message is shown when search responses contain one of the vehicles.

VehicleJourneyRef
<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:

VehicleJourneyRef
<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.

FramedVehicleJourneyRef
<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.