AIRLINE: Airline
An airline with identification codes, hub, fleet size, and operational status.
Default definition. This article describes the default
AIRLINE 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 AIRLINE.Entity properties
| Property | Value |
|---|---|
| Entity code | AIRLINE |
| Display name | Airline |
| Plural | Airlines |
| Level | 30000 |
Use cases
Aviation entity for airlines. Two-column layout: left has identification fields (name, callsign, hub code, IATA/ICAO codes, country ISO2, country name), right has operational details (date founded, IATA prefix accounting, fleet size, status, type). No relatedlists to aircraft or flights despite being a logical parent. Referenced by AIRPLANE via objectLookup. Uses flat field names matching aviation API data (e.g. hub_code, iata_code). No 'list' property defined.
Fields
General: Basics
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name. |
callsign | text | Callsign. | |
hub_code | text | hub_code. | |
iata_code | text | iata_code. | |
icao_code | text | icao_code. | |
country_iso2 | text | country_iso2. | |
country_name | text | country_name. |
General: Location
| Field | Type | Required | Notes |
|---|---|---|---|
date_founded | text | Yes | date_founded. |
iata_prefix_accounting | text | Yes | iata_prefix_accounting. |
fleet_size | text | fleet_size. | |
status | text | status. | |
type | text | type. |
Relationships
- No declared relationships in the default definition.
Creating a Airline via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "AIRLINE",
"level": 30000,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Name",
"date_founded": "date_founded",
"iata_prefix_accounting": "iata_prefix_accounting",
"callsign": "Callsign"
}
Listing Airlines records
GET /v1/entities/AIRLINE/SUB