Skip to navigation

Register or replace a flight's operational context

Registers, or fully replaces, the operational context for one flight instance: route (origin/destination IATA codes), scheduled departure/arrival times, and optional aircraft type and cabin classes. Idempotent — sending the same request twice yields the same stored record, so it is safe to retry. Carries no passenger data by construction. The flight’s active catalog is a separate, disjoint call and is left untouched by this one.

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Path parameters

flightInstanceIdstringRequired

Request

This endpoint expects an object.
originIatastringRequired

Origin airport IATA code — exactly three uppercase letters (e.g. “LIS”).

destinationIatastringRequired

Destination airport IATA code — exactly three uppercase letters (e.g. “EWR”).

scheduledDepartureUtcdatetimeRequired
Scheduled departure time, UTC.
scheduledArrivalUtcdatetimeRequired

Scheduled arrival time, UTC — must be after scheduledDepartureUtc. Also the basis for the server-derived remaining-flight-time fallback when a search request does not supply its own remaining-minutes value (a request-supplied value always wins — the aircraft knows its own delays).

aircraftTypestring or nullOptional

Aircraft type designation (free-form, e.g. “A350-900”); null = not supplied.

cabinClasseslist of stringsOptional

The cabin classes this flight operates (e.g. “economy”, “business”). Empty = not supplied.

Response

No Content

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error