OJP StopEventService

#AutoTranslate

Brief Description

The StopEvent Service is used to construct a departure or arrival monitor.

Technical Description

API Explorer

You can try out your own requests – direct link to API Explorer.

Request

<?xml version="1.0" encoding="utf-8"?>
<OJP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.siri.org.uk/siri" version="1.0" xmlns:ojp="http://www.vdv.de/ojp" xsi:schemaLocation="http://www.siri.org.uk/siri ../ojp-xsd-v1.0/OJP.xsd">
	<OJPRequest>
		<ServiceRequest>
			<RequestTimestamp>2021-01-09T11:34:25.507Z</RequestTimestamp>
			<RequestorRef>API-Explorer</RequestorRef>
			<ojp:OJPStopEventRequest>
				<RequestTimestamp>2020-01-20T12:00:00Z</RequestTimestamp>
				<MessageIdentifier>756</MessageIdentifier>
				<ojp:Location>
					<ojp:PlaceRef>
						<ojp:StopPlaceRef>ch:1:sloid:30813</ojp:StopPlaceRef>
						<ojp:LocationName>
							<ojp:Text>Zürich Kreuzplatz</ojp:Text>
						</ojp:LocationName>
					</ojp:PlaceRef>
					<ojp:DepArrTime>2021-01-20T12:00:00Z</ojp:DepArrTime>
					<ojp:IndividualTransportOptions>
						<Mode>walk</Mode>
						<MaxDistance>5000</MaxDistance>
						<MaxDuration>PT5M</MaxDuration>
						<MinDistance>0</MinDistance>
						<MinDuration>PT0M</MinDuration>
						<Speed>50</Speed>
						<AdditionalTime>PT10M</AdditionalTime>
					</ojp:IndividualTransportOptions>
				</ojp:Location>
				<ojp:Params>
					<ojp:StopEventType>both</ojp:StopEventType>
					<ojp:IncludePreviousCalls>true</ojp:IncludePreviousCalls>
					<ojp:IncludeOnwardCalls>true</ojp:IncludeOnwardCalls>
					<ojp:IncludeOperatingDays>true</ojp:IncludeOperatingDays>
					<ojp:IncludeRealtimeData>true</ojp:IncludeRealtimeData>
				</ojp:Params>
			</ojp:OJPStopEventRequest>
		</ServiceRequest>
	</OJPRequest>
</OJP>

ItemCardinalityDescriptionExample
RequestTimestamp1:1The timestamp of the request. Preferably in UTC time.
<RequestTimestamp>2020-01-20T12:00:00Z</RequestTimestamp>
MessageIdentifier0:1The identifier of the message. Increasingly increasing number preferred.
<MessageIdentifier>756</MessageIdentifier>
ojp:Location/ojp:PlaceRef0:1It is best to use a StopPlaceRef. Location Name is ignored.

Only SLOID will be used; for foreign StopPlaces, the BPUIC number may still occur as PlaceRef in StopPlaceRef. More Information.

<ojp:PlaceRef>
<ojp:StopPlaceRef>ch:1:sloid:30813</ojp:StopPlaceRef>
<ojp:LocationName>
<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
ojp:Location/ojp:DepArrTime0:1The time to be used. Ideally in UTC

‘Z’ stands for Zulu Time (independent of any time zone). For Z, the seconds must also be specified. If the format is not correct or if there is no Z, the system tries to interpret the time as local time.

<ojp:DepArrTime>2020-01-20T12:00:00Z</ojp:DepArrTime>
ojp:Location/ojp:TimeAllowance0:1As an alternative to DepArrTime. Time still needed to reach the location. xs:Duration.
<ojp:Location>
<ojp:PlaceRef>
<StopPointRef>ch:1:sloid:30813</StopPointRef>
<ojp:LocationName>
<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:LocationName>
</ojp:PlaceRef>
<ojp:TimeAllowance>PT50M</ojp:TimeAllowance>
</ojp:Location>

 

ojp:Location/ojp:IndividualTransportOptions0:*Options to reach or leave the location. See section on IndividualTransportOptions under Trip Service

Permitted modes: walk, cycle, taxi, self-drive-car, others-drive-car, motorcycle, truck. At the moment, only walk and cycle are supported. The distances are in metres. The speed is relative to normal (=100%). AdditionalTime is additional time in this mode.

<ojp:IndividualTransportOptions>
	<Mode>walk</Mode>
	<MaxDistance>5000</MaxDistance>
	<MaxDuration>PT5M</MaxDuration>
	<MinDistance>0</MinDistance>
	<MinDuration>PT0M</MinDuration>
	<Speed>50</Speed>
	<AdditionalTime>PT10M</AdditionalTime>
</ojp:IndividualTransportOptions>

 

ojp:Params0:1the parameters
<ojp:Params>
	<ojp:StopEventType>both</ojp:StopEventType>
	<ojp:IncludePreviousCalls>true</ojp:IncludePreviousCalls>
	<ojp:IncludeOnwardCalls>true</ojp:IncludeOnwardCalls>
	<ojp:IncludeOperatingDays>true</ojp:IncludeOperatingDays>
	<ojp:IncludeRealtimeData>true</ojp:IncludeRealtimeData>
</ojp:Params>

Params

ItemCardinalityDescriptionExample
ojp:PtModeFilter0:1Filter by mode. The Exclude element indicates whether the modes are to be included or excluded.

1:* mode can be added.

See PtModeFilter under Trip Service

<ojp:PtModeFilter>
	<ojp:Mode>
		<ojp:Exclude>true</ojp:Exclude>
		<ojp:PtMode>bus</ojp:PtMode>
		<siri:BusSubmode>localBusService</siri:BusSubmode>
	</ojp:Mode>
</ojp:PtModeFilter>
ojp:LineFilter0:1Filter by line. The Exclude element indicates whether the lines are to be included or excluded.

1:* Line can be added.

 

<ojp:LineFilter>
	<ojp:Line>
		<LineRef>sbb:91018:A</LineRef>
		<DirectionRef>H</DirectionRef>
	</ojp:Line>
	<ojp:Exclude>true</ojp:Exclude>
</ojp:LineFilter>
ojp:OperatorFilter0:1Filter by operator. The Exclude element indicates whether the operators are to be included or excluded.

1:* OperatorRef can be added.

<ojp:OperatorFilter>
	<ojp:Exclude>false</ojp:Exclude>
        <ojp:OperatorRef>sbb:3849</ojp:OperatorRef>
</ojp:OperatorFilter>

 

ojp:NumberOfResults0:1Number of results
<NumberOfResults>10</NumberOfResults>
ojp:StopEventType0:1Type of StopEvents:

  • arrival
  • departure
  • both
<ojp:StopEventType>both</ojp:StopEventType>
 ojp:IncludePreviousCalls0:1Show the previous stops for the individual trips as well?
<ojp:IncludePreviousCalls>true</ojp:IncludePreviousCalls>
ojp:IncludeOnwardCalls0:1Show the subsequent stops for the individual trips as well?
<ojp:IncludeOnwardCalls>true</ojp:IncludeOnwardCalls>
ojp:IncludeOperatingDays0:1Include operating day information for this Stopevent as well?
ojp:IncludeOperatingDays>true</ojp:IncludeOperatingDays>
ojp:IncludeRealtimeData0:1Use the real-time data to calculate the trip?
<ojp:IncludeRealtimeData>true</ojp:IncludeRealtimeData>

Response

<?xml version="1.0" encoding="UTF-8"?>
<siri:OJP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:siri="http://www.siri.org.uk/siri" version="1.0" xmlns:ojp="http://www.vdv.de/ojp" xsi:schemaLocation="http://www.siri.org.uk/siri ../ojp-xsd-v1.0/OJP.xsd">
	<siri:OJPResponse>
		<siri:ServiceDelivery>
			<siri:ResponseTimestamp>2020-01-12T22:27:13Z</siri:ResponseTimestamp>
			<siri:ProducerRef>OJPCH_test</siri:ProducerRef>
			<siri:Status>true</siri:Status>
			<ojp:OJPStopEventDelivery>
				<siri:ResponseTimestamp>2020-01-12T22:27:13Z</siri:ResponseTimestamp>
				<siri:RequestMessageRef>756</siri:RequestMessageRef>
				<siri:Status>true</siri:Status>
				<ojp:CalcTime>310</ojp:CalcTime>
				<ojp:StopEventResponseContext>
					<ojp:Places>
						<ojp:Location>
							<ojp:StopPlace>
								<ojp:StopPlaceRef>ch:1:sloid:30813</ojp:StopPlaceRef>
								<ojp:StopPlaceName>
									<ojp:Text>Zürich Kreuzplatz</ojp:Text>
								</ojp:StopPlaceName>
								<ojp:TopographicPlaceRef>-1:-1</ojp:TopographicPlaceRef>
							</ojp:StopPlace>
							<ojp:LocationName>
								<ojp:Text xml:lang="de">Zürich Kreuzplatz</ojp:Text>
							</ojp:LocationName>
							<ojp:GeoPosition/>
						</ojp:Location>
						<ojp:Location>
							<ojp:StopPoint>
								<siri:StopPointRef>ch:1:sloid:30813</siri:StopPointRef>
								<ojp:StopPointName>
									<ojp:Text>Zürich Kreuzplatz</ojp:Text>
								</ojp:StopPointName>
								<ojp:ParentRef>ch:1:sloid:30813</ojp:ParentRef>
								<ojp:TopographicPlaceRef>-1:-1</ojp:TopographicPlaceRef>
							</ojp:StopPoint>
							<ojp:LocationName>
								<ojp:Text xml:lang="de">Zürich Kreuzplatz</ojp:Text>
							</ojp:LocationName>
							<ojp:GeoPosition>
								<siri:Longitude>8.55408</siri:Longitude>
								<siri:Latitude>47.36488</siri:Latitude>
							</ojp:GeoPosition>
						</ojp:Location>
	<!--- and so on --->

					</ojp:Places>
				</ojp:StopEventResponseContext>
				<ojp:StopEventResult>
					<ojp:ResultId>ID-61BB1C56-4F28-410A-9D03-298D9BF9165C</ojp:ResultId>
					<ojp:StopEvent>
						<ojp:PreviousCall>
							<ojp:CallAtStop>
								<siri:StopPointRef>ch:1:sloid:91228</siri:StopPointRef>
								<ojp:StopPointName>
									<ojp:Text>Zürich, Kienastenwies</ojp:Text>
								</ojp:StopPointName>
								<ojp:ServiceDeparture>
									<ojp:TimetabledTime>2020-01-12T12:42:00Z</ojp:TimetabledTime>
								</ojp:ServiceDeparture>
								<ojp:Order>1</ojp:Order>
							</ojp:CallAtStop>
						</ojp:PreviousCall>
<!--- and so on --->
						<ojp:ThisCall>
							<ojp:CallAtStop>
								<siri:StopPointRef>ch:1:sloid:30813</siri:StopPointRef>
								<ojp:StopPointName>
									<ojp:Text>Zürich Kreuzplatz</ojp:Text>
								</ojp:StopPointName>
								<ojp:ServiceArrival>
									<ojp:TimetabledTime>2020-01-12T12:56:00Z</ojp:TimetabledTime>
								</ojp:ServiceArrival>
								<ojp:Order>14</ojp:Order>
							</ojp:CallAtStop>
						</ojp:ThisCall>
						<ojp:OnwardCall>
							<ojp:CallAtStop>
								<siri:StopPointRef>ch:1:sloid:91375</siri:StopPointRef>
								<ojp:StopPointName>
									<ojp:Text>Zürich, Sprecherstrasse</ojp:Text>
								</ojp:StopPointName>
								<ojp:ServiceArrival>
									<ojp:TimetabledTime>2020-01-12T12:56:00Z</ojp:TimetabledTime>
								</ojp:ServiceArrival>
								<ojp:ServiceDeparture>
									<ojp:TimetabledTime>2020-01-12T12:56:00Z</ojp:TimetabledTime>
								</ojp:ServiceDeparture>
								<ojp:Order>15</ojp:Order>
							</ojp:CallAtStop>
						</ojp:OnwardCall>
<!--- and so on --->
						<ojp:Service>
							<ojp:OperatingDayRef></ojp:OperatingDayRef>
							<ojp:JourneyRef>sbb:92031::R:j20:21060</ojp:JourneyRef>
							<siri:LineRef>sbb:92031::R</siri:LineRef>
							<siri:DirectionRef>H</siri:DirectionRef>
							<ojp:Mode>
								<ojp:PtMode>bus</ojp:PtMode>
								<siri:BusSubmode>regionalBus</siri:BusSubmode>
								<ojp:Name>
									<ojp:Text xml:lang="de">Bus</ojp:Text>
								</ojp:Name>
							</ojp:Mode>
							<ojp:PublishedLineName>
								<ojp:Text>31</ojp:Text>
							</ojp:PublishedLineName>
							<ojp:OperatorRef>sbb:849:VerkehrsbetriebeZrich</ojp:OperatorRef>
							<ojp:Attribute>
								<ojp:Text>
									<ojp:Text xml:lang="de">Linie 31: Niederflureinstieg</ojp:Text>
								</ojp:Text>
								<ojp:Code>30</ojp:Code>
								<ojp:Mandatory>false</ojp:Mandatory>
							</ojp:Attribute>
							<ojp:OriginStopPointRef>ch:1:sloid:91228</ojp:OriginStopPointRef>
							<ojp:OriginText>
								<ojp:Text xml:lang="de">Zürich, Kienastenwies</ojp:Text>
							</ojp:OriginText>
							<ojp:DestinationStopPointRef>ch:1:sloid:91056</ojp:DestinationStopPointRef>
							<ojp:DestinationText>
								<ojp:Text xml:lang="de">Zürich Altstetten, Bahnhof</ojp:Text>
							</ojp:DestinationText>
						</ojp:Service>
					</ojp:StopEvent>
				</ojp:StopEventResult>
			</ojp:OJPStopEventDelivery>
		</siri:ServiceDelivery>
	</siri:OJPResponse>
</siri:OJP>
+

Please note that sometimes not only the relevant information for the selected stop is included but all the trip information. The answer is packed into an ojp:OJPStopEventDelivery.

 

ItemCardinalityDescriptionExample
siri:ResponseTimestamp1:1The timestamp of the answer
<siri:ResponseTimestamp>2020-04-03T14:47:59Z</siri:ResponseTimestamp>
siri:RequesteMessageRef0:1This refers to the message that was requested
<siri:RequestMessageRef>756</siri:RequestMessageRef>
siri:Status1:1The status of the response. true means that the request has been processed.
<siri:Status>true</siri:Status>
ojp:CalcTime1:1The calculation time in milliseconds
<ojp:CalcTime>939</ojp:CalcTime>
ojp:StopEventResponseContext1:1Reference information such as the stops used is returned here.

See separate table

ojp:StopEventResult0:nthe actual results
ojp:StopEventResult/ojp:StopEventResultID1:1The ID of the result
<ojp:ResultId>ID-5194D714-33A5-48B0-8895-BDCBAB540958</ojp:ResultId>
ojp:StopEventResult/ojp:StopEvent1:1The individual journeys

see separate table

StopEventResponseContext

The context includes

  • Location(s)
  • Situation(s) not yet implemented
ItemCardinalityDescriptionExample
ojp:StopPlace1:1
ojp:StopPlace/ojp:StopPlaceRef1:1The reference to the stop. Only SLOID will be used; for foreign StopPoints, the BPUIC number may still occur as StopPlaceRef.
<ojp:StopPlaceRef>ch:1:sloid:30813</ojp:StopPlaceRef>
ojp:StopPlace/ojp:StopPlaceName1:1The name of the stop. There is currently no language for stops.
<ojp:StopPlaceName>
	<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:StopPlaceName>
ojp:StopPlace/ojp:TopographicPlaceRef1:1This is a reference in the location tree.

Since the location tree is not published, this feature can only be used if it has been requested beforehand in a LocationInformationRequest.

<ojp:TopographicPlaceRef>23026261:27</ojp:TopographicPlaceRef>
ojp:StopPlace/ojp:LocationName1:1Name of the location
<ojp:LocationName>
	<ojp:Text xml:lang="de">Zürich Kreuzplatz</ojp:Text>
</ojp:LocationName>
ojp:StopPlace/ojp:GeoPosition1:1WGS84 coordinates
<ojp:GeoPosition>
	<siri:Longitude>8.55408</siri:Longitude>
	<siri:Latitude>47.36488</siri:Latitude>
</ojp:GeoPosition>

ojp:StopEvent

The StopEvent consists of:

  • ojp:PreviousCall(s): If parameters are set
  • ojp:ThisCall: The currently selected stop
  • ojp:OnwardCall(s): Future stops on the journey
  • ojp:Service: Information about the journey
ItemCardinalityDescriptionExample
ojp:PreviousCall0:*The PreviousCall contains the stops before the one that was requested.

All information is contained in a CallAtStop. See relevant section

<ojp:PreviousCall>
<ojp:CallAtStop>
<siri:StopPointRef>ch:1:sloid:91142</siri:StopPointRef>
<ojp:StopPointName>
<ojp:Text>Zürich, Friedhof Enzenbühl</ojp:Text>
</ojp:StopPointName>
<ojp:ServiceArrival>
<ojp:TimetabledTime>2020-04-03T15:32:00Z</ojp:TimetabledTime>
</ojp:ServiceArrival>
<ojp:ServiceDeparture>
<ojp:TimetabledTime>2020-04-03T15:32:00Z</ojp:TimetabledTime>
</ojp:ServiceDeparture>
<ojp:Order>2</ojp:Order>
</ojp:CallAtStop>
</ojp:PreviousCall>
ojp:ThisCall1:1This is the stop to which the request refers.

All information is contained in a CallAtStop. See relevant section

<ojp:ThisCall>
<ojp:CallAtStop>
<siri:StopPointRef>ch:1:sloid:30813</siri:StopPointRef>
<ojp:StopPointName>
<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:StopPointName>
<ojp:ServiceArrival>
<ojp:TimetabledTime>2020-04-03T15:40:00Z</ojp:TimetabledTime>
</ojp:ServiceArrival>
<ojp:ServiceDeparture>
<ojp:TimetabledTime>2020-04-03T15:40:00Z</ojp:TimetabledTime>
</ojp:ServiceDeparture>
<ojp:Order>9</ojp:Order>
</ojp:CallAtStop>
</ojp:ThisCall>
ojp:OnwardCall0:*The OnwardCall contains the stops after the current stop that was specified in the request.

All information is contained in a CallAtStop. See relevant section

<ojp:OnwardCall>
<ojp:CallAtStop>
<siri:StopPointRef>ch:1:sloid:91049</siri:StopPointRef>
<ojp:StopPointName>
<ojp:Text>Zürich, Auzelg</ojp:Text>
</ojp:StopPointName>
<ojp:ServiceArrival>
<ojp:TimetabledTime>2020-04-03T16:16:00Z</ojp:TimetabledTime>
</ojp:ServiceArrival>
<ojp:Order>34</ojp:Order>
</ojp:CallAtStop>
</ojp:OnwardCall>
ojp:Service1:1The service provides the actual information about the entire journey.
<ojp:Service>
<ojp:OperatingDayRef>2020-04-03</ojp:OperatingDayRef>
<ojp:JourneyRef>sbb:91011:A:R:j20:887</ojp:JourneyRef>
<siri:LineRef>sbb:91011:A</siri:LineRef>
<siri:DirectionRef>R</siri:DirectionRef>
<ojp:Mode>
<ojp:PtMode>tram</ojp:PtMode>
<siri:TramSubmode>cityTram</siri:TramSubmode>
<ojp:Name>
<ojp:Text xml:lang="de">Tram</ojp:Text>
</ojp:Name>
</ojp:Mode>
<ojp:PublishedLineName>
<ojp:Text>11</ojp:Text>
</ojp:PublishedLineName>
<ojp:OperatorRef>sbb:3849</ojp:OperatorRef>
<ojp:OriginStopPointRef>ch:1:sloid:91315</ojp:OriginStopPointRef>
<ojp:OriginText>
<ojp:Text xml:lang="de">Zürich, Rehalp</ojp:Text>
</ojp:OriginText>
<ojp:DestinationStopPointRef>ch:1:sloid:91049</ojp:DestinationStopPointRef>
<ojp:DestinationText>
<ojp:Text xml:lang="de">Zürich, Auzelg</ojp:Text>
</ojp:DestinationText>
</ojp:Service>

ojp:CallAtStop

ItemCardinalityDescriptionExample
siri:StopPointRef1:1The stop number. This is currently also a DiDok number. It can also be a NeTEx ID or a SLOID.

Attention: Both didok and sloid can occur. More Information.

<siri:StopPointRef>ch:1:sloid:30813</siri:StopPointRef>
ojp:StopPointName1:1The name of the stop
<ojp:StopPointName>
	<ojp:Text>Zürich Kreuzplatz</ojp:Text>
</ojp:StopPointName>
ojp:PlannedQuay0:1The planned platform
<ojp:PlannedQuay>
	<ojp:Text xml:lang="de">1</ojp:Text>
</ojp:PlannedQuay>
ojp:EstimatedQuay0:1The current platform, if available
<ojp:EstimatedQuay>
	<ojp:Text xml:lang="de">1</ojp:Text>
</ojp:EstimatedQuay
ojp:ServiceArrival0:1The first stop has no arrival.
<ojp:ServiceArrival>
	<ojp:TimetabledTime>2020-04-03T15:40:00Z</ojp:TimetabledTime>
	<ojp:EstimatedTime>2020-04-03T15:40:00Z</ojp:EstimatedTime>
</ojp:ServiceArrival>
ojp:ServiceDeparture0:1The last stop has no departure.
<ojp:ServiceDeparture>
	<ojp:TimetabledTime>2020-04-03T15:40:00Z</ojp:TimetabledTime>
	<ojp:EstimatedTime>2020-04-03T15:40:00Z</ojp:EstimatedTime>
</ojp:ServiceDeparture>
ojp:Order1:1The sequence of the stops
<ojp:Order>9</ojp:Order>

 

ojp:RequestStop0:1Request stop. Boolean.

Not implemented, planned for a future version.

n/a
ojp:UnplannedStop0:1Stop that was not planned. Boolean.

Not implemented, planned for a future version.

n/a
ojp:NotServicedStop0:1Contrary to plans, there will be no stops (cancellations).
<ojp:NotServicedStop>true</ojp:NotServicedStop>
ojp:SituationFullRef0:1This feature is unavailable.

 

n/a

ojp:Service

ItemCardinalityDescriptionExample
ojp:OperatingDayRef1:1The relevant operating day
<ojp:OperatingDayRef>2020-04-03</ojp:OperatingDayRef>
ojp:JourneyRef1:1The ID of the journey.
<ojp:JourneyRef>sbb:91011:A:R:j20:887</ojp:JourneyRef>
siri:LineRef1:1The ID of the line:
<siri:LineRef>sbb:91011:A</siri:LineRef>
siri:DirectionRef1:1The ID of the direction.
<siri:DirectionRef>R</siri:DirectionRef>
ojp:Mode1:1The mode of transport.

The list of modes can be found at LocationInformationRequest

<ojp:Mode>
	<ojp:PtMode>tram</ojp:PtMode>
	<siri:TramSubmode>cityTram</siri:TramSubmode>
	<ojp:Name>
		<ojp:Text xml:lang="de">Tram</ojp:Text>
	</ojp:Name>
</ojp:Mode>
ojp:PublishedLineName1:1The published name of the list
<ojp:PublishedLineName>
	<ojp:Text>11</ojp:Text>
</ojp:PublishedLineNam
ojp:OperatorRef0:1The reference to the operator.

Attention: will still change.

<ojp:OperatorRef>sbb:3849</ojp:OperatorRef>
ojp:Attribute0:*Attributes are properties, usually relating to trips. E.g. low-floor bus, bar, reservation required.

ojp:Mandateory is true if the attribute must be displayed to the user.

<ojp:Attribute>
	<ojp:Text>
		<ojp:Text xml:lang="de">Linie 31: Niederflureinstieg</ojp:Text>
	</ojp:Text>
	<ojp:Code>30</ojp:Code>
	<ojp:Mandatory>false</ojp:Mandatory>
</ojp:Attribute>
ojp:OrginStopPointRef0:1The Didok number of the starting point.

Attention: The ID will still change.

<ojp:OriginStopPointRef>ch:1:sloid:91315</ojp:OriginStopPointRef>
ojp:OriginText0:1The name of the departure stop.
<ojp:OriginText>
	<ojp:Text xml:lang="de">Zürich, Rehalp</ojp:Text>
</ojp:OriginText>
ojp:DestinationStopPointRef0:1The DiDok number of the destination stop.

Attention: The ID will still change.

<ojp:DestinationStopPointRef>8591049</ojp:DestinationStopPointRef>
ojp:DestinationText0:1The name of the destination stop.
<ojp:DestinationText>
	<ojp:Text xml:lang="de">Zürich, Auzelg</ojp:Text>
</ojp:DestinationText>
ojp:Unplanned0:1Indicates whether this is an additional journey not listed in the regular timetable. Boolean.
<ojp:Unplanned>true</ojp:Unplanned>
ojp:Cancelled0:1A journey was cancelled. Boolean.
<ojp:Cancelled>true</ojp:Cancelled>
ojp:Deviation0:1Indicates whether the journey is not running according to the timetable.

Planned for future release

n/a
ojp:BookingArrangements0:1This feature is not supported.n/a
ojp:ParticipantRef1:1Is used to communicate faults or other exceptional situations.

Planned for future release

n/a
ojp:SituationNumber1:1Is used to communicate faults or other exceptional situations.

Planned for future release

n/a

Further information

Car tunnel hoists

<siri:OJP xmlns="http://www.vdv.de/ojp" xmlns:siri="http://www.siri.org.uk/siri" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.vdv.de/ojp" version="1.0">
  <siri:OJPRequest>
    <siri:ServiceRequest>
      <siri:RequestTimestamp>2024-07-22T10:40:16.970Z</siri:RequestTimestamp>
      <siri:RequestorRef>OJP_JS_SDK_v0.9.35</siri:RequestorRef>
      <OJPStopEventRequest>
        <siri:RequestTimestamp>2024-07-22T10:40:16.970Z</siri:RequestTimestamp>
        <Location>
          <PlaceRef>
            <StopPlaceRef>ch:1:sloid:19606</StopPlaceRef>
            <LocationName>
              <Text/>
            </LocationName>
          </PlaceRef>
          <DepArrTime>2024-07-22T10:40:02.237Z</DepArrTime>
        </Location>
        <Params>
          <NumberOfResults>10</NumberOfResults>
          <StopEventType>departure</StopEventType>
          <IncludePreviousCalls>true</IncludePreviousCalls>
          <IncludeOnwardCalls>true</IncludeOnwardCalls>
          <IncludeRealtimeData>true</IncludeRealtimeData>
        </Params>
        <siri:Extensions>
          <ParamsExtension>
            <PrivateModeFilter>
              <Exclude>false</Exclude>
            </PrivateModeFilter>
          </ParamsExtension>
        </siri:Extensions>
      </OJPStopEventRequest>
    </siri:ServiceRequest>
  </siri:OJPRequest>
</siri:OJP>

Large-capacity profiles (at BLS) can be identified by the GF-attribute:

              <ojp:Attribute>
                <ojp:Text>
                  <ojp:Text xml:lang="de">Grossraumprofil</ojp:Text>
                </ojp:Text>
                <ojp:Code>A__GF</ojp:Code>
              </ojp:Attribute>