BargainFinderMaxRQ备用天响应无可用性错误

时间:2018-08-16 11:41:09

标签: sabre

我试图从BargainFinderMaxRQ获得隔天的结果,例如3天或3天以内。它总是显示No Availability error作为响应。顺便说一句,简单的请求可以完美地工作。请,有人可以帮忙吗?

API请求:

    <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
        </SOAP-ENV:Header><SOAP-ENV:Body><OTA_AirLowFareSearchRQ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Target="Production" Version="4.2.0" ResponseType="OTA" ResponseVersion="4.2.0">
    <POS>
        <Source PseudoCityCode="8YXD">
        <RequestorID ID="1" Type="1">
            <CompanyName Code="TN" />
        </RequestorID>
        </Source>
    </POS>
   <OriginDestinationInformation RPH="1">
        <DepartureDateTime>2018-08-23T00:00:00</DepartureDateTime>
        <OriginLocation LocationCode="DXB" />
        <DestinationLocation LocationCode="KHI" />
        <TPA_Extensions>
        <DateFlexibility NbrOfDays="2"/>
            <SegmentType Code="O" />
        </TPA_Extensions>
    </OriginDestinationInformation>
    <OriginDestinationInformation RPH="2">
        <DepartureDateTime>2018-08-30T00:00:00</DepartureDateTime>
        <OriginLocation LocationCode="KHI" />
        <DestinationLocation LocationCode="DXB" />
        <TPA_Extensions>
        <DateFlexibility NbrOfDays="2"/>
            <SegmentType Code="O" />
        </TPA_Extensions>
    </OriginDestinationInformation>
    <TravelPreferences ValidInterlineTicket="true" MaxStopsQuantity="0">

        <CabinPref PreferLevel="Preferred" Cabin="Y" />
        <TPA_Extensions>
            <TripType Value="Return" />
            <LongConnectTime Min="780" Max="1200" Enable="true"/>
            <ExcludeCallDirectCarriers Enabled="true"/>
        </TPA_Extensions>
    </TravelPreferences>
    <TravelerInfoSummary>
        <SeatsRequested>1</SeatsRequested>
        <AirTravelerAvail>
               <PassengerTypeQuantity Code="ADT" Quantity="1" />
        </AirTravelerAvail>
        <PriceRequestInformation CurrencyCode="PKR" >
    <TPA_Extensions>
    </TPA_Extensions>
    </PriceRequestInformation>
    </TravelerInfoSummary>

    <TPA_Extensions>
        <IntelliSellTransaction Debug="0">
            <RequestType Name="ALTDATES"/>
        </IntelliSellTransaction>
    </TPA_Extensions>

</OTA_AirLowFareSearchRQ></SOAP-ENV:Body></SOAP-ENV:Envelope>

2 个答案:

答案 0 :(得分:1)

这需要由托马斯提到的客户经理激活。

答案 1 :(得分:1)

请进行三个更改,它将可以正常工作

1)将操作名称设置为BargainFinderMax_ADRQ

<eb:Service eb:type="OTA">BargainFinderMax_ADRQ</eb:Service>
<eb:Action>BargainFinderMax_ADRQ</eb:Action>

2)设置灵活性的天数

<DateFlexibility NbrOfDays="1"/> OR
<DateFlexibility NbrOfDays="3"/> OR
<DateFlexibility NbrOfDays="7"/>

3)设置请求类型名称

<RequestType Name="AD1"/> OR
<RequestType Name="AD3"/> OR
<RequestType Name="AD7"/>