在PQ"之前得到错误,如#34;需要WP?在OTA_AirPrice的响应中,我传递SegmentSelect并尝试进行预订,没有SegmentSelect请求似乎处理正常,但如果我有SegmentSelect,则没有得到响应。
已附上我的要求& resposnse。
请求
<OTA_AirPriceRQ ReturnHostCommand="true" Version="2.3.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PriceRequestInformation Retain="true">
<OptionalQualifiers>
<FlightQualifiers>
<VendorPrefs>
<Airline Code='AI'/>
</VendorPrefs>
</FlightQualifiers>
<PricingQualifiers>
<ItineraryOptions>
<SegmentSelect Number='0001'/>
</ItineraryOptions>
<PassengerType Code='ADT' Quantity='1'/>
</PricingQualifiers>
</OptionalQualifiers>
</PriceRequestInformation>
</OTA_AirPriceRQ>
感谢任何帮助,谢谢
答案 0 :(得分:2)
**before try air-price, you should airbook(OTA_AirBookLLSRQ).**
<OTA_AirBookRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.0.0">
<OriginDestinationInformation>
<FlightSegment FlightNumber="2388" ArrivalDateTime="2016-02-27T17:10:00" DepartureDateTime="2016-02-27T15:55:00" NumberInParty="1" Status="NN" ResBookDesigCode="K">
<DestinationLocation LocationCode="BOM"/>
<MarketingAirline Code="9W" FlightNumber="2388"/>
<MarriageGrp Ind="false"/>
<OriginLocation LocationCode="IDR"/>
</FlightSegment>
<FlightSegment FlightNumber="461" ArrivalDateTime="2016-02-27T19:50:00" DepartureDateTime="2016-02-27T17:50:00" NumberInParty="1" Status="NN" ResBookDesigCode="K">
<DestinationLocation LocationCode="MAA"/>
<MarketingAirline Code="9W" FlightNumber="461"/>
<MarriageGrp Ind="true"/>
<OriginLocation LocationCode="BOM"/>
</FlightSegment>
</OriginDestinationInformation>
</OTA_AirBookRQ>
<OTA_AirPriceRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" Version="2.7.0">
<PriceRequestInformation Retain="true">
<OptionalQualifiers>
<PricingQualifiers CurrencyCode="INR">
<PassengerType Code="ADT" Quantity="1"/>
</PricingQualifiers>
</OptionalQualifiers>
</PriceRequestInformation>
</OTA_AirPriceRQ>