# FL3XX API

Platform Overview

The FL3XX API provides seamless access to a comprehensive suite of aviation services, enabling partners to integrate and manage flight information, airport details, and operational functionalities. Built with performance and reliability in mind, our API serves as the foundation for your aviation technology infrastructure.

Flight Information

Access detailed flight data, including schedules, crew assignments, passenger details, and real-time updates.

Airport Management

Retrieve information about airports, including ground services, fuel availability, and operational notes.

Fleet Operations

Manage aircraft assets, maintenance schedules, and operational fleet utilization.

Quotes & Bookings

Create, update, and manage quotes and bookings with flexible pricing and multi-sector support.

Financial Operations

Handle invoicing, payments, financial reporting, and integrated accounting workflows.

Document Management

Handle document processing, categorization, and seamless workflow integration.

Version: 1.8.0 License: MIT ## Servers Test Server ``` https://test.fl3xx.com ``` ## Security ### API_AUTHENTICATION Type: apiKey In: header Name: X-Auth-Token ## Download OpenAPI description [FL3XX API](https://developer.fl3xx.com/_bundle/reference/@v1/index.yaml) ## Accounting This group of endpoints is designed to manage accounting operations such as invoice management, payment processing, and general ledger entries. These endpoints are essential for ensuring accurate financial records and efficient financial operations. **Key Features** - **Invoice Management:** Create, retrieve, and update invoices. - **Payment Processing:** Handle payment transactions and manage payment records. - **General Ledger:** Access and update general ledger entries for comprehensive financial tracking.
**Business Value** - **Financial Accuracy:** Ensures accurate and up-to-date financial records, minimizing errors and discrepancies. - **Operational Efficiency:** Streamlines financial operations, reducing the time and effort required to manage accounting tasks. - **Compliance:** Helps meet regulatory requirements by maintaining detailed and accurate financial records.
**Use Cases** - **Financial Management:** Efficiently manage financial transactions and records, ensuring all financial data is current and accurate. - **Audit Preparation:** Maintain detailed financial records to facilitate audit processes and ensure compliance. - **Budgeting and Forecasting:** Use financial data to create budgets and forecast future financial performance.
**Why Use These Endpoints** Utilizing the endpoints under the `Accounting` tag helps to streamline financial operations by ensuring data integrity and accuracy. They are essential tools for maintaining financial health and compliance within the organization. ### Get an Accounting Document - [GET /api/external/accounting/attachments/{uuid}](https://developer.fl3xx.com/reference/accounting/getaccountingdocumentbyuuid.md): Get an accounting document using its UUID. ### Get Bookings - [GET /api/external/quote/bookings](https://developer.fl3xx.com/reference/accounting/getbookings.md): Searches for bookings using the provided filters. ### Get a Booking - [GET /api/external/accounting/booking/{reference}](https://developer.fl3xx.com/reference/accounting/getaccountentriesbybookingid.md): Fetches details of a booking using its ID. Note: Once this endpoint is executed for a booking, the expenses on that booking can no longer be deleted, not even in the FL3XX front end. ### Get Invoices - [GET /api/external/accounting/booking/{reference}/invoices](https://developer.fl3xx.com/reference/accounting/getbookinginvoicesbybookingid.md): Fetches all invoices associated with a specific booking. ### Get Split Pricing - [GET /api/external/accounting/booking/{reference}/split](https://developer.fl3xx.com/reference/accounting/getbookingsplitinfobybookingid.md): Fetches split pricing information (cost, owner share, profitability) for a specific booking. ### Get Flight Expenses - [GET /api/external/accounting/flights/{flightId}/expenses](https://developer.fl3xx.com/reference/accounting/getflightexpenses.md): Returns all expenses associated with a specific flight. ### Get Quote Expenses - [GET /api/external/accounting/quotes/{quoteId}/expenses](https://developer.fl3xx.com/reference/accounting/getquoteexpenses.md): Returns all expenses for a specific quote, grouped by flight. ### Add GL Code to Account Entry - [PUT /api/external/accounting/{accountEntryId}](https://developer.fl3xx.com/reference/accounting/putaccountcodetoaccountentry.md): Adds a General Ledger (GL) code to an existing account entry identified by its ID. ### Get Invoice Payments - [GET /api/external/accounting/invoice-payments](https://developer.fl3xx.com/reference/accounting/getinvoicepayments.md): Fetches payments associated with a booking and/or invoice. ### Creates an Invoice Payment - [POST /api/external/accounting/invoice-payments](https://developer.fl3xx.com/reference/accounting/postinvoicepayment.md): Creates a new payment associated with a booking and/or invoice. ### Get an Invoice Payment - [GET /api/external/accounting/invoice-payments/{paymentId}](https://developer.fl3xx.com/reference/accounting/getinvoicepaymentbyid.md): Retrieves a booking and/or invoice payment by its ID. ### Update an Invoice Payment - [PUT /api/external/accounting/invoice-payments/{paymentId}](https://developer.fl3xx.com/reference/accounting/putinvoicepaymentbyid.md): Updates a booking and/or invoice payment information. ### Delete an Invoice Payment - [DELETE /api/external/accounting/invoice-payments/{paymentId}](https://developer.fl3xx.com/reference/accounting/deleteinvoicepaymentbyid.md): Deletes a booking and/or invoice payment. ### Add Invoice Payment Document - [POST /api/external/accounting/invoice-payments/{paymentId}/documents](https://developer.fl3xx.com/reference/accounting/postinvoicepaymentdocument.md): Associates a (PDF, JPG, PNG or JPEG) file to a booking and/or invoice payment. ### Get Invoice Payment Document - [GET /api/external/accounting/invoice-payments/{paymentId}/documents/{uuid}](https://developer.fl3xx.com/reference/accounting/getinvoicepaymentdocumentbyuuid.md): Fetches a document associated with a booking and/or invoice payment by its UUID. ### Delete Invoice Payment Document - [DELETE /api/external/accounting/invoice-payments/{paymentId}/documents/{uuid}](https://developer.fl3xx.com/reference/accounting/deleteinvoicepaymentdocumentbyuuid.md): Deletes a document associated with a booking and/or invoice payment by its UUID. ### Get Crew expenses - [GET /api/external/crew-expenses](https://developer.fl3xx.com/reference/accounting/getcrewexpenses.md): This endpoint allows users to retrieve a list of expenses associated with crew members. It provides detailed information about each expense, including the type, amount, date, and associated crew member. Important Filtering Rules: - Only expenses where the crew member has been set in the 'Reimbursable To' field will be returned. - LANDING and PARKING expense types are intentionally excluded and will never appear in results. - Most expense types require proper linking to related records (flights, users, duties, aircraft, etc.) to be included. Expenses with missing or broken links will be excluded. - Expense types that are always returned (no linking required): NAVIGATION_FEE, VIP_LOUNGE, PER_DIEMS. For a complete guide on which expense types are returned and why some expenses may be missing, see the Crew Expenses Guide. Example Use Case: A finance manager wants to review all expenses submitted by crew members for a specific month. By using this endpoint, they can fetch a comprehensive list of expenses, filter them by date, and analyze the data to ensure all expenses are accounted for and within the budget. ### Download Crew Expense Document - [GET /api/external/crew-expenses/{crewExpenseId}/documents/{documentUuid}](https://developer.fl3xx.com/reference/accounting/getcrewexpensedocument.md): This endpoint allows users to download a document associated with a specific crew expense. It requires the crewExpenseId and documentUuid as path parameters to identify the specific document to be downloaded. Example Use Case: A finance manager needs to review the receipts submitted by a crew member for a specific expense. By using this endpoint, they can download the receipt document associated with the crew expense for further review and verification. ### Get Accounting Projects - [GET /api/external/accounting-projects](https://developer.fl3xx.com/reference/accounting/accountingprojectsget.md): This endpoint retrieves a paginated list of accounting projects. It allows users to manage and access project details efficiently, supporting financial tracking and project organization. Example Use Case: A finance manager can use this endpoint to retrieve a list of accounting projects for review, ensuring all projects are tracked and managed effectively. ### Create an Accounting Project - [POST /api/external/accounting-projects](https://developer.fl3xx.com/reference/accounting/accountingprojectspost.md): This endpoint allows users to create a new accounting project. It supports financial tracking and project organization by enabling the addition of project details. Example Use Case: A finance manager can use this endpoint to create a new accounting project, ensuring all financial activities are properly tracked and managed. ### Update an Accounting Project - [PUT /api/external/accounting-projects/{projectId}](https://developer.fl3xx.com/reference/accounting/accountingprojectsput.md): This endpoint allows users to update an existing accounting project. It supports financial tracking and project organization by enabling modifications to project details. Example Use Case: A finance manager can use this endpoint to update details of an accounting project, ensuring all financial activities are properly tracked and managed. ### Get Expense Attachments - [GET /api/external/accounting/expenses/{expenseId}/attachments](https://developer.fl3xx.com/reference/accounting/getexpenseattachments.md): Returns the attachments of an expense, with the UUID and file name of each. Only attachments of expenses on flights the operator of the token can access are returned. ### Get Bookings - [GET /api/external/quote/bookings](https://developer.fl3xx.com/reference/quote-booking/getbookings.md): Searches for bookings using the provided filters. ### Get Quote Expenses - [GET /api/external/accounting/quotes/{quoteId}/expenses](https://developer.fl3xx.com/reference/quote-expenses/getquoteexpenses.md): Returns all expenses for a specific quote, grouped by flight. ## Quote Booking Book, confirm, update and cancel quotes, search bookings and update booking payment status. Book and confirm are also listed under Flights as New Flights. ### Get Bookings - [GET /api/external/quote/bookings](https://developer.fl3xx.com/reference/accounting/getbookings.md): Searches for bookings using the provided filters. ### Create a Booked Quote - [POST /api/external/quote/book](https://developer.fl3xx.com/reference/new-flights/postquotebook.md): This endpoint creates a new booked quote. The booking and its flights are created in one call. Note: Creating a booked quote via this endpoint does NOT generate a notification in Sales and sends no email notifications. Key Features - Creation: Creates the booking and its flights with the provided details. - Flight number: A flight number sent in legs[].flightNumber is set on the created flight. - Duplicates: A request with a reference that already exists returns 400. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Update a Booked Quote - [PUT /api/external/quote/book/{reference}](https://developer.fl3xx.com/reference/new-flights/putquotebookbybookingreference.md): Updates a booked quote using its booking reference. If you modify the departure time, you need to make sure to update the arrival time too since FL3XX only calculates it at the first time. ### Cancel a Booked Quote - [DELETE /api/external/quote/book/{reference}](https://developer.fl3xx.com/reference/new-flights/deletequotebookbybookingreference.md): Cancels a booked quote using its booking reference. ### Create a Confirmed Quote - [POST /api/external/quote/confirm](https://developer.fl3xx.com/reference/new-flights/postquoteconfirm.md): This endpoint creates a new booking with confirmed status (BOOKING_SENT workflow state) and assigns it a booking number. It mirrors POST /api/external/quote/book and accepts/returns the same schema. Note: Creating a confirmed quote via this endpoint does NOT generate a notification in Sales and sends no email notifications. Key Features - Creation: Creates the booking and its flights with the provided details. - Confirmation: The booking is created in the BOOKING_SENT workflow state and receives a booking number. - Flight number: A flight number sent in legs[].flightNumber is set on the created flight. - Duplicates: A request with a reference that already exists returns 409. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Update a Confirmed Quote - [PUT /api/external/quote/confirm/{reference}](https://developer.fl3xx.com/reference/new-flights/putquoteconfirmbybookingreference.md): Updates a confirmed (booked) quote using its booking reference. If you modify the departure time, you need to make sure to update the arrival time too since FL3XX only calculates it at the first time. This endpoint mirrors PUT /api/external/quote/book/{reference} and accepts/returns the same schema. ### Cancel a Confirmed Quote - [DELETE /api/external/quote/confirm/{reference}](https://developer.fl3xx.com/reference/new-flights/deletequoteconfirmbybookingreference.md): Cancels a confirmed (booked) quote using its booking reference. This endpoint mirrors DELETE /api/external/quote/book/{reference} and accepts/returns the same schema. ### Get Bookings - [GET /api/external/quote/bookings](https://developer.fl3xx.com/reference/quote-booking/getbookings.md): Searches for bookings using the provided filters. ### Create a Booked Quote - [POST /api/external/quote/book](https://developer.fl3xx.com/reference/quote-booking/postquotebook.md): This endpoint creates a new booked quote. The booking and its flights are created in one call. Note: Creating a booked quote via this endpoint does NOT generate a notification in Sales and sends no email notifications. Key Features - Creation: Creates the booking and its flights with the provided details. - Flight number: A flight number sent in legs[].flightNumber is set on the created flight. - Duplicates: A request with a reference that already exists returns 400. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Update a Booked Quote - [PUT /api/external/quote/book/{reference}](https://developer.fl3xx.com/reference/quote-booking/putquotebookbybookingreference.md): Updates a booked quote using its booking reference. If you modify the departure time, you need to make sure to update the arrival time too since FL3XX only calculates it at the first time. ### Cancel a Booked Quote - [DELETE /api/external/quote/book/{reference}](https://developer.fl3xx.com/reference/quote-booking/deletequotebookbybookingreference.md): Cancels a booked quote using its booking reference. ### Create a Confirmed Quote - [POST /api/external/quote/confirm](https://developer.fl3xx.com/reference/quote-booking/postquoteconfirm.md): This endpoint creates a new booking with confirmed status (BOOKING_SENT workflow state) and assigns it a booking number. It mirrors POST /api/external/quote/book and accepts/returns the same schema. Note: Creating a confirmed quote via this endpoint does NOT generate a notification in Sales and sends no email notifications. Key Features - Creation: Creates the booking and its flights with the provided details. - Confirmation: The booking is created in the BOOKING_SENT workflow state and receives a booking number. - Flight number: A flight number sent in legs[].flightNumber is set on the created flight. - Duplicates: A request with a reference that already exists returns 409. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Update a Confirmed Quote - [PUT /api/external/quote/confirm/{reference}](https://developer.fl3xx.com/reference/quote-booking/putquoteconfirmbybookingreference.md): Updates a confirmed (booked) quote using its booking reference. If you modify the departure time, you need to make sure to update the arrival time too since FL3XX only calculates it at the first time. This endpoint mirrors PUT /api/external/quote/book/{reference} and accepts/returns the same schema. ### Cancel a Confirmed Quote - [DELETE /api/external/quote/confirm/{reference}](https://developer.fl3xx.com/reference/quote-booking/deletequoteconfirmbybookingreference.md): Cancels a confirmed (booked) quote using its booking reference. This endpoint mirrors DELETE /api/external/quote/book/{reference} and accepts/returns the same schema. ### Update Booking Payment Status - [PUT /api/external/quote/bookings/payment/{reference}](https://developer.fl3xx.com/reference/quote-booking/putbookingpaymentstatusbybookingreference.md): Updates the payment status of a booking using its reference. ## Quote Expenses Expenses recorded against a quote. Also listed under Accounting. ### Get Quote Expenses - [GET /api/external/accounting/quotes/{quoteId}/expenses](https://developer.fl3xx.com/reference/accounting/getquoteexpenses.md): Returns all expenses for a specific quote, grouped by flight. ### Get Quote Expenses - [GET /api/external/accounting/quotes/{quoteId}/expenses](https://developer.fl3xx.com/reference/quote-expenses/getquoteexpenses.md): Returns all expenses for a specific quote, grouped by flight. ## Accounts Operations related to accounts. ### Get Accounts - [GET /api/external/user/account](https://developer.fl3xx.com/reference/accounts/getaccounts.md): Fetches a list of accounts. ### Creates an account - [POST /api/external/user/account](https://developer.fl3xx.com/reference/accounts/postaccount.md): Creates a new account ### Get an Account - [GET /api/external/user/account/{externalReference}](https://developer.fl3xx.com/reference/accounts/getaccountbyreference.md): Fetches details of an account using its externalReference ### Update an account - [PUT /api/external/user/account/{externalReference}](https://developer.fl3xx.com/reference/accounts/putaccount.md): Updates an existing account using its externalReference ### Delete an account - [DELETE /api/external/user/account/{externalReference}](https://developer.fl3xx.com/reference/accounts/deleteaccount.md): Deletes (makes inactive) an existing account using its reference ## Airports Access and manage airport information. ### Get an Airport - [GET /api/external/airports/{airportCode}](https://developer.fl3xx.com/reference/airports/getairportbycode.md): Fetches details of an airport using its ICAO, IATA, or FAA code. ### Get Airport Costs - [GET /api/external/airports/{airportCode}/costs](https://developer.fl3xx.com/reference/airports/getairportcost.md): Fetches costs associated with an airport using its ICAO, IATA, or FAA code. ### Get Airport Crew - [GET /api/external/airports/{airportCode}/crew](https://developer.fl3xx.com/reference/airports/getairportcrew.md): Fetches a list of crew members associated with an airport using its ICAO, IATA, or FAA code. ### Get Airport Fuels - [GET /api/external/airports/{airportCode}/fuels](https://developer.fl3xx.com/reference/airports/getairportfuelsbyairportcode.md): Fetches a list of fuels available at an airport using its ICAO, IATA, or FAA code. ### Get Shared Fuels - [GET /api/external/airports/{airportCode}/fuels/shared/{operatorId}](https://developer.fl3xx.com/reference/airports/getairportsharedfuels.md): Fetches a list of shared fuels available at an airport using the operator ID and the airport's ICAO, IATA, or FAA code. ### Get Airport Location - [GET /api/external/airports/{airportCode}/location](https://developer.fl3xx.com/reference/airports/getairportlocationbyairportcode.md): Fetches the location details of an airport using its ICAO, IATA, or FAA code. ### Get an Airport Operational Note - [GET /api/external/airports/{airportCode}/operationalNote/{id}](https://developer.fl3xx.com/reference/airports/getairportoperationalnotebyairportcodeandoperationalnoteid.md): Fetches the operational note of an airport using its ICAO, IATA, or FAA code. ### Get Operational Notes - [GET /api/external/airports/{airportCode}/operationalNotes](https://developer.fl3xx.com/reference/airports/getairportoperationalnotesbetweenusingget.md): Fetches a list of operational notes associated with an airport using its ICAO, IATA, or FAA code. ## Aircraft This group of endpoints is designed to manage aircraft details, maintenance schedules, and pricing information. These endpoints are essential for ensuring the efficient operation and management of aircraft within the aviation industry. **Key Features** - **Details Management:** Access and update detailed information about aircraft, including specifications and configurations. - **Maintenance:** Manage maintenance schedules and records to ensure aircraft are in optimal condition. - **Pricing:** Retrieve and update pricing information for aircraft operations and services.
**Business Value** - **Operational Efficiency:** Streamlines the management of aircraft details and maintenance, reducing downtime and operational disruptions. - **Cost Management:** Provides accurate and up-to-date pricing information, aiding in financial planning and cost control. - **Compliance:** Ensures that maintenance schedules and records are up-to-date, helping to meet regulatory requirements.
**Use Cases** - **Fleet Management:** Efficiently manage a fleet of aircraft, ensuring all details and maintenance records are current. - **Maintenance Planning:** Schedule and track maintenance activities to minimize aircraft downtime and ensure safety. - **Financial Planning:** Use pricing information to forecast operational costs and manage budgets effectively.
**Why Use These Endpoints** Utilizing the endpoints under the `Aircraft` tag helps to streamline the management of aircraft operations by ensuring data integrity and accuracy. They are essential tools for maintaining operational efficiency and compliance within the aviation industry. ### Get Fleet - [GET /api/external/aircraft](https://developer.fl3xx.com/reference/aircraft/getaircraft.md): Fetches the list of aircraft in the fleet. ### Get Aircraft Picture - [GET /api/external/aircraft/picture/{uuid}](https://developer.fl3xx.com/reference/aircraft/getaircraftpicture.md): Fetches an aircraft picture using the document's uuid. ### Get Aircraft Thumbnail Picture - [GET /api/external/aircraft/picture/{uuid}/thumbnail](https://developer.fl3xx.com/reference/aircraft/loadthumbnailusingget.md): Fetches a thumbnail (100x100 px) of an aircraft picture using the document's UUID. ### Get an Aircraft - [GET /api/external/aircraft/{tailNumber}](https://developer.fl3xx.com/reference/aircraft/getaircraftbyid.md): Fetches details of an aircraft using its tail number. ### Get Aircraft Hold Items - [GET /api/external/aircraft/{tailNumber}/holditems](https://developer.fl3xx.com/reference/aircraft/getaircraftholditems.md): Fetches hold items associated with an aircraft using its tail number. ### Get Aircraft Pricing - [GET /api/external/aircraft/{tailNumber}/pricing](https://developer.fl3xx.com/reference/aircraft/getaircraftpricingdetails.md): Fetches pricing details of an aircraft using its tail number. ### Get Aircraft Schedule - [GET /api/external/aircraft/{tailNumber}/schedule](https://developer.fl3xx.com/reference/aircraft/getaircraftschedule.md): Fetches the schedule of an aircraft using its tail number. Limited to 60 days in the past and 60 days in the future. If an invalid date is provided, the default (-60 or +60) days will be returned. Aircraft tasks in FL3XX represent events that occur at a single location. This includes activities like maintenance, AOG (Aircraft On Ground) situations, and crew unavailability. Example: If you're scheduling maintenance for an aircraft at Rome's Fiumicino Airport, you would enter the following: * Departure Airport: Fiumicino (FCO) * Departure Time: The date and time the maintenance starts. * Arrival Airport: Fiumicino (FCO) * Arrival Time: The date and time the maintenance is expected to end. ### Get Aircraft Maintenance Schedule by Aircraft ID - [GET /api/external/aircraft/{aircraftId}/maintenanceSchedules](https://developer.fl3xx.com/reference/aircraft/getaircraftmaintenanceschedules.md): Fetches the maintenance schedule of an aircraft using its ID. ### Update Aircraft Maintenance Schedule - [PUT /api/external/aircraft/{aircraftId}/maintenanceSchedules](https://developer.fl3xx.com/reference/aircraft/putaircraftmaintenanceschedules.md): Updates the maintenance schedule of an aircraft. ### Delete Aircraft Maintenance Schedule - [DELETE /api/external/aircraft/{aircraftId}/maintenanceSchedules/{maintenanceScheduleId}](https://developer.fl3xx.com/reference/aircraft/deleteaircraftmaintenanceschedules.md): Deletes an aircraft maintenance schedule by aircraft ID and maintenance schedule ID. ## Booking Itinerary (Legs) Operations related to flight itinerary legs. ### Get Booking Itinerary - [GET /api/external/leg/{reference}](https://developer.fl3xx.com/reference/booking-itinerary-(legs)/getbookinglegsbybookingreference.md): Fetches the itinerary (legs) of a booking using its quoteId. ### Submit Booking Itinerary - [POST /api/external/leg/{reference}](https://developer.fl3xx.com/reference/booking-itinerary-(legs)/postbookinglegsbybookingreference.md): Submits the itinerary (legs) of a booking using its quoteId. ### Update Booking Itinerary - [PUT /api/external/leg/{reference}/{flightId}](https://developer.fl3xx.com/reference/booking-itinerary-(legs)/putbookinglegsbybookingreferenceandflightid.md): Updates the itinerary (legs) of a booking using its quoteId and flight ID. ### Delete Booking Itinerary - [DELETE /api/external/leg/{reference}/{flightId}](https://developer.fl3xx.com/reference/booking-itinerary-(legs)/deletebookinglegsbybookingreferenceandflightid.md): Deletes the itinerary (legs) of a booking using its quote ID and flight ID. ## Crew Operations related to crew details. ### Get Crew - [GET /api/external/staff/crew](https://developer.fl3xx.com/reference/crew/getstaffcrew.md): Fetches information about the crew. ### Get a Crew Member - [GET /api/external/staff/crew/{reference}](https://developer.fl3xx.com/reference/crew/getcrewbyreference.md): Fetches crew information using a specific reference. ### Get Crew Flight Hours - [GET /api/external/user/crew/{reference}/flighthours](https://developer.fl3xx.com/reference/crew/getcrewflighthours.md): Returns the current flight time of a crew member per engine class. All values are in minutes, for example 90 means 1 hour 30 minutes. Each engine class (multi engine and single engine) shows the starting value entered for the crew member in FL3XX plus the flights logged in FL3XX since the date of that starting value. * An engine class without a starting value returns null for the class and for its PIC value. * total is multiEngine plus singleEngine, and pic is picMultiEngine plus picSingleEngine, counting only the classes that have a value. Both are null when neither class has a value. A reference that does not resolve to a user of your operator returns 404. ### Set Crew Flight Hours - [PUT /api/external/user/crew/{reference}/flighthours](https://developer.fl3xx.com/reference/crew/setcrewflighthours.md): Sets the current flight time of a crew member and returns the updated flight time, in the same shape as the GET. All values are in minutes, in the request and in the response, for example 90 means 1 hour 30 minutes. Send at least one of multiEngine, singleEngine, picMultiEngine and picSingleEngine. A field that is left out or null keeps its current value. How a value is stored: each engine class keeps its start date. FL3XX sets the starting value of the class so that the starting value plus the flights logged in FL3XX since that date equals the value you sent. An engine class without a starting value starts today, with the sent value as its starting value. The request is rejected with 400 and nothing is changed when: * total or pic is sent. Both are computed from the engine classes. * none of the four fields is sent. * a value is negative or above 6000000 (100,000 hours). * a PIC value is above the value of its engine class, also when one of the two is not sent and its current value is used. * a value is below the minutes logged in FL3XX since the start date of its engine class. * the non PIC part of an engine class (the class value minus its PIC value) is below the non PIC minutes logged in FL3XX since the start date of the class. The error message names the field and, where it applies, the lowest or highest accepted value. A reference that does not resolve to a user of your operator returns 404. ### Search a crew member - [GET /api/external/user/crew](https://developer.fl3xx.com/reference/crew/getcrewmembers.md): Fetches information about a crew member. Must provide either the externalReference or the pilotId ## Crew Qualifications Manage crew qualifications and certifications. These endpoints enable partners to assign, update, and manage crew member qualifications including licenses, certifications, and associated documents. **Business Value** - Maintain accurate crew qualification records for compliance and safety. - Streamline qualification assignment and management processes. - Support document management for qualification certificates and licenses. - Ensure crew members meet operational requirements and regulations.
**Use Cases** - Assign new qualifications to crew members with license details and expiration dates. - Update existing qualification information including license numbers and issuing authorities. - Upload and manage qualification documents such as certificates and licenses. - Retrieve qualification information for crew members and compliance reporting. - Delete obsolete qualifications and associated documents.
For more information on managing crew qualifications, see the [Crew Qualification Management Guide](/guides/guides/crew-qualification). **Note:** > All crew qualification operations are bound to the operator context associated with the authentication token. Partners can only manage qualifications for crew members within their organization. ### Get crew qualifications - [GET /api/external/crew-qualifications](https://developer.fl3xx.com/reference/crew-qualifications/getcrewqualifications.md): Retrieve crew qualifications with pagination and filtering capabilities. Features: - Filter by crew ID (required) - Paginated results Example Use Case: An operations manager needs to retrieve all qualifications for a specific crew member to verify compliance status and upcoming expiration dates. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Assign a qualification to a crew member - [POST /api/external/crew-qualifications](https://developer.fl3xx.com/reference/crew-qualifications/assignqualificationtocrew.md): Assign a new qualification to a crew member with license details, expiration dates, and other relevant information. Features: - Validates required fields including crew ID and qualification ID - Supports license numbers, issuing authorities, and country information - Handles pilot-in-command designations and base month calculations Example Use Case: An operations manager needs to assign a new type rating qualification to a pilot after completing training. This endpoint allows them to create the qualification record with all necessary details. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Get a crew qualification by ID - [GET /api/external/crew-qualifications/{crewQualificationId}](https://developer.fl3xx.com/reference/crew-qualifications/getcrewqualificationbyid.md): Retrieve detailed information about a specific crew qualification including associated documents. Features: - Returns complete qualification details including document references - Includes creation and update timestamps Example Use Case: An operations manager needs to review the complete details of a specific qualification, including any uploaded documents, to verify compliance or prepare for audits. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Update a crew qualification by ID - [PATCH /api/external/crew-qualifications/{crewQualificationId}](https://developer.fl3xx.com/reference/crew-qualifications/updatecrewqualificationbyid.md): Updates an existing crew qualification with new information. Features: - Updates qualification details including license numbers and dates - Supports partial updates of qualification information Example Use Case: An operations manager needs to update a qualification after a license renewal or when additional information becomes available. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Delete a crew qualification by ID - [DELETE /api/external/crew-qualifications/{crewQualificationId}](https://developer.fl3xx.com/reference/crew-qualifications/deletecrewqualificationbyid.md): Deletes a crew qualification and removes it from the system. Features: - Permanently removes the qualification record - Returns confirmation of deletion Example Use Case: An operations manager needs to remove an obsolete qualification that is no longer valid or relevant for a crew member. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Get document associated with a crew qualification - [GET /api/external/crew-qualifications/{crewQualificationId}/documents/{documentUuid}](https://developer.fl3xx.com/reference/crew-qualifications/getcrewqualificationdocument.md): Download a document associated with a crew qualification. Features: - Downloads the actual document file - Validates document ownership and access permissions Example Use Case: An operations manager needs to download a qualification certificate or license document for verification or compliance purposes. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Upload document associated with a crew qualification - [POST /api/external/crew-qualifications/{crewQualificationId}/documents](https://developer.fl3xx.com/reference/crew-qualifications/uploadcrewqualificationdocument.md): Upload a document file to be associated with a crew qualification. Features: - Supports various document formats - Associates the document with the specific qualification - Returns document metadata including UUID for future access Example Use Case: An operations manager needs to upload a scanned copy of a pilot's license or certificate to maintain digital records for compliance and verification. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Delete document associated with a crew qualification - [DELETE /api/external/crew-qualifications/{crewQualificationId}/documents/{uuid}](https://developer.fl3xx.com/reference/crew-qualifications/deletecrewqualificationdocument.md): Deletes a document associated with a crew qualification. Features: - Permanently removes the document file - Returns confirmation of deletion Example Use Case: An operations manager needs to remove an outdated or incorrect document that was previously uploaded for a qualification. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Get qualification types - [GET /api/external/qualification-types](https://developer.fl3xx.com/reference/crew-qualifications/getqualificationtypes.md): Retrieve available qualification types and their details for use in crew qualification assignments. Features: - Returns paginated list of available qualifications - Includes qualification metadata and configuration Example Use Case: An operations manager needs to see all available qualification types in the system to properly assign qualifications to crew members. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ### Get qualification type by ID - [GET /api/external/qualification-types/{id}](https://developer.fl3xx.com/reference/crew-qualifications/getqualificationtypebyid.md): Retrieve detailed information about a specific qualification type. Features: - Returns complete qualification configuration and metadata - Includes validity periods, grace periods, and relation information Example Use Case: An operations manager needs to understand the specific requirements and configuration of a qualification type before assigning it to a crew member. For more information on managing crew qualifications, see the Crew Qualification Management Guide. ## Staff Create and update staff members and their ID document files. ### Create Staff Member - [POST /api/external/staff](https://developer.fl3xx.com/reference/staff/poststaff.md): Creates a staff member in the operator account of the token. firstName and lastName are required. When an externalReference is sent it must not be used by another user yet, otherwise the call returns 409. ID documents sent in idDocuments are created together with the staff member. ### Update Staff Member - [PATCH /api/external/staff/{reference}](https://developer.fl3xx.com/reference/staff/patchstaff.md): Updates a staff member. The reference is the FL3XX ID of the staff member or its externalReference. A numeric reference is looked up as an ID first and then as an externalReference. Send only the fields to change. ### Upload ID Document File - [POST /api/external/staff/{reference}/id-cards/{userCardId}/documents](https://developer.fl3xx.com/reference/staff/poststaffidcarddocument.md): Uploads a file and attaches it to an ID document (passport, ID card, visa and similar) of a staff member. The reference is the FL3XX ID or externalReference of the staff member. userCardId is the numeric FL3XX ID of the ID document. The ID document must exist, must not be deleted and must belong to that staff member. ## Empty Legs Operations related to empty leg flights. ### Get Empty Legs - [GET /api/external/quote/legs/empty](https://developer.fl3xx.com/reference/empty-legs/getemptylegs.md): Fetches a list of empty legs made available by the operator. ## Flights Operations related to flights. ### Get Flights - [GET /api/external/flight/flights](https://developer.fl3xx.com/reference/flights/getflights.md): Fetches a list of flights between two specified dates. The period between from and to must not exceed 90 days. If the period contains more than 300 flights, the request is rejected with 400 and must be repeated with a shorter period. ### Get a Flight - [GET /api/external/flight/{flightId}](https://developer.fl3xx.com/reference/flights/getflightbyid.md): Fetches detailed information about a specific flight using its ID. ## New Flights The quote book and confirm endpoints, also listed under the Flights collection. They are the same operations as in Quotes and live under /api/external/quote/book and /api/external/quote/confirm. ### Create a Booked Quote - [POST /api/external/quote/book](https://developer.fl3xx.com/reference/new-flights/postquotebook.md): This endpoint creates a new booked quote. The booking and its flights are created in one call. Note: Creating a booked quote via this endpoint does NOT generate a notification in Sales and sends no email notifications. Key Features - Creation: Creates the booking and its flights with the provided details. - Flight number: A flight number sent in legs[].flightNumber is set on the created flight. - Duplicates: A request with a reference that already exists returns 400. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Update a Booked Quote - [PUT /api/external/quote/book/{reference}](https://developer.fl3xx.com/reference/new-flights/putquotebookbybookingreference.md): Updates a booked quote using its booking reference. If you modify the departure time, you need to make sure to update the arrival time too since FL3XX only calculates it at the first time. ### Cancel a Booked Quote - [DELETE /api/external/quote/book/{reference}](https://developer.fl3xx.com/reference/new-flights/deletequotebookbybookingreference.md): Cancels a booked quote using its booking reference. ### Create a Confirmed Quote - [POST /api/external/quote/confirm](https://developer.fl3xx.com/reference/new-flights/postquoteconfirm.md): This endpoint creates a new booking with confirmed status (BOOKING_SENT workflow state) and assigns it a booking number. It mirrors POST /api/external/quote/book and accepts/returns the same schema. Note: Creating a confirmed quote via this endpoint does NOT generate a notification in Sales and sends no email notifications. Key Features - Creation: Creates the booking and its flights with the provided details. - Confirmation: The booking is created in the BOOKING_SENT workflow state and receives a booking number. - Flight number: A flight number sent in legs[].flightNumber is set on the created flight. - Duplicates: A request with a reference that already exists returns 409. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Update a Confirmed Quote - [PUT /api/external/quote/confirm/{reference}](https://developer.fl3xx.com/reference/new-flights/putquoteconfirmbybookingreference.md): Updates a confirmed (booked) quote using its booking reference. If you modify the departure time, you need to make sure to update the arrival time too since FL3XX only calculates it at the first time. This endpoint mirrors PUT /api/external/quote/book/{reference} and accepts/returns the same schema. ### Cancel a Confirmed Quote - [DELETE /api/external/quote/confirm/{reference}](https://developer.fl3xx.com/reference/new-flights/deletequoteconfirmbybookingreference.md): Cancels a confirmed (booked) quote using its booking reference. This endpoint mirrors DELETE /api/external/quote/book/{reference} and accepts/returns the same schema. ### Create a Booked Quote - [POST /api/external/quote/book](https://developer.fl3xx.com/reference/quote-booking/postquotebook.md): This endpoint creates a new booked quote. The booking and its flights are created in one call. Note: Creating a booked quote via this endpoint does NOT generate a notification in Sales and sends no email notifications. Key Features - Creation: Creates the booking and its flights with the provided details. - Flight number: A flight number sent in legs[].flightNumber is set on the created flight. - Duplicates: A request with a reference that already exists returns 400. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Update a Booked Quote - [PUT /api/external/quote/book/{reference}](https://developer.fl3xx.com/reference/quote-booking/putquotebookbybookingreference.md): Updates a booked quote using its booking reference. If you modify the departure time, you need to make sure to update the arrival time too since FL3XX only calculates it at the first time. ### Cancel a Booked Quote - [DELETE /api/external/quote/book/{reference}](https://developer.fl3xx.com/reference/quote-booking/deletequotebookbybookingreference.md): Cancels a booked quote using its booking reference. ### Create a Confirmed Quote - [POST /api/external/quote/confirm](https://developer.fl3xx.com/reference/quote-booking/postquoteconfirm.md): This endpoint creates a new booking with confirmed status (BOOKING_SENT workflow state) and assigns it a booking number. It mirrors POST /api/external/quote/book and accepts/returns the same schema. Note: Creating a confirmed quote via this endpoint does NOT generate a notification in Sales and sends no email notifications. Key Features - Creation: Creates the booking and its flights with the provided details. - Confirmation: The booking is created in the BOOKING_SENT workflow state and receives a booking number. - Flight number: A flight number sent in legs[].flightNumber is set on the created flight. - Duplicates: A request with a reference that already exists returns 409. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Update a Confirmed Quote - [PUT /api/external/quote/confirm/{reference}](https://developer.fl3xx.com/reference/quote-booking/putquoteconfirmbybookingreference.md): Updates a confirmed (booked) quote using its booking reference. If you modify the departure time, you need to make sure to update the arrival time too since FL3XX only calculates it at the first time. This endpoint mirrors PUT /api/external/quote/book/{reference} and accepts/returns the same schema. ### Cancel a Confirmed Quote - [DELETE /api/external/quote/confirm/{reference}](https://developer.fl3xx.com/reference/quote-booking/deletequoteconfirmbybookingreference.md): Cancels a confirmed (booked) quote using its booking reference. This endpoint mirrors DELETE /api/external/quote/book/{reference} and accepts/returns the same schema. ## Flight Animals Operations related to flight animals. ### Get Flight Animals - [GET /api/external/flight/{id}/pax_details/animal](https://developer.fl3xx.com/reference/flight-animals/getflightanimalsbyflightid.md): Fetches animal information for a specific flight using its ID. ### Update Flight Animals - [PUT /api/external/flight/{id}/pax_details/animal](https://developer.fl3xx.com/reference/flight-animals/putflightanimalsbyflightid.md): Updates a list of animal information for a specific flight using its flight ID. ### Delete Flight Animals - [DELETE /api/external/flight/{id}/pax_details/animal](https://developer.fl3xx.com/reference/flight-animals/deleteflightanimalsbyflightid.md): Deletes animal information for a specific flight using its flight ID. ## Flight Cargo Operations related to flight cargo. ### Get Flight Cargo - [GET /api/external/flight/{id}/pax_details/cargo](https://developer.fl3xx.com/reference/flight-cargo/getflightcargobyflightid.md): Fetches a list of cargo information for a specific flight using its flight ID. ### Update Flight Cargo - [PUT /api/external/flight/{id}/pax_details/cargo](https://developer.fl3xx.com/reference/flight-cargo/putflightcargobyflightid.md): Updates cargo information for a specific flight using its flight ID. ### Delete Flight Cargo - [DELETE /api/external/flight/{id}/pax_details/cargo](https://developer.fl3xx.com/reference/flight-cargo/deleteflightcargobyflightid.md): Deletes cargo information for a specific flight using its flight ID. ## Flight Crew Operations related to crew for individual flights. ### Get Flight Crew - [GET /api/external/flight/{flightId}/crew](https://developer.fl3xx.com/reference/flight-crew/getflightcrew.md): Fetches a list of crew members assigned to a specific flight using its flight ID. ### Assign Crew to Flight - [POST /api/external/flight/{flightId}/crew](https://developer.fl3xx.com/reference/flight-crew/createflightcrew.md): Assigns a list of crew members to a specific flight using its flight ID. Required Fields: - pilotId: The unique identifier of the pilot/crew member (or use externalReference or logName as alternatives) - role: The crew role (see enum values in schema) Optional Fields: All other fields are optional. Additional crew information (firstName, lastName, email, etc.) is only used when updateCrewUsers=true (default) to create or update user records. Note: The crewPosition field is optional and not used during assignment. The system determines positions based on the role field and aircraft configuration. ## Flight Alternate Airports Operations related to the alternate airports of a flight. ### Update Alternate Airports - [PUT /api/external/flight/{flight}/alternateAirports](https://developer.fl3xx.com/reference/flight-alternate-airports/putflightalternateairports.md): Sets the alternate departure airport and the first and second alternate arrival airports of a flight. Each airport that is sent must be found in FL3XX, otherwise the call returns 404. Returns the alternate airports as stored. ### Delete Alternate Airports - [DELETE /api/external/flight/{flight}/alternateAirports](https://developer.fl3xx.com/reference/flight-alternate-airports/deleteflightalternateairports.md): Removes all three alternate airports from a flight. ## Flight Defects Operations related to the defects of a flight. ### Get Flight Defects - [GET /api/external/flight/{flightId}/defects](https://developer.fl3xx.com/reference/flight-defects/getflightdefects.md): Returns the defects section of a flight: its status, the hold items, the defect notifications, whether the due list is pulled from an external service, and whether the defects were acknowledged. ## Flight Fuels Operations related to fuel for flights. ### Get Flight Fuels - [GET /api/external/flight/{flightId}/fuels](https://developer.fl3xx.com/reference/flight-fuels/getflightfuels.md): Fetches fuel information for a flight using its flight ID. ### Create Flight Fuels - [POST /api/external/flight/{flightId}/fuels](https://developer.fl3xx.com/reference/flight-fuels/postflightfuelsbyflightid.md): Creates fuel information for a specific flight using its flight ID. ### Upload Fuel Document - [POST /api/external/flight/{flightId}/fuels/{fuelId}/documents](https://developer.fl3xx.com/reference/flight-fuels/postflightfueldocument.md): Upload fuel document for a flight. ### Upload fuel release document - [POST /api/external/flight/{flightId}/fuels/{fuelId}/documents/release](https://developer.fl3xx.com/reference/flight-fuels/postflightfuelreleasedocument.md): Upload fuel release document for a flight. ### Get fuel document file - [GET /api/external/flight/{flightId}/fuels/{fuelId}/documents/{documentId}](https://developer.fl3xx.com/reference/flight-fuels/getflightfueldocument.md): Download fuel document or fuel release document for a flight. ### Delete fuel document - [DELETE /api/external/flight/{flightId}/fuels/{fuelId}/documents/{documentId}](https://developer.fl3xx.com/reference/flight-fuels/deleteflightfueldocument.md): Delete fuel document or fuel release document for a flight. ## Flight Ground Services Operations related to ground services. ### Get Flight Ground Services - [GET /api/external/flight/{id}/services](https://developer.fl3xx.com/reference/flight-ground-services/putflightservicebyflightid.md): Fetches service information for a specific flight using its flight ID. Includes Ground Handling, Transportation, Hotac, and Catering services. ## Flight Luggage Operations related to luggage for flights. ### Update Flight Luggage - [PUT /api/external/flight/{id}/pax_details/luggage](https://developer.fl3xx.com/reference/flight-luggage/putflightluggagebyflightid.md): Updates luggage information for a specific flight using its flight ID. ### Delete Flight Luggage - [DELETE /api/external/flight/{id}/pax_details/luggage](https://developer.fl3xx.com/reference/flight-luggage/deleteflightluggagebyflightid.md): Deletes luggage information for a specific flight using its flight ID. ## Flight Migration Operations related to migrations. ### Get Flight Migration Information - [GET /api/external/flight/{flightId}/migration](https://developer.fl3xx.com/reference/flight-migration/getflightmigrationbyflightid.md): Fetches migration information for a specific flight using its flight ID. ### Update Flight Migration Information - [PUT /api/external/flight/{flightId}/migration](https://developer.fl3xx.com/reference/flight-migration/putflightmigrationbyflightid.md): Updates migration information for a specific flight using its flight ID. ## Flight Notifications Operations related to notifications for flights. ### Get Flight Operational Notification - [GET /api/external/flight/{flightId}/notification](https://developer.fl3xx.com/reference/flight-notifications/getflightnotificationsbyflightid.md): Fetches operational notification for a specific flight using its flight ID. ### Update Flight Operational Notification - [PUT /api/external/flight/{flightId}/notification](https://developer.fl3xx.com/reference/flight-notifications/updateflightnotificationusingput.md): Updates operational notifications for a specific flight using its flight ID. ### Delete Flight Operational Notification - [DELETE /api/external/flight/{flightId}/notification](https://developer.fl3xx.com/reference/flight-notifications/deleteflightnotificationbyflightid.md): Deletes operational notifications for a specific flight using its flight ID. ## Flight Passengers These endpoints are designed to manage passenger details for flights. They allow for the retrieval, updating, and deletion of passenger information associated with specific flight tickets. **Key Features** - **Passenger Management:** Add, retrieve, update, and delete passenger details for flights. - **Data Accuracy:** Ensures that passenger information is accurate and up-to-date. **Business Value** - **Operational Efficiency:** Streamlines the process of managing passenger information, reducing manual effort. - **Customer Service:** Enhances the ability to provide timely and accurate information to passengers and stakeholders. - **Compliance:** Helps maintain accurate records of passenger details for regulatory and operational purposes. **Use Cases** - **Flight Operations:** Quickly access and manage passenger details for flight management and operations. - **Customer Support:** Assist passengers with inquiries about their flight details and ticket information. - **Regulatory Compliance:** Maintain accurate and up-to-date passenger records for each flight. ### Add Passenger to Flight - [POST /api/external/flight/{flightId}/passenger](https://developer.fl3xx.com/reference/flight-passengers/postflightpassengerbyflightid.md): Adds a passenger to a specific flight using its flight ID. This operation creates a new flight ticket for the passenger and associates it with the flight. The request body must include the passenger's FL3XX User ID or externalReference. See User endpoints ### Get a Flight Passenger - [GET /api/external/flight/{flightId}/passenger/{ticketId}](https://developer.fl3xx.com/reference/flight-passengers/getflightpassengerbyflightidandticketid.md): Retrieves the details of a passenger associated with a specific flight ticket. ### Update a Flight Passenger - [PUT /api/external/flight/{flightId}/passenger/{ticketId}](https://developer.fl3xx.com/reference/flight-passengers/putflightpassengerbyflightidandticketid.md): Updates the details of a passenger associated with a specific flight ticket. ### Remove a Flight Passenger - [DELETE /api/external/flight/{flightId}/passenger/{ticketId}](https://developer.fl3xx.com/reference/flight-passengers/deleteflightpassengerbyflightidandticketid.md): Removes the passenger details of a specific flight ticket using the flight ID and ticket ID. ### Get Flight Passengers - [GET /api/external/flight/{flightId}/passengers](https://developer.fl3xx.com/reference/flight-passengers/getflightpassengersbyflightid.md): Fetches a list of passengers assigned to a specific flight using its flight ID. ## Flight PAX Details Operations related to PAX details. ### Get Flight PAX Information - [GET /api/external/flight/{id}/pax_details](https://developer.fl3xx.com/reference/flight-pax-details/getflightpaxdetailsbyflightid.md): Fetches animal and cargo information for a specific flight using its flight ID. ### Submit Flight PAX Information - [POST /api/external/flight/{id}/pax_details](https://developer.fl3xx.com/reference/flight-pax-details/postflightpaxdetailsbyflightid.md): Submits animal and cargo information for a specific flight using its flight ID. ## Flight Planning Notes Operations related to planning notes for flights. ### Get Flight Planning Notes - [GET /api/external/flight/{flightId}/planningnote](https://developer.fl3xx.com/reference/flight-planning-notes/getflightplanningnotesbyflightid.md): Fetches planning note for a specific flight using its flight ID. ### Update Flight Planning Notes - [PUT /api/external/flight/{flightId}/planningnote](https://developer.fl3xx.com/reference/flight-planning-notes/updateflightplanningnotesbyflightid.md): Updates planning notes for a specific flight using its flight ID. ### Remove Flight Planning Notes - [DELETE /api/external/flight/{flightId}/planningnote](https://developer.fl3xx.com/reference/flight-planning-notes/deleteflightplanningnotesbyflightid.md): Removes planning notes for a specific flight using its flight ID. ## Flight Post Flight Operations related to post-flight activities. ### Get Post-Flight Information - [GET /api/external/flight/{flight}/postflight](https://developer.fl3xx.com/reference/flight-post-flight/getflightpostflightinformationbyflightid.md): Fetches post-flight information for a specific flight using its flight ID. ### Submit Post-Flight Information - [POST /api/external/flight/{flight}/postflight](https://developer.fl3xx.com/reference/flight-post-flight/postflightpostflightinformationbyflightid.md): Submits post-flight information for a specific flight using its flight ID. ## Flight Pre Flight Operations related to pre-flight operations. ### Get Pre-Flight Information - [GET /api/external/flight/{flight}/preflight](https://developer.fl3xx.com/reference/flight-pre-flight/getflightpreflightinformationbyflightid.md): Fetches pre-flight information for a specific flight using its flight ID. ## Flight Sanction List Operations related to flight sanctions and approvals. ### Get Flight Sanction List - [GET /api/external/flight/{flightId}/sanction-list](https://developer.fl3xx.com/reference/flight-sanction-list/getflightsanctionlistbyflightid.md): Fetches the sanction list for a specific flight using its flight ID. ### Update Flight Sanction List - [PUT /api/external/flight/{flightId}/sanction-list](https://developer.fl3xx.com/reference/flight-sanction-list/putflightsanctionlistbyflightid.md): Updates the sanction list for a specific flight using its flight ID. ## Flight Travel Authorization These endpoints are designed to manage travel authorization details for passengers on flights. **Key Features** - **Travel Authorization Status:** Check and update the travel authorization status for passengers.
**Business Value** - **Compliance:** Helps to meet regulatory requirements. - **Operational Efficiency:** Streamlines the process of managing travel authorizations, reducing the time and effort required. - **Risk Management:** Minimizes the risk of travel disruptions due to missing or invalid travel documents.
**Use Cases** - **Flight Operations Management:** Review and manage travel authorization details for passengers on specific flights. - **Customer Service:** Assist passengers in ensuring they have the necessary travel documents for their journey. - **Regulatory Compliance:** Maintain accurate records of travel authorizations to meet regulatory requirements.
**Why Use These Endpoints** The Flight Travel Authorization endpoints are essential tools for maintaining compliance and operational efficiency within the aviation industry. ### Get Passenger Travel Authorization Status - [GET /api/external/flight/{flightId}/visa](https://developer.fl3xx.com/reference/flight-travel-authorization/getflightvisabyflightid.md): This endpoint allows users to retrieve the travel authorization status associated with passengers on a specific flight. Example Use Case: A flight operations manager wants to review all visa information for passengers on a specific flight. Note: The deprecated fields should not be used. Please use the values in travelAuthorizationArrival and travelAuthorizationDeparture instead. ### Update Passengers' Visa Information - [PUT /api/external/flight/{flightId}/visa](https://developer.fl3xx.com/reference/flight-travel-authorization/putflightvisabyflightid.md): This endpoint allows users to update the travel authorization status associated with passengers on a specific flight. Note: The deprecated fields should not be used. Please use the values in travelAuthorizationArrival and travelAuthorizationDeparture instead. ## Flight Tickets Operations related to flight tickets. ### Get Flight Tickets - [GET /api/external/flight/{flightId}/tickets](https://developer.fl3xx.com/reference/flight-tickets/getflightticketsbyflightid.md): Fetches all tickets for a specific flight, where each ticket represents a passenger assigned to the flight. ### Update Flight Tickets - [PUT /api/external/flight/{flightId}/tickets](https://developer.fl3xx.com/reference/flight-tickets/updateticketsforflightusingput.md): Updates all tickets for a specific flight. This operation replaces all previously set values. To append new tickets or edit existing ones, first retrieve the current list, update the elements, and then send the whole updated list. ## Quotes Create, retrieve, update and delete quotes, list unbooked quotes and record owner approval. ### Get a Quote - [GET /api/external/quote/{reference}](https://developer.fl3xx.com/reference/quotes/getquotebyreference.md): Fetches the details of a quote using its reference (bookingId/quoteId or externalReference). ### Update a Quote - [PUT /api/external/quote/{reference}](https://developer.fl3xx.com/reference/quotes/putquotebyreference.md): Updates the details of an existing quote using its reference. ### Delete a Quote - [DELETE /api/external/quote/{reference}](https://developer.fl3xx.com/reference/quotes/deletequotebyreference.md): Deletes an existing quote using its reference. ### Generate Quote - [POST /api/external/quote](https://developer.fl3xx.com/reference/quotes/postquote.md): This endpoint allows you to create a new quote and notifies the operator. Key Features - Creation: Generates a new quote with the provided details. - Notification: Notifies the operator upon successful quote creation. Why Use This Endpoint? Using this endpoint helps to streamline the quote creation process, it is an essential tool for managing quotes efficiently and effectively. Account Selection Logic When submitting a quote, the system will attempt to create or pick the account provided in the following order: 1. Account ID: If customer.account.accountid is provided and valid, the account is retrieved using the ID. 2. External Reference: If no account is found, the system will search for an account using the customer.account.externalReference field. 3. Account Name: If no account is found, the system will search for an account using the customer.account.name field. 4. Account Number: If both customer.account.name and customer.account.accountNumber fields are provided, the system will attempt to find a match. 5. User Full Name: If no account is found by the above methods, the system will search for an account using the user's full name (concatenation offirstName and lastName). Pricing Engine Note When the aircraft uses the pricing engine, a price will only be returned if the request satisfies the pricing rules defined by the operator. If no applicable pricing rule is matched, the returned price will be 0. To ensure accurate pricing, it is recommended to contact the operator directly for details on the specific conditions required for price calculation. ### Get Non-Booked Quotes - [GET /api/external/quote/notbooked](https://developer.fl3xx.com/reference/quotes/getquotesnotbooked.md): Fetches a list of quotes that have not been booked, filtered by modification date. All filters are applied on the server and combine with AND logic. A quote is returned only if it matches every filter supplied. Within the status filter, multiple codes combine with OR logic. The lastRequest bound is always applied, also when createdFrom is supplied. If lastRequest is omitted, only quotes modified in the last 24 hours are returned. To retrieve every quote created since a given date, send lastRequest with a value at or before createdFrom. ### Approve Quote by Owner - [POST /api/external/quote/{reference}/owner/approve](https://developer.fl3xx.com/reference/quotes/postquoteapproval.md): Approves a quote by the owner using its reference. ## Quote Pricing Provisional quote lookup and quote prices, including booked snapshot prices. ### Generate Provisional Quote - [POST /api/external/quote/lookup](https://developer.fl3xx.com/reference/quote-pricing/postquotelookup.md): This endpoint allows you to simulate the creation of a quote without actually creating a real one. It provides a way to check aircraft availability and validate the pricing information before proceeding with an actual quote creation. Key Features - Validation: Ensures that all required fields are correctly filled and formatted. - Simulation: Provides a simulated response that mimics the actual quote creation process. - Price and Availability: Fetches price and aircraft availability without notifying the operator. Why Use This Endpoint? Using this endpoint helps to prevent errors and streamline the quote creation process by allowing you to test and validate data before committing to a real quote. It is an essential tool for ensuring data integrity and accuracy in your operations. ### Get Quote Price - [GET /api/external/quote/price/{reference}](https://developer.fl3xx.com/reference/quote-pricing/getquotepricebyquotereference.md): Fetches the price details of a quote using its reference. ### Get Booked Snapshot Prices - [GET /api/external/quote/price/bookedSnapshot/{reference}](https://developer.fl3xx.com/reference/quote-pricing/getquotebookedsnapshotprices.md): Returns the price breakdown stored in the booked snapshot of a quote, identified by bookingid or externalReference. It is the price counterpart of GET /api/external/quote/{reference}/bookedSnapshot. Note: This is a literal snapshot of the prices at the moment the BOOK action was performed. Anything that happens to the quote after it was booked is not reflected in this endpoint. ## Quote Versions Operations related to versions of quotes. ### List Quote Versions for Account - [GET /api/external/quote/account/{accountId}/versions](https://developer.fl3xx.com/reference/quote-versions/getquoteversionsbyaccountusingget.md): Fetches all versions of quotes associated with a specific account ID. ### List Quote Versions for Customer - [GET /api/external/quote/customer/{customerId}/versions](https://developer.fl3xx.com/reference/quote-versions/getquoteversionsbycustomerid.md): Fetches all versions of quotes associated with a specific customer ID. ### List Versions of a Quote for Account - [GET /api/external/quote/{rootBookingId}/account/{accountId}/versions](https://developer.fl3xx.com/reference/quote-versions/getquoteversionsbyrootbookingandaccountid.md): Fetches all versions of quotes associated with a specific account ID. ### List Versions of a Quote for Customer - [GET /api/external/quote/{rootBookingId}/customer/{customerId}/versions](https://developer.fl3xx.com/reference/quote-versions/getquoteversionsbyrootbookingandcustomerusingget.md): Fetches all versions of quotes associated with a specific customer ID. ### List Versions of a Quote - [GET /api/external/quote/{rootBookingId}/versions](https://developer.fl3xx.com/reference/quote-versions/getquoteversionsbyrootbookingusingget.md): Fetches all versions of quotes associated with a specific root booking ID. ## Quote History The change history of a quote and its booked snapshot. ### Get Booked Snapshot - [GET /api/external/quote/{reference}/bookedSnapshot](https://developer.fl3xx.com/reference/quote-history/getquotebookedsnapshotbyreference.md): Fetches the snapshot of a booked quote using its reference. ### Get Quote History - [GET /api/external/quote/{reference}/history](https://developer.fl3xx.com/reference/quote-history/getquotehistorybyreference.md): Fetches the history of a quote using its reference. ## Quote Attachments Operations related to documents and files attached to flight quotes. ### Get Quote Attachments - [GET /api/external/quote/{reference}/attachments](https://developer.fl3xx.com/reference/quote-attachments/getquoteattachmentsbyreference.md): Fetches the attachments associated with a quote using its reference. ## Roster Operations related to Rosters. ### Get Staff Roster - [GET /api/external/staff/roster](https://developer.fl3xx.com/reference/roster/getstaffrosters.md): Fetches the staff roster details. ## Users Operations related to Users. ### Get Users - [GET /api/external/user](https://developer.fl3xx.com/reference/users/getusers.md): Fetches list of users. Each user carries its roles; the codes and their labels come from the operator's role catalogue, see GET /api/external/user/roles. ### Creates a new user - [POST /api/external/user](https://developer.fl3xx.com/reference/users/postuser.md): Creates a new user. The roles property is optional: when it is omitted or null the user is created with the legacy PAX default, an empty array creates the user with no role, and an array of codes sets exactly those roles. For the codes an operator can assign, see GET /api/external/user/roles. ### Get Flight Passengers - [GET /api/external/user/flight/{externalReference}](https://developer.fl3xx.com/reference/users/getpassengersbyflightreference.md): Fetches data for a flight passenger using its externalReference ### Get Role Catalogue - [GET /api/external/user/roles](https://developer.fl3xx.com/reference/users/getuserroles.md): Fetches the role catalogue the operator can assign, for use with the roles property on the user endpoints. The label is operator specific. The parent is the role assigned automatically alongside the role itself. ### Get a User - [GET /api/external/user/{externalReference}](https://developer.fl3xx.com/reference/users/getuserbyexternalreference.md): Fetches data about a user, including the user's roles; the codes and their labels come from the operator's role catalogue, see GET /api/external/user/roles. ### Updates a User - [PUT /api/external/user/{externalReference}](https://developer.fl3xx.com/reference/users/putuserbyexternalreference.md): Updates a user. The roles property is optional: when it is omitted or null the user's existing roles are left untouched, an empty array clears them, and an array of codes fully replaces the existing set rather than merging into it. For the codes an operator can assign, see GET /api/external/user/roles. ### Deletes a User - [DELETE /api/external/user/{externalReference}](https://developer.fl3xx.com/reference/users/deleteuserbyreference.md): Deletes a user identified by its external reference ### Get User Documents - [GET /api/external/user/{userExternalReference}/documents](https://developer.fl3xx.com/reference/users/getuserdocumentsbyuserexternalreference.md): Get information about the documents of a user identified by the userExternalReference ### Create a User Document - [POST /api/external/user/{userExternalReference}/documents](https://developer.fl3xx.com/reference/users/postuserdocument.md): Creates a new user document ### Update a User's Document - [PUT /api/external/user/{userExternalReference}/documents/{externalReference}](https://developer.fl3xx.com/reference/users/putuserdocument.md): Updates a user's document using the userExternalReference and the document's externalReference ### Delete a User's Document - [DELETE /api/external/user/{userExternalReference}/documents/{externalReference}](https://developer.fl3xx.com/reference/users/deleteuserdocument.md): Deletes an existing document based on the user's externalReference and the document's externalReference