Flights
Change a bid's aircraft
Changed onAssigns a different aircraft to a bid before the flight is started. Persists the bid's aircraft so /flights/start uses it. The chosen aircraft must be one returned by GET /flights/bookings/{bid}/aircraft. Rejected when the authenticated pilot has their own SimBrief OFP for the flight, once a PIREP is in progress, and for aircraft outside the flight's eligible set.
post/flights/change-aircraft
Request
- Base URLhttps://crew.example.com/api/stratos
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Updated booking.
Example response
{
"departure_airport": "YSSY",
"arrival_airport": "YMML",
"route": [
"YSSY",
"DCT",
"RIC",
"YMML"
],
"departure_time": "0930",
"arrival_time": "1145",
"flight_time": 1.42
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info