The fare class sequences created through this API become part of Record 1, which is used during itinerary pricing to match a fare and retrieve the indicators used to match Record 2 and Record 3. The full rules are published in the ATPCO Data Application for Record 1 — Fare Class Application; the key points are summarized below.
Sequence Match Fields
For a given Tariff, Carrier, and Rule, one or more Record 1 sequences may exist. At pricing time, sequences are read in ascending sequence-number order and compared to the fare being priced using the following match fields:
- Rules Tariff
- Carrier
- Rule Number
- Fare Class
- Loc 1 / Loc 2 (future phase)
- OW/RT
- Routing Number (future phase)
- Footnote (future phase)
- Effective Date / Discontinue Date
The relationship between match fields on a single sequence is AND—every match field present must be satisfied. A blank value, or 99999 for Routing Number, matches all corresponding values on the fare being priced.
Because Phase 1 only supports a single fare class per rule with generic (blank) location, routing, and footnote data, a Phase 1 sequence matches broadly—to any Loc 1/Loc 2, routing, and footnote combination—until a later phase enables those fields on the request.
Location (Market) Match — Future Phase
The following describes how Location matching will work once loc1/loc2 are enabled on the request in a later phase. It does not yet apply to Phase 1 sequences, which always carry blank location data.
When Loc 1 and Loc 2 are populated, the terminal points of the fare are matched to Loc 1 and Loc 2 on the Record 1: first city-to-Loc1/second city-to-Loc2, and, if that fails, the reverse.
Locations resolve using ATPCO’s existing location-resolve rules (Business Rule 10, “BR10”), meaning a Record 1 may match a fare market indirectly through a zone, area, state, or country.
Example: Market PAR–NYC.
- PAR = country FR, zone 210, area 2
- NYC = state US-NY, country US, zone 001, area 1
The following Loc 1/Loc 2 combinations would all be considered a match. The lowest sequence number wins.
| Loc 1 | Loc 2 |
|---|---|
| PAR | NYC |
| NYC | PAR |
| PAR | US NY |
| PAR | US |
| PAR | ZONE 001 |
| PAR | ZONE 000 |
| PAR | AREA 1 |
| US NY | PAR |
| US | PAR |
| FR | US |
| ZONE 001 | PAR |
| ZONE 000 | PAR |
| AREA 1 | PAR |
| NYC | FR |
| PAR | BLANK |
| BLANK | BLANK |
📝 For tariffs that do not require government filing, such as ATPCO Domestic Fares or Round-the-World products, Loc 1 and Loc 2 are generally left blank. This matches all locations—the same behavior every Phase 1 sequence currently has by default.
Recurring Segment (Fare Class Detail) Match
Once a Record 1 sequence is matched, processing reads the associated recurring segments—the fareClassDetail occurrences submitted in the request—in order, attempting to find a match on Directional Indicator, Passenger Type Code, minimum/maximum age, and Override Date Table 994. The relationship between recurring segments is OR—only one must be satisfied. If a matched segment fails downstream validation, processing continues to the next. If none can be matched or validated, the fare fails Record 1 processing for that fare component.
Prime RBD “Overflow” Convention
Up to eight Prime RBD codes may be submitted per fareClassDetail occurrence in rbdCodeItems. When more than eight RBDs apply to the same fare class, submit the additional RBDs in one or more additional fareClassDetail occurrences (“overflow” segments). All other data in the first occurrence—for example, PTC and the rbd999 reference—must be repeated on the overflow occurrence(s), since the relationship between occurrences remains OR.
Example: Fare class YCHILD applies for PTC CNN with ten Prime RBDs (A–J) and RBD Table 999 #123. Because only eight RBDs fit per occurrence, the request is submitted as two fareClassDetail occurrences, with the PTC and RBD 999 reference repeated on both:
| Occurrence | psgrType | rbdCodeItems | rbd999 |
|---|---|---|---|
| 1 | CNN | A, B, C, D, E, F, G, H | 123 |
| 2 | CNN | I, J | 123 |
Age Restriction Coding
Minimum/maximum age on a recurring segment is coded only in conjunction with a PTC, and only when RBD or other recurring-segment data varies by age within that PTC. General fare eligibility by age is coded separately in Category 1 — Eligibility. For example, if RBD differs for a child under age 7 versus a child age 7–12, two recurring segments are coded (PTC CNN, ages 0–6, RBD Q; PTC CNN, ages 7–12, RBD V), while Category 1 separately establishes the overall CNN eligibility range. Both the recurring segment and Category 1 must be satisfied for the fare to be valid for a given passenger.