使用HotelRateDescriptionRS验证格式的Saber错误ERR.SWS.HOST.ERROR_IN_RESPONSE

时间:2017-02-25 21:54:23

标签: sabre

在进行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>

1 个答案:

答案 0 :(得分:2)

正如您所提到的,这很可能与i-HRD功能有关。如果您需要针对应用程序的要求使用此功能,则可以请求为您的Sabre客户经理启用此功能。

关于跳过HotelRateDescriptionLLSRQ步骤,某些费率允许您这样做,而其他费用则要求您在销售之前显示它们。如果您之前没有显示规则,那么这些费率将在卖出时返回错误。