Flow to book seats in your booking:
1- seats/availability: (this method) to get the seats maps for your segments
2- seats/confirm: to book the seats selected from the previous maps
In order to get the seats maps for a booking you must invoke this method 'seats/availability'.
You will find the seat map for every booking line in solutions/segments/seatMap.
a) Check the map structure through the columns, first_row and last_row tags.
Position Codes:
A: Aisle
W: Window
b) Check the availability for the seats through seats/avail.
Only the seats available are returned.
You can find more characteristics under characteristics.
Example:
"characteristics": {
"E": "Exit row seat",
"L": "Leg space seat",
"CH": "Chargeable seats"
},
Remember!: Use the method 'seats/select' to add the seat(s) to your booking.
You have 5 minutes to confirm your seats since seats/availability was called.
If you are looking to add other kind of service such baggage, please check the 'catalogue' methods.
Examples:
{{url}}/api/v2/transport/seats/availability/{{bookingID}}
{{url}}/api/v2/transport/seats/availability/{{bookingID}}?locator=ABCDEF