Skip to main content

Origin And Destination

1.0.3
Air
Utility
SOAP API

The Origin and Destination (OriginAndDestinationRQ) web service is used to retrieve the origin and destination information of a trip specified by its travel segments.

Target Audience
Airline Carrier
Current Version
1.0.3
Authentication
Session Token
Service Action Code
OriginAndDestinationRQ
Sample Request
<OriginAndDestinationRQ>
	<Options Mode="Multiple" Pattern="Traveler"/>
	<Segment EndLocation="FRA" SegmentNumber="1" StartLocation="GRU">
		<Flight ArrivalDate="2017-06-22" ArrivalTime="0900" Carrier="LA" DepartureDate="2017-06-21" DepartureTime="1330" SegmentStatus="HK"/>
	</Segment>
	<Segment EndLocation="MUC" SegmentNumber="2" StartLocation="FRA">
		<Flight ArrivalDate="2017-06-22" ArrivalTime="1030" Carrier="LH" DepartureDate="2017-06-22" DepartureTime="0975" SegmentStatus="HK"/>
	</Segment>
	<Segment EndLocation="FRA" SegmentNumber="3" StartLocation="MUC">
		<Flight ArrivalDate="2017-06-22" ArrivalTime="1140" Carrier="LH" DepartureDate="2017-06-22" DepartureTime="1080" SegmentStatus="HK"/>
	</Segment>
	<Segment EndLocation="JNB" SegmentNumber="4" StartLocation="FRA">
		<Flight ArrivalDate="2017-06-23" ArrivalTime="0510" Carrier="LH" DepartureDate="2017-06-22" DepartureTime="1325" SegmentStatus="HK"/>
	</Segment>
	<Segment EndLocation="GRU" SegmentNumber="5" StartLocation="JNB">
		<Flight ArrivalDate="2017-06-24" ArrivalTime="0990" Carrier="LA" DepartureDate="2017-06-24" DepartureTime="0660" SegmentStatus="HK"/>
	</Segment>
</OriginAndDestinationRQ>
Sample Response
<OriginAndDestinationRS>
	<JourneyData Type="International" RuleCarrier="LA" StopoverTime="13">
		<OnDData OriginCity="SAO" DestinationCity="MUC" OriginAirport="GRU" DestinationAirport="MUC" Rule="5"/>
		<OnDData OriginCity="MUC" DestinationCity="JNB" OriginAirport="MUC" DestinationAirport="JNB" Rule="3"/>
		<OnDData OriginCity="JNB" DestinationCity="SAO" OriginAirport="JNB" DestinationAirport="GRU" Rule="9"/>
	</JourneyData>
</OriginAndDestinationRS>