AIRFLIGHT: Flight
A flight record with airline, flight codes, departure/arrival airports, times, delays, and gates.
Default definition. This article describes the default
AIRFLIGHT definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches AIRFLIGHT.Entity properties
| Property | Value |
|---|---|
| Entity code | AIRFLIGHT |
| Display name | Flight |
| Plural | Flights |
| Level | 30000 |
Use cases
Aviation entity for individual flight records. Three-column layout: basics (airline name, IATA/ICAO codes, flight number, flight IATA/ICAO), departure details (airport, actual time, delay, gate, IATA/ICAO codes, terminal, scheduled time), and arrival details (airport, actual time, delay, gate, IATA/ICAO codes, terminal, scheduled time, baggage claim). Child of AIRHI via SUB|AIRHI|AIRFLIGHT comboKey. All fields are grid-enabled for list views. Stores historical flight data for performance analysis.
Fields
General: Basics
| Field | Type | Required | Notes |
|---|---|---|---|
airline | text | Yes | Airline Name. |
airline_iata | text | Yes | Airline IATA Code. |
airline_icao | text | Yes | Airline ICAO Code. |
flight | text | Yes | Flight Number. |
flight_icao | text | Yes | Flight ICAO Code. |
flight_iata | text | Yes | Flight IATA Code. |
General: Departure
| Field | Type | Required | Notes |
|---|---|---|---|
dep_airport | text | Yes | Departure Airport. |
dep_actual | text | Actual Departure Time. | |
dep_delay | text | Departure Delay. | |
dep_gate | text | Departure Gate. | |
dep_iata | text | Departure IATA Code. | |
dep_icao | text | Departure ICAO Code. | |
dep_terminal | text | Departure Terminal. | |
dep_scheduled | text | Scheduled Departure Time. |
General: Arrival
| Field | Type | Required | Notes |
|---|---|---|---|
arr_airport | text | Arrival Airport. | |
arr_actual | text | Actual Arrival Time. | |
arr_delay | text | Arrival Delay. | |
arr_gate | text | Arrival Gate. | |
arr_iata | text | Arrival IATA Code. | |
arr_icao | text | Arrival ICAO Code. | |
arr_terminal | text | Arrival Terminal. | |
arr_scheduled | text | Scheduled Arrival Time. | |
arr_baggage | text | Arrival Baggage Claim. |
Relationships
- No declared relationships in the default definition.
Creating a Flight via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "AIRFLIGHT",
"level": 30000,
"comboKey": "SUB:<your-sub-id>|ENT:",
"airline": "Airline Name",
"airline_iata": "Airline IATA Code",
"airline_icao": "Airline ICAO Code",
"flight": "Flight Number"
}
Listing Flights records
GET /v1/entities/AIRFLIGHT/SUB