Note 2 of 10
Encode, Decode and Availability
Before you can book, you find the right codes and then ask the GDS which flights have seats on your date.
Every booking starts with two questions: “What are the codes?” and “Which flights have seats?” The GDS answers both.
Encode and decode
- Encode: name to code. “What is the code for Peoria?” Answer: PIA.
- Decode: code to name. “What is AC?” Answer: Air Canada.
You can encode and decode cities, airports, airlines, countries, aircraft types, car companies and hotel chains.
| Task | Amadeus | Sabre | Travelport+ |
|---|---|---|---|
| Encode city | DAN PEORIA |
W/-CCPEORIA |
.CE PEORIA |
| Decode city | DAC PIA |
W/*PIA |
.CD PIA |
| Decode airline | DNA AC |
W/*AC |
.AD AC |
Source: Travelport GDS Format Comparison Guide (2025). Practise the codes themselves in the Codes module.
Availability
An availability display answers: on this date, between these two cities, which flights exist and how many seats are open in each booking class?
| Task | Amadeus | Sabre | Travelport+ |
|---|---|---|---|
| Availability, 20 Nov, London to New York | AN20NOVLONNYC |
120NOVLONNYC |
A20NOVLONNYC |
| More flights (scroll on) | MD |
1* |
A* |
| Return availability, 30 Nov | ACR30NOV |
1R30NOV |
AR30NOV |
Each flight line shows the airline and flight number, the departure and arrival airports and times, the aircraft, the number of stops, and a row of booking classes with numbers, for example J9 C4 Y9 B9 M0. The letter is the booking class and the number is how many seats you can sell in it. Most systems show a maximum of 9, so “9” means “9 or more”. A 0 means that class is closed.
Booking class is not the same as cabin. The economy cabin has many booking classes (Y, B, M, H, and so on), each linked to different fares and rules.
Neutral or carrier-specific
- Neutral availability lists flights from all airlines, sorted by the GDS rules (non-stop first, then direct, then connections).
- Carrier-specific availability asks one airline’s system directly and shows that airline’s own seat counts. Agents use it when the neutral display may be out of date.
Schedules and timetables
| Display | What it shows | Can you sell from it? |
|---|---|---|
| Availability | One date, flights and seats per class | Yes |
| Schedule | One date, flights only, no seat counts | Check your system; not the normal way to sell |
| Timetable | A range of days (for example 28 days in Travelport+) and which days each flight operates | No |
A timetable is useful when the passenger is flexible: “Which days does the airline fly to Nairobi?” Then you request availability on the chosen date and sell from that.
In Amadeus, a schedule is SN and a timetable is TN (community source). In Travelport+, a timetable is TT, for example TTAMSBKK (vendor mini guide).
Worked example
A passenger wants to fly Brussels to Athens on 22 June in economy.
- Check the codes: Brussels is BRU, Athens is ATH.
- Request availability:
AN22JUNBRUATH(Amadeus),122JUNBRUATH(Sabre) orA22JUNBRUATH(Travelport+). - Read the lines. Line 1 shows
Y9 B4 M0. You can sell Y or B on that flight, but not M. - Sell from the line (next note).
Common mistakes
- Swapping encode and decode. Remember: you encode a name.
- Treating the seat number as exact. “9” usually means 9 or more.
- Trying to sell from a timetable display. Request availability first.
Exam tip: if the question says “for a whole period” or “which days of the week”, the answer is a timetable display, not availability.