【问题标题】:EnhancedSeatMapRQ -SOAP - How to get seat availability for all cabins?EnhancedSeatMapRQ -SOAP - 如何获取所有客舱的座位可用性?
【发布时间】:2017-09-14 01:19:51
【问题描述】:

有没有办法在不知道飞机舱位/票价类型的情况下获取所有可供预订的客舱的座位可用情况?

我检查了服务文档和 WSDL 文件,但找不到任何方法。

样品请求

<ns6:EnhancedSeatMapRQ >
<ns6:SeatMapQueryEnhanced correlationID="50468727">
    <ns6:RequestType>Payload</ns6:RequestType>
    <ns6:Flight destination="TXL" origin="VIE">
        <ns6:DepartureDate>2016-02-24</ns6:DepartureDate>
        <ns6:Operating carrier="AB">8401</ns6:Operating>
        <ns6:Marketing carrier="AB">8401</ns6:Marketing>
        <ns6:ArrivalDate>2016-02-24</ns6:ArrivalDate>
    </ns6:Flight>
    <ns6:CabinDefinition>
        <ns6:RBD>M</ns6:RBD>
    </ns6:CabinDefinition>
    <ns6:Currency>USD</ns6:Currency>
    <ns6:POS company="AB" multiHost="AB">              
        <ns6:Actual city="HDQ"/>
        <ns6:ClientContext clientType="INTERACT"/>
    </ns6:POS>   
    <ns6:Client>KIOSK</ns6:Client>         
</ns6:SeatMapQueryEnhanced>        

回复:

从响应中可以看出,它只返回了一个客舱(M 级)座位可用性数据。我尝试了不同类型的请求,但我只得到一个客舱作为回应。

<ns6:EnhancedSeatMapRS >
     <ns4:ApplicationResults status="Complete"/>
     <ns6:SeatMap changeOfGaugeInd="false">
        <ns6:Equipment>320</ns6:Equipment>
        <ns6:Flight destination="TXL" origin="VIE">
           <ns6:DepartureDate>2016-02-24</ns6:DepartureDate>
           <ns6:Operating carrier="AB">8401</ns6:Operating>
           <ns6:Marketing carrier="AB">8401</ns6:Marketing>
        </ns6:Flight>
        <ns6:FareAvailQualifiers accompaniedByInfantInd="false">
           <ns6:TravellerID>2</ns6:TravellerID>
           <ns6:GivenName>QWE</ns6:GivenName>
           <ns6:Surname>QEQP</ns6:Surname>
        </ns6:FareAvailQualifiers>
        <ns6:Cabin firstRow="1" lastRow="30" classLocation="Maindeck" seatOccupationDefault="Free">
           <ns6:CabinClass>
              <ns6:RBD>M</ns6:RBD>
              <ns6:MarketingDescription>PRICE PER SEAT:USD 14.50-USD 30.10</ns6:MarketingDescription>
           </ns6:CabinClass>
           <ns6:Row>
              <ns6:RowNumber>1</ns6:RowNumber>
              <ns6:Seat occupiedInd="false" inoperativeInd="false" premiumInd="false" chargeableInd="true" exitRowInd="false" restrictedReclineInd="false" noInfantInd="false">
                 <ns6:Number>A</ns6:Number>
                 <ns6:Facilities>
                    <ns6:Detail>FrontOfCabin</ns6:Detail>
                 </ns6:Facilities>
                 <ns6:PassengerEntitlementAndPrice entitledInd="true">
                    <ns6:TravellerID>1</ns6:TravellerID>
                    <ns6:Price>
                       <ns6:TotalAmount currencyCode="USD">21.20</ns6:TotalAmount>
                    </ns6:Price>
                 </ns6:PassengerEntitlementAndPrice>
                 <ns6:PassengerEntitlementAndPrice entitledInd="true">
                    <ns6:TravellerID>2</ns6:TravellerID>
                    <ns6:Price>
                       <ns6:TotalAmount currencyCode="USD">21.20</ns6:TotalAmount>
                    </ns6:Price>
                 </ns6:PassengerEntitlementAndPrice>
                 <ns6:Bilateral>
                    <ns6:Characteristic>StandardSeat</ns6:Characteristic>
                 </ns6:Bilateral>
              </ns6:Seat>

              ........

        </ns6:Cabin>
     </ns6:SeatMap>      
  </ns6:EnhancedSeatMapRS>

【问题讨论】:

    标签: soap sabre


    【解决方案1】:

    不,座位的可用性还取决于其服务等级。我的意思是,在同一个客舱中,某些座位可能会因不同等级的服务而被阻止。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-22
      • 2021-11-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多