Sabre 使用 Bargain Finder Max 获得 Return 航班

Sabre Get Return Flights With Bargain Finder Max

我正在一个由 Sabre SOAP 提供支持的旅游网站上工作 Api。

我已经到了从 BargainFinderMax(BFM) 端点填充列表的地步,还有腿的详细信息等等。

以下是我的请求

<?xml version="1.0" encoding="utf-16"?>
<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="XX" />      
            </RequestorID>    
        </Source>  
    </POS>  
    <OriginDestinationInformation RPH="1" xmlns="http://www.opentravel.org/OTA/2003/05">    
        <DepartureDateTime>2017-05-18T15:23:03</DepartureDateTime>    
        <OriginLocation LocationCode="YYZ" />        
        <DestinationLocation LocationCode="LHR" />    
        <TPA_Extensions>      
            <SegmentType Code="O" />    
        </TPA_Extensions>  
    </OriginDestinationInformation>  
    <TravelPreferences xmlns="http://www.opentravel.org/OTA/2003/05">                
        <TPA_Extensions>      
            <TripType Value="OneWay" />    
        </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>

我的问题是,有没有办法从便宜货搜索者 max 那里获得 Return 航班,或者我应该:

  1. 从 Bargain Finder Max 获取出发日期的单程航班并预订出发航班
  2. 通过致电 Bargain Finder Max 获得 return 的单程航班,并预订指定日期的 return 航班。

感谢您的帮助。

您可以在同一个 RQ 中使用多个 OriginDestinationInformation 节点来请求往返或更复杂的航班。

https://developer.sabre.com/docs/read/soap_apis/air/search/bargain_finder_max

这是获取 Departure 和 Return Flights From Sabre 的请求。

<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>