2017-02-25 38 views
0

當執行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> 

回答

2

正如你所提到的,這是最有可能與I-HRD功能。如果您需要針對您的應用程序的需求提供此功能,則可以請求爲您啓用Saber客戶經理。

關於跳過HotelRateDescriptionLLSRQ步驟,某些費率允許您這樣做,而另一些費率則要求您在出售前顯示費率。如果您之前沒有顯示規則,則這些費率將在出售時返回錯誤。

+0

如果某些屬性需要HotelRateDescriptionLLSRQ,默認情況下是否應該啓用i-HRD?這似乎是一種奇怪的做事方式。 – systematical

+0

不,因爲最常見的工作流程是OTA_HotelAvailLLSRQ(HOT)/ HotelPropertyDescriptionLLSRQ(HOD)/ HotelRateDescriptionLLSRQ(HRD)/ OTA_HotelResLLSRQ(0H)。 如果您按照以下步驟操作,則不需要獨立的HRD。 – Bruno

+0

瞭解,但我沒有得到任何迴應這個酒店HotelRateDescriptionLLSRQ使用RPH ... – systematical