# Fare Class General Description

Use the Fare Class (Record 1) API to automate the creation of Record 1 Fare Class data. All data requests must be received in the JSON format specified by ATPCO, with field names and values following the definitions in the ATPCO Data Application for Record 1 — Fare Class Application, unless otherwise specified in this guide.

Record 1 is a fare component match record. During itinerary pricing, a fare is matched to the applicable Record 1 to obtain indicators that are subsequently used to match Record 2 and/or Record 3 data. The fare classes this API creates therefore become part of that downstream matching process once published. See [Match/Resolve Logic](https://devportal.atpco.net/content-management/default/fare-class-match-resolve-logic) for details.

## Field Names and Value Notation

- Field names and provided values must be enclosed in quotation marks—for example, `"fareClass"`.

- A field name or field value containing only blank space(s) within quotation marks is treated as an empty or blank value and is ignored in the request.

- Invalid field names in a request are ignored. Invalid field values in a request generate an error. For example, `"farClass"`—a misspelled field name—is simply ignored, while an invalid value such as `" OW"` for `"owRt"` generates an error.

- Alphabetic characters in a JSON request are converted to uppercase for processing purposes. The JSON response reflects this conversion where applicable.
