Flight details to create
Flight
numberstringrequired
route_idstringrequired
scheduled_departurestring(date-time)required
scheduled_arrivalstring(date-time)required
Creates a new flight in the system.
Flight details to create
Flight created successfully
Returns a specific flight given its flight number
The flight number
Successful response with the requested flight
Updates an existing flight completely.
The flight number to update
Updated flight details
Flight updated successfully
Partially updates an existing flight.
The flight number to update
Partial flight details to update
Flight updated successfully
Deletes a flight from the system.
The flight number to delete
Flight deleted successfully