当执行HotelRateDescriptionRS我收到以下错误:军刀误差HotelRateDescriptionRS校验FORMAT ERR.SWS.HOST.ERROR_IN_RESPONSE
<stl:ApplicationResults status="NotProcessed">
<stl:Error type="BusinessLogic" timeStamp="2017-02-25T15:33:32-06:00">
<stl:SystemSpecificResults>
<stl:Message code="0">VERIFY FORMAT</stl:Message>
<stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
</stl:SystemSpecificResults>
</stl:Error>
</stl:ApplicationResults>
</HotelRateDescriptionRS></soap-env:Body></soap-env:Envelope>
当通过在特定的费率计划的候选人:
<RatePlanCandidates>
<RatePlanCandidate CurrencyCode="USD" DCA_ProductCode="J1KB93"/>
</RatePlanCandidates>
如果我只是通过在刚刚RPH值:
<RatePlanCandidates>
<RatePlanCandidate CurrencyCode="USD" RPH="004" />
</RatePlanCandidates>
我得到一个有效的反应,但该响应不包含任何DCA_Cancellation或RoomRate信息。
我在这里看到的文档中关于i-HRD的一些信息:https://developer.sabre.com/docs/read/soap_apis/hotel/search/hotel_rate_description
鉴于此,我们甚至需要从HotelRateDescriptionRS信息,继续处理预订吗?如果没有信息返回,我可以跳过这部分,并继续使用PassengerDetailsRQ和OTA_HotelResRQ吗?
HotelRateDescriptionLLSRQ请求:
<HotelRateDescriptionRQ 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.2.0">
<AvailRequestSegment>
<GuestCounts Count="2"/>
<HotelSearchCriteria>
<Criterion>
<HotelRef HotelCode="0111622"/>
</Criterion>
</HotelSearchCriteria>
<RatePlanCandidates>
<RatePlanCandidate CurrencyCode="USD" DCA_ProductCode="J1KB93"/>
</RatePlanCandidates>
<TimeSpan End="03-14" Start="03-10" />
</AvailRequestSegment>
</HotelRateDescriptionRQ>
HotelPropertyDescriptionLLSRQ请求
<HotelPropertyDescriptionRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" Version="2.0.1">
<AvailRequestSegment>
<GuestCounts Count="2" />
<HotelSearchCriteria>
<Criterion>
<HotelRef HotelCode="0111622" />
</Criterion>
</HotelSearchCriteria>
<TimeSpan Start="03-10" End="03-14" />
</AvailRequestSegment>
</HotelPropertyDescriptionRQ>
如果某些属性需要HotelRateDescriptionLLSRQ,默认情况下是否应该启用i-HRD?这似乎是一种奇怪的做事方式。 – systematical
不,因为最常见的工作流程是OTA_HotelAvailLLSRQ(HOT)/ HotelPropertyDescriptionLLSRQ(HOD)/ HotelRateDescriptionLLSRQ(HRD)/ OTA_HotelResLLSRQ(0H)。 如果您按照以下步骤操作,则不需要独立的HRD。 – Bruno
了解,但我没有得到任何回应这个酒店HotelRateDescriptionLLSRQ使用RPH ... – systematical