我正在开发一个由 Sabre 的 Soap Api 提供支持的旅行应用程序。
我正在使用给定的请求调用 BargainFinderMax(BFM) 端点
<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>
我从肥皂回复中得到以下信息:
-
两个出发地目的地选项
a. 一份包含前往目的地的航班航段
b. 另一个包含从目的地返回的航班航段。
每个 OriginDestinationOption 的 FarePriceInfo - 包含整个行程的价格(包括上行行程和回程行程)
考虑以下场景:
出发地目的地选项:a
上行-a:YYZ-LHR-
回程 - a: LHR - YYZ
总旅行价格 = 900 美元
出发地目的地选项:b
上行-b: YYZ - LHR
回程 - b: LHR - YYZ
总旅行价格 = 940 美元
我的问题是:
如果我选择上行-a对于我的uptrip,我可以选择返回行程 - b回程?
如果没有上述问题,我是否在请求中缺少任何参数来启用该组合功能。
感谢您的帮助。
你有一个AirItinerary
里面的元素PricedItinerary
有完整的行程可供预订。不建议混用不同的腿AirItinerary
元素,因为可能不符合票价规则。
因此,不仅不能保证价格保持不变,也不能保证新行程的价格不变。
没有任何功能可以满足您的要求,最接近的是多票证。在里面DevStudio 的资源页面 https://developer.sabre.com/docs/read/soap_apis/air/search/bargain_finder_max/resources,您有在线帮助文档,具体请查看这个链接 http://files.developer.sabre.com/doc/providerdoc/shopping/BargainFinderMax_Help/BargainFinderMax_Help.htm#Features/MultiTicket/Introduction.htm#kanchor1468.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)