sabre - How can reserve Air Seats for all segments in a given PNR? -
i planning use <airseatrq>
request using sabre's soap api, according documentation, have request seat assignment each passenger on each segment user's preference.
something according example on dev studio:
<airseatrq returnhostcommand="false" timestamp="2011-10-27t15:30:00-06:00" version="2.0.0"> <!--repeat factor=0--> <seats> <seat boardingpass="true" changeofgauge="true" namenumber="1.1" number="21a" preference="an" segmentnumber="1"/> </seats> </airseatrq>
also, according request documentation, repeat factor <seats>
request zero. mean if want assign seats passengers on segments have send several requests?
ideally, have seats passengers in segments automatically assigned after reading pnr. possible through web services?
checking <passengerdetailsrq>
xml schema definition, <airseatrq>
can sent along. guess can perform standalone <airseatrq>
request, bundling passenger details easier , save making requests sabre's api.
you have send <seat\>
request each passenger in each segment of itinerary. working example did 2 legs itinerary, each leg consisting of 2 segments 2 adults:
i'm omitting of passenger details properties , focusing on airseat element:
<passengerdetailsrq version="2.3.0"> <pricequoteinfo haltonerror="true"></pricequoteinfo> <specialreqdetails> <addremarkrq> <remarkinfo> <remark code="h" type="general"> <text>thank booking mauricio cuenca airlines</text> </remark> </remarkinfo> </addremarkrq> <airseatrq> <seats> <seat namenumber="1.1" preference="an" segmentnumber="1"/> <seat namenumber="1.2" preference="an" segmentnumber="2"/> <seat namenumber="1.1" preference="an" segmentnumber="3"/> <seat namenumber="1.2" preference="an" segmentnumber="4"/> </seats> </airseatrq> <specialservicerq haltonerror="true"> <specialserviceinfo></specialserviceinfo> </specialservicerq> </specialreqdetails> <travelitineraryaddinforq haltonerror="true"> <agencyinfo></agencyinfo> <customerinfo></customerinfo> </travelitineraryaddinforq> </passengerdetailsrq>
this way, right after pnr created, seats passengers in every segment assigned , there no need further requests asking seat assignments.
Comments
Post a Comment