AIRHI: Airport
An airport with location, codes, terminals, concourses, flights, and live departure/arrival data.
Default definition. This article describes the default
AIRHI 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 AIRHI.Entity properties
| Property | Value |
|---|---|
| Entity code | AIRHI |
| Display name | Airport |
| Plural | Airports |
| Level | 30000 |
Use cases
Core aviation entity representing airports. Three-column General panel: basics (name, ident, type via indexedSelect, lat/lon/elevation), location (continent, country, region, municipality with maplatlon map), and codes/links (GPS, ICAO, IATA, local codes, home/Wikipedia URLs). Additional panels show live departures/arrivals (flight_depatures/flight_arrivals row types keyed on iata_code), terminals (relatedlist to AIRTERMINAL via SUB|AIRHI|AIRTERMINAL comboKey), concourses (relatedlist to AIRCONCOURSE with chooserFields), and historical flights (relatedlist to AIRFLIGHT with metrics).
Fields
General: Basics
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name. |
ident | text | Ident. | |
type | enum | Yes | Type. Valid ids: large_airport (Large airport), medium_airport (Medium airport), small_airport (Small airport), closed (Closed), balloonport (Balloonport), heliport (Heliport). |
lat | number | Latitude. | |
lon | number | Longitude. | |
elevation | number | Elevation (ft). |
General: Location
| Field | Type | Required | Notes |
|---|---|---|---|
continent | text | Yes | Continent. |
country_name | text | Yes | Country. |
iso_country | text | Country (ISO). | |
region_name | text | Region. | |
iso_region | text | Region (ISO). | |
region | text | Region (local). | |
municipality | text | City. |
General: Contact details
| Field | Type | Required | Notes |
|---|---|---|---|
gps_code | text | GPS code. | |
icao_code | text | ICAO code. | |
iata_code | text | IATA code. | |
local_code | text | Local code. | |
home_link | text (URL) | Airport link. | |
wikipedia_link | text (URL) | Wikipedia. |
Relationships
- Related lists:
AIRTERMINAL(formatSUB|AIRHI|AIRTERMINAL),AIRCONCOURSE(formatSUB|AIRHI|AIRCONCOURSE),AIRFLIGHT(formatSUB|AIRHI|AIRFLIGHT).
Creating a Airport via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "AIRHI",
"level": 30000,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Name",
"type": "large_airport",
"continent": "Continent",
"ident": "Ident"
}
Listing Airports records
GET /v1/entities/AIRHI/SUB