New Endpoints: Read/Write Dispatch Migration Details
Dear Developers,
We are pleased to introduce a development aimed at expanding the capabilities of the FL3XX API. The Migration section of the Dispatch module, specifically Emigration and Immigration, is now accessible through the API.
Endpoints Added
GET /api/external/flight/{flightId}/migration
PUT /api/external/flight/{flightId}/migration
Usage Guidelines
- Determine the relevant
flightId
(e.g. viaGET /api/external/flight/flights
). GET
the migrations information for the givenflightId
.- Use the received
ExternalMigrationsDto
as the basis for yourPUT
payload (ExternalMigrationsDto_1
). - Modify the payload as needed to incorporate your updated information.
PUT
the payload back at the same flightId to effect updates.
The ExternalMigrationDto_1 Model
Within the PUT payload, the model ExternalMigrationDto_1
describes the values for departureMigration
(Emigration) and arrivalMigration
(Immigration). The following list provides some additional detail regarding the constituent parts of an ExternalMigrationDto_1
object.
status
The migration status (OK, REQ, DO, etc.)- Note: Setting a
*_REVISED
status (e.g."OK_REVISED"
) sets visual flags in the UI to indicate to a user that some aspect of the associated migration details for this flight has changed and requires their attention before proceeding with regular dispatch operations for the flight.
- Note: Setting a
by
The entity assigned to handle this aspect of the flight.notes
The text to store in the migration's Notes field.documents
An array of objects representing documents that have been attached to this migration.id
The internal identifier for this set of migration details.permitProviderId
The internal ID of a user-assigned Trip Support entity.- If a user has assigned the migration to one of the Trip Support entities configured in their instance,
by
will be set toPERMIT_PROVIDER
, andpermitProviderId
will hold the internal ID of that Trip Support entity. - These providers are operator-defined, and are not currently indexable via the FL3XX API.
- If a user has assigned the migration to one of the Trip Support entities configured in their instance,
Specification
The full definitions for these endpoints, the models used, and example values for payloads can be found within the group /api/external/flights
on the OpenAPI Specification page (SWAGGER UI). If you encounter any challenges or have questions, contact us at [email protected].
Best regards,
FL3XX API Team