sabre - EnhancedSeatMapRQ -SOAP - How to get seat availability for all cabins? -
is there way seat availability cabins available booking without knowing aircraft class/fare types?
i checked service documentation , wsdl file couldn't find way that.
sample request
<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>
response:
as can see response returned 1 cabin (class m) seat availability data. have tried different types of requests 1 cabin in response.
<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>
Comments
Post a Comment