I'm developing a travel application powered by Sabre's Soap Api.
I am calling the BargainFinderMax(BFM) endpoint with the Given request
<OTA_AirLowFareSearchRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="3.0.0" ResponseType="OTA" ResponseVersion="3.0.0">
<POS xmlns="http://www.opentravel.org/OTA/2003/05">
<Source PseudoCityCode="XXXX">
<RequestorID Type="1" ID="1">
<CompanyName Code="TN"/>
</RequestorID>
</Source>
</POS>
<OriginDestinationInformation xmlns="http://www.opentravel.org/OTA/2003/05" RPH="1">
<DepartureDateTime>2017-05-19T17:33:49</DepartureDateTime>
<OriginLocation LocationCode="YYZ"/>
<DestinationLocation LocationCode="LHR"/>
<TPA_Extensions>
<SegmentType Code="O"/>
</TPA_Extensions>
</OriginDestinationInformation>
<OriginDestinationInformation xmlns="http://www.opentravel.org/OTA/2003/05" RPH="2">
<DepartureDateTime>2017-05-29T00:00:00</DepartureDateTime>
<OriginLocation LocationCode="LHR"/>
<DestinationLocation LocationCode="YYZ"/>
<TPA_Extensions>
<SegmentType Code="O"/>
</TPA_Extensions>
</OriginDestinationInformation>
<TravelPreferences xmlns="http://www.opentravel.org/OTA/2003/05">
<TPA_Extensions>
<TripType Value="Return"/>
</TPA_Extensions>
</TravelPreferences>
<TravelerInfoSummary xmlns="http://www.opentravel.org/OTA/2003/05">
<AirTravelerAvail>
<PassengerTypeQuantity Code="ADT" Quantity="1"/>
</AirTravelerAvail>
</TravelerInfoSummary>
<TPA_Extensions xmlns="http://www.opentravel.org/OTA/2003/05">
<IntelliSellTransaction>
<RequestType Name="50ITINS"/>
</IntelliSellTransaction>
</TPA_Extensions>
</OTA_AirLowFareSearchRQ>
I get the following from the soap response:
Two OriginDestinationOption
a. One containing flight Segments for the Trip to the destination
b. The other containing the flight Segments for the return trip from the destination.
FarePriceInfo for the each OriginDestinationOption- contains the price of the entire trip (including UpTrip and Return trip)
Consider the Scenario:
OriginDestinationOption: a
UpTrip - a: YYZ - LHR -
Return Trip - a: LHR - YYZ
Total Trip Price = $900
OriginDestinationOption: b
UpTrip - b: YYZ - LHR
Return Trip - b: LHR - YYZ
Total Trip Price = $940
My Question is:
if i select UpTrip -a for my uptrip, is it possible for me to select ReturnTrip - b for the return trip?
If no the above question, am I missing any parameters in the request to enable that combination feature.
Thank you for you help.