为 Bargain Finder Max Flight 选择不同的 return 航班
Choose different return flight for Bargain Finder Max Flight
我正在开发一款由 Sabre's Soap 提供支持的旅行应用程序 Api。
我正在使用 Given 请求调用 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>
我从 soap 响应中得到以下信息:
两个 OriginDestinationOption
一个。 一个包含前往目的地的行程的航段
b。 另一个包含从目的地出发的 return 行程的航段。
每个 OriginDestinationOption 的 FarePriceInfo - 包含整个行程的价格(包括 UpTrip 和 Return 行程)
考虑场景:
OriginDestinationOption: a
UpTrip - a: YYZ - LHR -
Return 行程 - a: LHR - YYZ
行程总价 = 900 美元
OriginDestinationOption: b
UpTrip - b: YYZ - LHR
Return 行程 - b: LHR - YYZ
行程总价 = 940 美元
我的问题是:
if i select UpTrip -a 我的上行是否可以 select Return行程 - b 用于 return 行程?
如果没有上述问题,我是否缺少启用该组合功能的请求中的任何参数。
谢谢你的帮助。
您在 PricedItinerary
中有一个 AirItinerary
元素,其中包含要预订的完整行程。不建议混合来自不同 AirItinerary
元素的航段,因为可能不符合票价规则。
所以,不仅不能保证价格会保持不变,也不能保证新的行程一定会定价。
没有任何功能可以满足您的需求,更接近的功能是 Multi-Ticket。在 resources page of DevStudio, you have online help documents, specifically, please check on this link.
我正在开发一款由 Sabre's Soap 提供支持的旅行应用程序 Api。
我正在使用 Given 请求调用 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>
我从 soap 响应中得到以下信息:
两个 OriginDestinationOption
一个。 一个包含前往目的地的行程的航段
b。 另一个包含从目的地出发的 return 行程的航段。
每个 OriginDestinationOption 的 FarePriceInfo - 包含整个行程的价格(包括 UpTrip 和 Return 行程)
考虑场景:
OriginDestinationOption: a
UpTrip - a: YYZ - LHR -
Return 行程 - a: LHR - YYZ
行程总价 = 900 美元
OriginDestinationOption: b
UpTrip - b: YYZ - LHR
Return 行程 - b: LHR - YYZ
行程总价 = 940 美元
我的问题是:
if i select UpTrip -a 我的上行是否可以 select Return行程 - b 用于 return 行程?
如果没有上述问题,我是否缺少启用该组合功能的请求中的任何参数。
谢谢你的帮助。
您在 PricedItinerary
中有一个 AirItinerary
元素,其中包含要预订的完整行程。不建议混合来自不同 AirItinerary
元素的航段,因为可能不符合票价规则。
所以,不仅不能保证价格会保持不变,也不能保证新的行程一定会定价。
没有任何功能可以满足您的需求,更接近的功能是 Multi-Ticket。在 resources page of DevStudio, you have online help documents, specifically, please check on this link.