AIRROUTE: Air Route
An air route between two airports with airline details, flight number, and terminal information.
Default definition. This article describes the default
AIRROUTE 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 AIRROUTE.Entity properties
| Property | Value |
|---|---|
| Entity code | AIRROUTE |
| Display name | Air Route |
| Plural | Air Routes |
| Level | 30000 |
Use cases
Aviation entity for scheduled air routes. Three-column layout: basics (flight name, airline name/callsign, IATA/ICAO codes, flight number), departure (airport, timezone, IATA/ICAO codes, terminal), and arrival (airport, timezone, IATA/ICAO codes, terminal). Distinct from AIRFLIGHT which stores actual flight instances - this entity represents the scheduled route pattern. No 'list' property defined.
Fields
General: Basics
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Flight. |
airline_name | text | Yes | Airline Name. |
airline_callsign | text | Airline callsign. | |
airline_iata | text | Airline IATA Code. | |
airline_icao | text | Airline ICAO Code. | |
flight_number | text | Yes | Flight Number. |
General: Departure
| Field | Type | Required | Notes |
|---|---|---|---|
dep_airport | text | Yes | Departure Airport. |
dep_timezone | text | Timezone. | |
dep_iata | text | Departure IATA Code. | |
dep_icao | text | Departure ICAO Code. | |
dep_terminal | text | Departure Terminal. |
General: Arrival
| Field | Type | Required | Notes |
|---|---|---|---|
arr_airport | text | Yes | Arrival Airport. |
arr_timezone | text | Arrival Timezone. | |
arr_iata | text | Arrival IATA Code. | |
arr_icao | text | Arrival ICAO Code. | |
arr_terminal | text | Arrival Terminal. |
Relationships
- No declared relationships in the default definition.
Creating a Air Route via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "AIRROUTE",
"level": 30000,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Flight",
"airline_name": "Airline Name",
"flight_number": "Flight Number",
"airline_callsign": "Airline callsign"
}
Listing Air Routes records
GET /v1/entities/AIRROUTE/SUB