2017-04-20 9 views
0

여행 응용 프로그램에 전원을 공급하기 위해 saber soap api를 사용하고 있습니다.바겐 세일 파인더에서 반환 항공편에 대한 할인 코드를 추가하십시오. 최대

<OTA_AirLowFareSearchRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="3.0.0" ResponseType="OTA" ResponseVersion="3.0.0"> 
    <POS xmlns="http://www.opentravel.org/OTA/2003/05"> 
     <Source PseudoCityCode="XXXX"> 
       <RequestorID Type="1" ID="1"> 
       <CompanyName Code="TN"/> 
       </RequestorID> 
     </Source> 
     </POS> 
     <OriginDestinationInformation xmlns="http://www.opentravel.org/OTA/2003/05" RPH="1"> 
       <DepartureDateTime>2017-05-19T17:33:49</DepartureDateTime> 
         <OriginLocation LocationCode="YYZ"/> 
         <DestinationLocation LocationCode="LHR"/> 
       <TPA_Extensions> 
         <SegmentType Code="O"/> 
       </TPA_Extensions> 
     </OriginDestinationInformation> 
     <OriginDestinationInformation xmlns="http://www.opentravel.org/OTA/2003/05" RPH="2"> 
       <DepartureDateTime>2017-05-29T00:00:00</DepartureDateTime> 
        <OriginLocation LocationCode="LHR"/> 
        <DestinationLocation LocationCode="YYZ"/> 
        <TPA_Extensions> 
          <SegmentType Code="O"/> 
        </TPA_Extensions> 
     </OriginDestinationInformation> 
     <TravelPreferences xmlns="http://www.opentravel.org/OTA/2003/05"> 
       <TPA_Extensions> 
         <TripType Value="Return"/> 
       </TPA_Extensions> 
     </TravelPreferences> 
     <TravelerInfoSummary xmlns="http://www.opentravel.org/OTA/2003/05"> 
       <AirTravelerAvail> 
         <PassengerTypeQuantity Code="ADT" Quantity="1"/> 
       </AirTravelerAvail> 
     </TravelerInfoSummary> 
     <TPA_Extensions xmlns="http://www.opentravel.org/OTA/2003/05"> 
       <IntelliSellTransaction> 
         <RequestType Name="50ITINS"/> 
     </IntelliSellTransaction> 
</TPA_Extensions> 

    </OTA_AirLowFareSearchRQ> 

그러나 내가 출발을 선택하고이 요청의 결과로 별도로 항공편을 반환 할 수 없습니다이 방법을 사용하여이 새 창을 가지고 있으며, 쌍으로 항공편을 반환합니다. 이것은이 질문에 코멘트 섹션에서 언급 한 - Choose different return flight for Bargain Finder Max Flight

내 질문은 : 그래서

내가 사용자가 출발 항공편 후 반환 비행을 선택하려면, 내가 얻을 BFM에 두 개의 서로 다른 통화를 사용해야 비행. 이 경우 인 경우는 반환 비행이며 보통

당신이 전화를하려는 경우

답변

1

, 당신은 모두에서 할인 코드를 삽입해야 낮은 가격을 가지고 있기 때문에

, 어떻게 할인 코드를 적용 전화.
https://stackoverflow.com/a/43680531/3701641

:

어쨌든, 이것은 다른 유래 질문에 대한 내 대답에 덮여있다