Origin And Destination

 

A service that allows to retrieve the origin and destination of trip specified by its travel segments.

API Information

Target Audience
Sabre Airline Solutions
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>

If you are a Sabre customer currently using Sabre APIs in production, access  Resources

Docs Navigation