HotelRateDescriptionRS 验证格式出现严重错误 ERR.SWS.HOST.ERROR_IN_RESPONSE
Sabre Error with HotelRateDescriptionRS VERIFY FORMAT ERR.SWS.HOST.ERROR_IN_RESPONSE
在执行 HotelRateDescriptionRS 时出现以下错误:
<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>
如您所述,这很可能与 i-HRD 功能有关。如果您的应用程序需要此功能,您可以向您的 Sabre 客户经理请求为您启用该功能。
关于跳过 HotelRateDescriptionLLSRQ 步骤,有些房价允许您这样做,而其他房价则要求您在销售前展示它们。如果您之前没有显示规则,这些费率将 return 在出售时出错。
在执行 HotelRateDescriptionRS 时出现以下错误:
<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>
如您所述,这很可能与 i-HRD 功能有关。如果您的应用程序需要此功能,您可以向您的 Sabre 客户经理请求为您启用该功能。
关于跳过 HotelRateDescriptionLLSRQ 步骤,有些房价允许您这样做,而其他房价则要求您在销售前展示它们。如果您之前没有显示规则,这些费率将 return 在出售时出错。