See complete examples: |
The following is true for the illustration:
The message is applied to a vehicle (<VehicleJourneyRef>) on a specific date<OriginAimedDepartureTime>
The message is shown whenever the vehicle appears in a journey suggestion.
Below are two examples of how to apply a message to a vehicle:
<!---For Vehicle 1---> <Affects> <VehicleJourneys> <AffectedVehicleJourney> <VehicleJourneyRef>NSB:ServiceJourney:1-3654-47</VehicleJourneyRef> <Route/> <OriginAimedDepartureTime>2018-08-17T09:11:00</OriginAimedDepartureTime> </AffectedVehicleJourney> </VehicleJourneys> </Affects> |
<!---For Vehicle 1---> <Affects> <VehicleJourneys> <AffectedVehicleJourney> <FramedVehicleJourneyRef> <DataFrameRef>2018-04-10</DataFrameRef> <DatedVehicleJourneyRef>NSB:ServiceJourney:1-3654-47</DatedVehicleJourneyRef> </FramedVehicleJourneyRef> <Route/> </AffectedVehicleJourney> </VehicleJourneys> </Affects> |