With airline suppliers it is possible to select and purchase a seat via the Travelfusion XML API. This functionality is not currently available for all suppliers, however for suppliers that do support it, the command syntax of the requests and responses is almost identical to those of the existing booking process. this function is controlled by the CustomSupplierParameters(CSP): SeatOptions.
SeatOptions is supported by per passenger and only if seat service is supported, SeatOptions can be found in ProcessDetails response like below:
<DisplayText>Please Select Seat Options: 5477-1A(W|E|1A@12.00GBP@319),5477-1B(N|E|1A@12.00GBP@319),5477-1C(A|E|1A@12.00GBP@319),
For example 5477-1A(W|E|1A@12.00GBP@319) is one seat where:
In general, it’s the same to handle the CSP in ProcessTerms, you can check here to find more details on how to handle the Custom Supplier Parameters.
Below will show you how to use this specific parameter in details:
It’s a value_select mode, to select the seat for a passenger in ProcessTerms request, the format for the SeatOptions should be: flight number-seat number.
Note: The SeatOptions are identified by flight number. So if you submit 3 options while you got 4 segments in total, we will treat that as you booked three seats and no error or info will be returned.
<ProcessTerms ecode="2-2460" etext="Invalid seat options" edetail="5473-2A is not available" edate="08/07/2013-09:18"/>
The data is the list of all seats (unavailable seat will return with “T” in bracket ) and is comma separated.
Following is a list of seat attribute: