2016-08-04 5 views
0

検索リクエスト(行動:BargainFinderMax_RQ)に大人3人と児童2人を送り、それに応答して(アクション:BargainFinderMax_RS)、私たちは大人5人を受け取ります。検索リクエストと応答の旅客タイプの不一致

セイバー情報として返します。

CNNは適用されません - USED ADT FARE - VERIFY制限事項

私は任意のパラメータがあるかどうかお尋ねしたいのはセイバーそれは私が受け取るようになる提供していることを供給指定された乗客の種類のみ。

編集:ここでははBargainFinderMaxRQです:

<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
    <OTA_AirLowFareSearchRQ PrimaryLangID="En" Version="1.8.5" ResponseType="OTA" ResponseVersion="1.8.5" xmlns="http://www.opentravel.org/OTA/2003/05"> 
     <OriginDestinationInformation RPH="1"> 
     <DepartureDateTime>2016-08-26T12:00:00</DepartureDateTime> 
     <DepartureWindow>00002359</DepartureWindow> 
     <OriginLocation LocationCode="KRR" /> 
     <DestinationLocation LocationCode="DLM" /> 
     </OriginDestinationInformation> 
     <OriginDestinationInformation RPH="2"> 
     <DepartureDateTime>2016-09-02T12:00:00</DepartureDateTime> 
     <DepartureWindow>00002359</DepartureWindow> 
     <OriginLocation LocationCode="DLM" /> 
     <DestinationLocation LocationCode="KRR" /> 
     </OriginDestinationInformation> 
     <TravelPreferences> 
     <TPA_Extensions> 
      <DiversityParameters AdditionalNonStopsNumber="10" /> 
     </TPA_Extensions> 
     </TravelPreferences> 
     <TravelerInfoSummary> 
     <SeatsRequested>5</SeatsRequested> 
     <AirTravelerAvail> 
      <PassengerTypeQuantity Code="ADT" Quantity="3" /> 
      <PassengerTypeQuantity Age="8" Code="CNN" Quantity="2" /> 
     </AirTravelerAvail> 
     </TravelerInfoSummary> 
    </OTA_AirLowFareSearchRQ> 
    </s:Body> 
+0

あなたはBFMリクエストを共有することはできますか? – fcarreno

+0

@fcarrenoコメントありがとうございました。編集 –

+0

同じリクエストを使用してエラーを再現できません。 「空きなし」エラーが返されました。それは私のPCCに関連する国に関連しているかもしれませんが、とにかく、OTA_AirLowFareSearchRQの後の最初のものとしてPOS要素が欠落しているようです。 あなたはこのようにそれを含めることができます。 <ソースPseudoCityCode = "[YourPCCHere]"> <会社名コード= "TN" /> ..... – fcarreno

答えて

1

あなたはXOFares要素を使用する必要があります。

<!--"Value" (required) Indicator for whether to return only fares with a passenger type the same as the passenger type specified in the request.--> 
<!--Value="true" Returns only fares with a passenger type the same as the passenger type specified in the request.--> 
<!--Value="false" (default) Uses standard Bargain Finder Max logic.--> 
<XOFares Value="true"/> 
関連する問題