Flight Seat Map Request is used to get information about available seats for the selected flight, and their location within the aircraft.
There are two ways to send Flight Seat Map Request:
1. In the FlightSegmentInfo element, all attributes should be taken from a FlightSegment element in Availability, Reservation or Retrieve response. The Seat Map Response will display seats for the selected flight segment.
Flight Seat Map Request by FlightSegmentInfo Sample XML
<OTA_AirSeatMapRQ Version="2.0" EchoToken="123" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7" PriceDomain="1"/>
</Source>
</POS>
<SeatMapRequests>
<SeatMapRequest>
<FlightSegmentInfo RPH="11" DepartureDateTime="2020-11-21T12:00:00" FlightNumber="907" CodeContext="supplierContext">
<DepartureAirport LocationCode="LHR"/>
<ArrivalAirport LocationCode="FRA"/>
<Equipment AirEquipType="319"/>
<MarketingAirline Code="LH"/>
</FlightSegmentInfo>
<SeatDetails>
<ResBookDesignations>
<ResBookDesignation ResBookDesigCode="M"/>
</ResBookDesignations>
</SeatDetails>
</SeatMapRequest>
</SeatMapRequests>
</OTA_AirSeatMapRQ>
2. By booking code. The following parameters can be used in request:
OTA_AirSeatMapRQ* :
*mandatory
PrimaryLangID *
For more information see Common Data Description section in Glossary.
1...1
SeatMapRequests/SeatMapRequest*
Identifies the seat map details for the flight segment.
1...1
BookingCode*
string
Contains unique ID of the offer that is returned in Flight Low Fare Search Response .
1...1
SeatMapRequests/SeatMapRequest/FlightSegmentInfo*
Contains the flight segment details for which the seat map is sent.
1...1
RPH*
integer
Identifies desired segment.
1...1
CodeContext*
string (“IATA.[supplierId]”)
Specifies the context of the LocationCode.
1...1
Flight Seat Map Request by BookingCode Sample XML
<OTA_AirSeatMapRQ Version="2.0" EchoToken="123" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7" PriceDomain="1"/>
</Source>
</POS>
<SeatMapRequests>
<SeatMapRequest BookingCode="3e8fgg5">
<FlightSegmentInfo RPH="11" CodeContext="IATA.sabre"/>
</SeatMapRequest>
</SeatMapRequests>
</OTA_AirSeatMapRQ>