¿嗨,有人知道为什么this服务响应“无可用性”?
我尝试过各种途径但没有成功:(
请求:
<OTA_AirLowFareSearchRQ PrimaryLangID="ENG" xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.9.7">
<POS>
<Source PseudoCityCode="9V">
<RequestorID ID="String" Type="0.AAA.X" URL="">
<CompanyName Code="9V" CodeContext="Context"/>
</RequestorID>
</Source>
</POS>
<OriginDestinationInformation >
<DepartureDateTime>2017-10-15T15:55:0</DepartureDateTime>
<OriginLocation LocationCode="AUA"/>
<DestinationLocation LocationCode="VLN"/>
</OriginDestinationInformation>
<TravelerInfoSummary>
<SeatsRequested>1</SeatsRequested>
<AirTravelerAvail>
<PassengerTypeQuantity Age="40" Quantity="1"/>
</AirTravelerAvail>
</TravelerInfoSummary>
</OTA_AirLowFareSearchRQ>
响应:
<OTA_AirLowFareSearchRS Version="1.9.7" PricedItinCount="0" BrandedOneWayItinCount="0" SimpleOneWayItinCount="0" DepartedItinCount="0" SoldOutItinCount="0" AvailableItinCount="0" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Errors>
<Error Type="MAIN" Code="DEPRECATEDRS" ShortText="This response version is deprecated and will be decommissioned once two newer versions are released."/>
<Error Type="WORKERTHREAD" Code="TRANSACTIONID" MessageClass="I" ShortText="8004820706222027676"/>
<Error Type="SERVER" Code="TTFHLC700" MessageClass="I" ShortText="27038"/>
<Error Type="SERVER" Code="MSG" MessageClass="I">No Availability</Error>
<Error Type="ERR" Code="NAV" ShortText="No Availability"/>
</Errors>
</OTA_AirLowFareSearchRS>
谢谢,我会继续努力!
答案 0 :(得分:1)
背后可能有各种原因。在任何情况下,该消息暗示在任何预订类别中实际上没有可用性(0)。但是,时间表是可用的。所以,航班尚未开通或已预订。您可能还在处理错误的Sabre分区等。
另外,我不确定你是如何用Saber设置的,但9V看起来不像我常用的PCC(一般是3个字母的城市代码)