Content
The message is displayed depending on the search request parameters, time and StopConditions.
<!---For Vehicle 1---> <AffectedStopPoint> <StopPointRef>NSR:Quay:1067</StopPointRef> <StopPointName>Dovre</StopPointName> <StopCondition>destination</StopCondition> <StopCondition>startPoint</StopCondition> </AffectedStopPoint> |
The message will be displayed when searching from- or to Dovre.
The following is true for the illustration:
The message is referenced by multiple stops on the same specific VehicleJourney (specific departure on a specific date set with <VehicleJourneyRef> and <OriginAimedDepartureTime>).
stopConditions are set to 'startPoint' for all stops, and the message will only be shown when searching a journey on the specific date, with the specific departure, from one of the specific stops.
<!---For Vehicle 1---> <StopPoints> <AffectedStopPoint> <StopPointRef>NSR:Quay:629</StopPointRef> <StopPointName>Kvam</StopPointName> <StopCondition>startPoint</StopCondition> </AffectedStopPoint> <AffectedStopPoint> <StopPointRef>NSR:Quay:652</StopPointRef> <StopPointName>Dovre</StopPointName> <StopCondition>startPoint</StopCondition> </AffectedStopPoint> <AffectedStopPoint> <StopPointRef>NSR:Quay:316</StopPointRef> <StopPointName>Oppdal</StopPointName> <StopCondition>startPoint</StopCondition> </AffectedStopPoint> </StopPoints> |
The following is true for the illustration:
The message is applied to multiple successive stops on a VehicleJourney, on a specific OriginAimedDepartureTime.
The message is shown in search responses where the particular vehicle, stop, and date appears but depends on the stopConditions on the stops.
<!---For Vehicle 1---> <StopPoints> <AffectedStopPoint> <StopPointRef>NSR:Quay:4</StopPointRef> <StopPointName>Otta</StopPointName> <StopCondition>startPoint</StopCondition> </AffectedStopPoint> <AffectedStopPoint> <StopPointRef>NSR:Quay:652</StopPointRef> <StopPointName>Dovre</StopPointName> <StopCondition>notStopping</StopCondition> <StopCondition>destination</StopCondition> <StopCondition>startPoint</StopCondition> </AffectedStopPoint> <AffectedStopPoint> <StopPointRef>NSR:Quay:645</StopPointRef> <StopPointName>Dombås</StopPointName> <StopCondition>notStopping</StopCondition> <StopCondition>destination</StopCondition> <StopCondition>startPoint</StopCondition> </AffectedStopPoint> <AffectedStopPoint> <StopPointRef>NSR:Quay:316</StopPointRef> <StopPointName>Oppdal</StopPointName> <StopCondition>destination</StopCondition> </AffectedStopPoint> </StopPoints> |
The following is true for the illustration:
The message is applied to multiple successive stops on a VehicleJourney, on a specific OriginAimedDepartureTime.
The message is shown in search responses where the particular vehicle- and stop.
<!---For Vehicle 1---> <AffectedStopPoint> <StopPointRef>NSR:Quay:652</StopPointRef> <StopPointName>Dovre</StopPointName> <StopCondition>notStopping</StopCondition> </AffectedStopPoint> |
The following is true for the illustration: