{"openapi":"3.0.3","info":{"title":"Aviapages API Documentation","version":"3.0.0","description":"Wide range of tools and databases for business aviation industry.<br><br><strong>Flight Time & Route Calculator </strong><br><strong>Charter Directories</strong> (charter companies, charter aircraft, business aviation airports, FBO's, MRO's)<br><strong>Charter Quotation</strong> (quote, receive offers, book aircraft)<br><strong>Aircraft Flight Schedule</strong><br><strong>Availabilities</strong> (empty legs)<br><strong>Aviation Weather</strong> (METAR, TAF)<br><strong>NOTAM</strong>\n\n[OpenAPI schema (JSON)](/docs/openapi.json)","contact":{"name":"Support","email":"support@aviapages.com"}},"tags":[{"name":"aircraft","description":"Executive aviation aircraft for charter or for sale.","x-traitTag":false},{"name":"aircraft_classes","description":"Executive aviation aircraft classification.","x-traitTag":false},{"name":"aircraft_profiles","description":"Aircraft profile information used for flight time and route calculation. An aircraft type can have multiple profiles.","x-traitTag":false},{"name":"aircraft_types","description":"Aircraft types and variations.","x-traitTag":false},{"name":"airports","description":"Airports used for executive aviation.","x-traitTag":false},{"name":"availabilities","description":"Actual empty legs and charter aircraft availabilities of all companies.","x-traitTag":false},{"name":"charter_prices","description":"Price estimation for a charter flight.","x-traitTag":false},{"name":"charter_quote_replies","description":"Seller (operator) offers for own charter quotes.","x-traitTag":false},{"name":"charter_quote_requests","description":"Quote a charter flight from multiple charter operators (sellers). Making a Charter Search is highly recommended before making a quote.","x-traitTag":false},{"name":"charter_search_aircraft","description":"Find most suitable charter aircraft with their operators (sellers) for a flight with multiple parameters and filters. Very helpful before sending flight requests.","x-traitTag":false},{"name":"charter_searches","description":"Find most suitable charter aircraft with their operators (sellers) for a flight with multiple parameters and filters. Very helpful before making a charter quote.","x-traitTag":false},{"name":"cities","description":"Worldwide populated cities.","x-traitTag":false},{"name":"companies","description":"Executive aviation companies (operators, brokers, FBO, MRO, handling, aircraft dealers, ...).","x-traitTag":false},{"name":"countries","description":"Worldwide countries.","x-traitTag":false},{"name":"fbo_request","description":"FBO request for handling, fuel, catering, etc.","x-traitTag":false},{"name":"fbos","description":"FBO facilities.","x-traitTag":false},{"name":"flight_calculator","description":"Flight time, route and fuel usage calculator.","x-traitTag":false},{"name":"flights","description":"Information about own company's flights. Used for increasing accuracy in quoting, scheduling and historical analysis.","x-traitTag":false},{"name":"market_request","description":"Jet market request for buying or selling aircraft.","x-traitTag":false},{"name":"metars","description":"Meteorological Aerodrome Reports, decoded an original.","x-traitTag":false},{"name":"mro_request","description":"MRO request for maintenance, repair, overhaul.","x-traitTag":false},{"name":"mros","description":"MRO facilities.","x-traitTag":false},{"name":"notams","description":"Notices to Airmen, decoded and original.","x-traitTag":false},{"name":"operator_quote_messages","description":"Quotes made by brokers (buyers) to own company.","x-traitTag":false},{"name":"operator_quote_replies","description":"Offer generation for quotes made by brokers (buyers) to own company.","x-traitTag":false},{"name":"price_calculator","description":"Price estimation for a charter flight.","x-traitTag":false},{"name":"tafs","description":"Terminal Aerodrome Forecasts, decoded and original.","x-traitTag":false},{"name":"tokens","description":"Aviapages token management.","x-traitTag":false}],"paths":{"/v3/aircraft_classes/":{"get":{"operationId":"aircraft_classes_list","description":"Get list of Aircraft Class records. All parameters are optional","summary":"Get list of Aircraft Classes","parameters":[{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-id","-name","-priority","id","name","priority"]}},"description":"Order by id, name, priority\n\n* `id` - id\n* `-id` - id (descending)\n* `name` - Aircraft class name\n* `-name` - Aircraft class name (descending)\n* `priority` - Priority\n* `-priority` - Priority (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"search_name","schema":{"type":"string"},"description":"Search by aircraft class name"}],"tags":["aircraft_classes"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAircraftClassMainList"},"examples":{"AllClasses":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"aircraft_class_id":14,"name":"Helicopter"},{"aircraft_class_id":13,"name":"Ultra long range"},{"aircraft_class_id":12,"name":"Light"},{"aircraft_class_id":10,"name":"Airliner"},{"aircraft_class_id":9,"name":"Cargo"},{"aircraft_class_id":8,"name":"VIP airliner"},{"aircraft_class_id":7,"name":"Midsize"},{"aircraft_class_id":6,"name":"Heavy"},{"aircraft_class_id":1,"name":"Super midsize"}]},"summary":"All classes"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/aircraft_classes/{aircraft_class_id}/":{"get":{"operationId":"aircraft_classes_retrieve","description":"Get a single Aircraft Class record","summary":"Get a single Aircraft Class record","parameters":[{"in":"path","name":"aircraft_class_id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft class.","required":true}],"tags":["aircraft_classes"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AircraftClassMain"},"examples":{"Basic":{"value":{"aircraft_class_id":12,"name":"Light"},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/aircraft_profiles/":{"get":{"operationId":"aircraft_profiles_list","description":"Get list of Aircraft Profile records. Used for flight calculations. All parameters are optional","summary":"Get list of Aircraft Profiles","parameters":[{"in":"query","name":"custom","schema":{"type":"boolean"},"description":"Filter by custom. Custom aircraft profiles are the ones made on demand and private."},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-aircraft_class_name","-aircraft_type_name","-id","-is_custom","-manufacturer_name","-name","-performance","aircraft_class_name","aircraft_type_name","id","is_custom","manufacturer_name","name","performance"]}},"description":"Order by id, name, aircraft_type_name, aircraft_class_name, manufacturer_name, aircraft_type_name, performance, is_custom\n\n* `id` - id\n* `-id` - id (descending)\n* `name` - Aircraft profile name\n* `-name` - Aircraft profile name (descending)\n* `aircraft_type_name` - Aircraft type name\n* `-aircraft_type_name` - Aircraft type name (descending)\n* `aircraft_class_name` - Aircraft class name\n* `-aircraft_class_name` - Aircraft class name (descending)\n* `manufacturer_name` - Manufacturer name\n* `-manufacturer_name` - Manufacturer name (descending)\n* `performance` - Performance\n* `-performance` - Performance (descending)\n* `is_custom` - Is custom\n* `-is_custom` - Is custom (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"performance","schema":{"type":"boolean"},"description":"Filter by performance. If aircraft performance data is true then airway and great circle flight time calculations are available. Otherwise - only average_speed time."},{"in":"query","name":"search_aircraft_type_icao","schema":{"type":"string"},"description":"Search by aircraft type ICAO code"},{"in":"query","name":"search_aircraft_type_name","schema":{"type":"string"},"description":"Search by aircraft type name"},{"in":"query","name":"search_name","schema":{"type":"string"},"description":"Search by aircraft profile name"}],"tags":["aircraft_profiles"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAircraftProfileMainList"},"examples":{"NameSearch":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"aircraft_profile_id":622,"name":"HondaJet","aircraft_type_name":"HondaJet","aircraft_type_icao":"HDJT","performance":true,"is_custom":false,"cruise_speeds":["LRC","MSC","MSC","M0.78","M0.70"],"flight_levels":[3048,11887,12497,3048]},{"aircraft_profile_id":687,"name":"HondaJet (high speed cruise)","aircraft_type_name":"HondaJet","aircraft_type_icao":"HDJT","performance":true,"is_custom":false,"cruise_speeds":["LRC","MSC","MSC","M0.78","M0.70"],"flight_levels":[3048,11887,12497,3048]},{"aircraft_profile_id":727,"name":"HondaJet (IASA regulations)","aircraft_type_name":"HondaJet","aircraft_type_icao":"HDJT","performance":true,"is_custom":false,"cruise_speeds":["LRC","MSC","MSC","M0.78","M0.70"],"flight_levels":[3048,11887,12497,3048]},{"aircraft_profile_id":686,"name":"HondaJet LRC","aircraft_type_name":"HondaJet","aircraft_type_icao":"HDJT","performance":true,"is_custom":false,"cruise_speeds":["LRC","MSC","MSC","M0.78","M0.70"],"flight_levels":[3048,11887,12497,3048]},{"aircraft_profile_id":736,"name":"HondaJet test","aircraft_type_name":"HondaJet","aircraft_type_icao":"HDJT","performance":true,"is_custom":false,"cruise_speeds":["LRC","MSC","MSC","M0.78","M0.70"],"flight_levels":[3048,11887,12497,3048]}]},"summary":"Name search"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/aircraft_profiles/{aircraft_profile_id}/":{"get":{"operationId":"aircraft_profiles_retrieve","description":"Get one aircraft profile record","summary":"Get a single Aircraft Profile record","parameters":[{"in":"path","name":"aircraft_profile_id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft profile.","required":true}],"tags":["aircraft_profiles"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AircraftProfileMain"},"examples":{"Basic":{"value":{"aircraft_profile_id":686,"name":"HondaJet LRC","aircraft_type_name":"HondaJet","aircraft_type_icao":"HDJT","performance":true,"is_custom":false,"range_thresholds":[1852,646],"cruise_speeds":["LRC","MSC","MSC","M0.78","M0.70"],"flight_levels":[3048,11887,12497,3048]},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/aircraft_types/":{"get":{"operationId":"aircraft_types_list","description":"Get list of Aircraft Type records. All parameters are optional","summary":"Get list of Aircraft Types","parameters":[{"in":"query","name":"aircraft_class_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"luggage_volume_max","schema":{"type":"number","format":"double","nullable":true},"description":"Filter by luggage volume, m3"},{"in":"query","name":"luggage_volume_min","schema":{"type":"number","format":"double","nullable":true},"description":"Filter by luggage volume, m3"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-aircraft_class_name","-altitude","-cabin_height","-cabin_length","-cabin_width","-id","-luggage_volume","-manufacturer_name","-manufacturer_priority","-name","-pax_maximum","-priority","-range_maximum","aircraft_class_name","altitude","cabin_height","cabin_length","cabin_width","id","luggage_volume","manufacturer_name","manufacturer_priority","name","pax_maximum","priority","range_maximum"]}},"description":"Order by id, name, aircraft_class_name, manufacturer_name, range_maximum, altitude, pax_maximum, cabin_height, cabin_width, cabin_length, luggage_volume, priority\n\n* `id` - id\n* `-id` - id (descending)\n* `name` - Aircraft type name\n* `-name` - Aircraft type name (descending)\n* `aircraft_class_name` - Aircraft class name\n* `-aircraft_class_name` - Aircraft class name (descending)\n* `manufacturer_name` - Manufacturer name\n* `-manufacturer_name` - Manufacturer name (descending)\n* `manufacturer_priority` - Manufacturer priority\n* `-manufacturer_priority` - Manufacturer priority (descending)\n* `range_maximum` - Range maximum\n* `-range_maximum` - Range maximum (descending)\n* `altitude` - Altitude\n* `-altitude` - Altitude (descending)\n* `pax_maximum` - Pax maximum\n* `-pax_maximum` - Pax maximum (descending)\n* `cabin_height` - Cabin height\n* `-cabin_height` - Cabin height (descending)\n* `cabin_width` - Cabin width\n* `-cabin_width` - Cabin width (descending)\n* `cabin_length` - Cabin length\n* `-cabin_length` - Cabin length (descending)\n* `luggage_volume` - Luggage volume\n* `-luggage_volume` - Luggage volume (descending)\n* `priority` - Priority\n* `-priority` - Priority (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"pax_maximum_max","schema":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true}},{"in":"query","name":"pax_maximum_min","schema":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true}},{"in":"query","name":"range_maximum_max","schema":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true},"description":"Filter by range, km"},{"in":"query","name":"range_maximum_min","schema":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true},"description":"Filter by range, km"},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by name, alternate names, manufacturer name, family and class name"},{"in":"query","name":"search_class_name","schema":{"type":"string"},"description":"Search by aircraft class name"},{"in":"query","name":"search_icao","schema":{"type":"string"},"description":"Search by ICAO code"},{"in":"query","name":"search_manufacturer_name","schema":{"type":"string"},"description":"Search by manufacturer name"},{"in":"query","name":"search_name","schema":{"type":"string"},"description":"Search by aircraft type name"}],"tags":["aircraft_types"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAircraftTypeList"},"examples":{"Basic":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":500,"results":[{"id":2,"name":"Cessna Citation CJ1","icao":"C525","aircraft_class":{"id":12,"name":"Light"},"range_maximum":3111,"altitude":12497,"pax_maximum":5,"cabin_height":1.45,"cabin_length":3.35,"cabin_width":1.47,"slug":"cessna-citationjet-cj1","luggage_volume":1.56,"aircraft_type_global_family":{"id":2,"name":"Cessna Aircraft Company"},"images":[{"media":{"id":66058,"path":"https://md.aviapages.com/media/2022/11/09/317_3726_.jpg"},"position":1},{"media":{"id":66059,"path":"https://md.aviapages.com/media/2022/11/09/8365_46599_.jpg"},"position":2}],"attachments":[],"aircraft_type_extension":{"description":"The CJ1 is the second generation of the extremely successful Citation Jet series...."}}]},"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/aircraft_types/{id}/":{"get":{"operationId":"aircraft_types_retrieve","description":"Get a single Aircraft Type record","summary":"Get a single Aircraft Type record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft type.","required":true}],"tags":["aircraft_types"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AircraftType"},"examples":{"Basic":{"value":{"id":2,"name":"Cessna Citation CJ1","icao":"C525","aircraft_class":{"id":12,"name":"Light"},"range_maximum":3111,"altitude":12497,"pax_maximum":5,"cabin_height":1.45,"cabin_length":3.35,"cabin_width":1.47,"slug":"cessna-citationjet-cj1","luggage_volume":1.56,"aircraft_type_global_family":{"id":2,"name":"Cessna Aircraft Company"},"images":[{"media":{"id":66058,"path":"https://md.aviapages.com/media/2022/11/09/317_3726_.jpg"},"position":1},{"media":{"id":66059,"path":"https://md.aviapages.com/media/2022/11/09/8365_46599_.jpg"},"position":2}],"attachments":[],"aircraft_type_extension":{"description":"The CJ1 is the second generation of the extremely successful Citation Jet series...."}},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/airports/":{"get":{"operationId":"airports_list","description":"Get list of Airport records. All parameters are optional","summary":"Get list of Airports","parameters":[{"in":"query","name":"icao_in","schema":{"type":"array","items":{"type":"string","nullable":true}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"on_date","schema":{"type":"string","format":"date"},"description":"Adjusts sunrise, sunset and time_shift to chosen date, format \"yyyy-mm-dd\" or \"yyyy-mm-ddThh:mm\"","examples":{"Example1":{"value":"2025-02-20T01:00","summary":"Adjusts sunrise, sunset and time_shift to chosen date"}}},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-city_name","-country_name","-distance","-iata","-icao","-id","-lid","-name","city_name","country_name","distance","iata","icao","id","lid","name"]}},"description":"Ordering fields: id, name, city_name, country_name, iata, icao, lid, distance\n\n* `id` - id\n* `-id` - id (descending)\n* `name` - Airport name\n* `-name` - Airport name (descending)\n* `city_name` - City name\n* `-city_name` - City name (descending)\n* `country_name` - Country name\n* `-country_name` - Country name (descending)\n* `iata` - Airport IATA code\n* `-iata` - Airport IATA code (descending)\n* `icao` - Airport ICAO code\n* `-icao` - Airport ICAO code (descending)\n* `lid` - Airport local identifier\n* `-lid` - Airport local identifier (descending)\n* `distance` - Distance by ip(send \"user_ip\" in query params)\n* `-distance` - Distance by ip(send \"user_ip\" in query params) (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by name, country, ICAO code, IATA code or city name"},{"in":"query","name":"search_city","schema":{"type":"string"},"description":"Search by city name"},{"in":"query","name":"search_coords","schema":{"type":"string"},"description":"Search by coordinates, \"latitude,longitude\". Used in conjunction with search_coords_radius."},{"in":"query","name":"search_coords_radius","schema":{"type":"integer","default":100},"description":"Coordinate airport search radius parameter, km"},{"in":"query","name":"search_country","schema":{"type":"string"},"description":"Search by country name, ISO 3166-1 alpha-2 and ISO 3166-1 alpha-3 codes"},{"in":"query","name":"search_iata","schema":{"type":"string"},"description":"Search by airport IATA code"},{"in":"query","name":"search_icao","schema":{"type":"string"},"description":"Search by airport ICAO code"},{"in":"query","name":"search_lid","schema":{"type":"string"},"description":"Search by airport local identifier"},{"in":"query","name":"search_name","schema":{"type":"string"},"description":"Search by airport name"}],"tags":["airports"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAirportList"},"examples":{"Basic":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":20888,"country":{"id":472,"name":"United States","iso_alpha3":"USA","iso_alpha2":"US"},"city":{"id":462972,"name":"Denver"},"time_shift":"UTC-07:00","sunset":"17:41","sunrise":"06:45","runways":[{"id":45532,"name":"07","length":"12000x150","type":"hard","lights":"ft lts"},{"id":45533,"name":"08","length":"12000x150","type":"hard","lights":"ft lts"},{"id":45534,"name":"16L","length":"12000x150","type":"hard","lights":"ft lts"},{"id":45535,"name":"16R","length":"16000x200","type":"hard","lights":"ft lts"},{"id":45536,"name":"17L","length":"12000x150","type":"hard","lights":"ft lts"},{"id":45537,"name":"17R","length":"12000x150","type":"hard","lights":"ft lts"}],"pcn":"092RBWT","name":"Denver Intl","time_zone":"America/Denver","lid":null,"email":"info@flydenver.com","latitude":39.8616,"tower_hours":"24/7","phone":"+13033420838","longitude":-104.6731,"fax":null,"website":"www.flydenver.com","icao":"KDEN","iata":"DEN","slug":"kden"}]},"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/airports/{id}/":{"get":{"operationId":"airports_retrieve","description":"Get a single Airport record","summary":"Get a single Airport record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this airport.","required":true},{"in":"query","name":"on_date","schema":{"type":"string","format":"date"},"description":"Adjusts sunrise, sunset and time_shift to chosen date, format \"yyyy-mm-dd\" or \"yyyy-mm-ddThh:mm\"","examples":{"Example1":{"value":"2025-02-20T01:00","summary":"Adjusts sunrise, sunset and time_shift to chosen date"}}}],"tags":["airports"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Airport"},"examples":{"Basic":{"value":{"id":20888,"country":{"id":472,"name":"United States","iso_alpha3":"USA","iso_alpha2":"US"},"city":{"id":462972,"name":"Denver"},"time_shift":"UTC-07:00","sunset":"17:41","sunrise":"06:45","runways":[{"id":45532,"name":"07","length":"12000x150","type":"hard","lights":"ft lts"},{"id":45533,"name":"08","length":"12000x150","type":"hard","lights":"ft lts"},{"id":45534,"name":"16L","length":"12000x150","type":"hard","lights":"ft lts"},{"id":45535,"name":"16R","length":"16000x200","type":"hard","lights":"ft lts"},{"id":45536,"name":"17L","length":"12000x150","type":"hard","lights":"ft lts"},{"id":45537,"name":"17R","length":"12000x150","type":"hard","lights":"ft lts"}],"pcn":"092RBWT","name":"Denver Intl","time_zone":"America/Denver","lid":null,"email":"info@flydenver.com","latitude":39.8616,"tower_hours":"24/7","phone":"+13033420838","longitude":-104.6731,"fax":null,"website":"www.flydenver.com","icao":"KDEN","iata":"DEN","slug":"kden"},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/availabilities/":{"get":{"operationId":"availabilities_list","description":"Get list of actual aircraft Availability records. All parameters are optional","summary":"Get list of Availability records","parameters":[{"in":"query","name":"arr_airport_code_in","schema":{"type":"array","items":{"type":"string"}},"description":"Arrival airport code in list, ICAO/IATA/LID","explode":false,"style":"form"},{"in":"query","name":"arr_airport_country_iso_alpha2_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"arr_airport_country_iso_alpha3_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"arrival_airport_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Arrival airport id in list","explode":false,"style":"form"},{"in":"query","name":"created_at_gt","schema":{"type":"string","format":"date-time"},"description":"Created at date greater than"},{"in":"query","name":"dep_airport_code_in","schema":{"type":"array","items":{"type":"string"}},"description":"Departure airport code in list, ICAO/IATA/LID","explode":false,"style":"form"},{"in":"query","name":"dep_airport_country_iso_alpha2_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"dep_airport_country_iso_alpha3_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"dep_airport_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Departure airport id in list","explode":false,"style":"form"},{"in":"query","name":"from_date_local","schema":{"type":"string","format":"date-time"},"description":"From date local available in format \"yyyy-mm-ddThh:mm\""},{"in":"query","name":"from_date_utc","schema":{"type":"string"},"description":"From date available in format \"yyyy-mm-ddThh:mm\"","examples":{"Example1":{"value":"2026-04-23T09:09","summary":"Starts from today"},"Example2":{"value":"2026-04-18T09:09","summary":"Starts in 5 days"}}},{"in":"query","name":"has_arrival_airport","schema":{"type":"boolean"},"description":"Show records with destination airport only"},{"in":"query","name":"has_price","schema":{"type":"boolean"},"description":"Show records with price only"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-aircraft_registration_number","-arr_airport_icao","-arr_date_utc","-created_at","-dep_airport_icao","-dep_date_utc","-id","-price","-price_currency_name","aircraft_registration_number","arr_airport_icao","arr_date_utc","created_at","dep_airport_icao","dep_date_utc","id","price","price_currency_name"]}},"description":"Ordering fields: id, dep_date_utc, arr_date_utc, aircraft_registration_number, dep_airport_icao, arr_airport_icao, price, price_currency_name\n\n* `id` - id\n* `-id` - id (descending)\n* `dep_date_utc` - Dep date utc\n* `-dep_date_utc` - Dep date utc (descending)\n* `arr_date_utc` - Arr date utc\n* `-arr_date_utc` - Arr date utc (descending)\n* `aircraft_registration_number` - aircraft_registration_number\n* `-aircraft_registration_number` - aircraft_registration_number (descending)\n* `dep_airport_icao` - dep_airport_icao\n* `-dep_airport_icao` - dep_airport_icao (descending)\n* `arr_airport_icao` - arr_airport_icao\n* `-arr_airport_icao` - arr_airport_icao (descending)\n* `price` - price\n* `-price` - price (descending)\n* `price_currency_name` - Price currency name\n* `-price_currency_name` - Price currency name (descending)\n* `created_at` - created_at_gt\n* `-created_at` - created_at_gt (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"reg","schema":{"type":"string"},"description":"Registration number filter like \"hbjgq\" or \"hb-jgq\""},{"in":"query","name":"search_coords","schema":{"type":"string"},"description":"Search by coordinates, \"latitude,longitude\". Returns results ordered by distance, requires search_coords_radius"},{"in":"query","name":"search_coords_radius","schema":{"type":"number"},"description":"Radius in kilometers for search_coords, default 100km."},{"in":"query","name":"to_date_local","schema":{"type":"string","format":"date-time"},"description":"To date local available in format \"yyyy-mm-ddThh:mm\""},{"in":"query","name":"to_date_utc","schema":{"type":"string"},"description":"To date available in format \"yyyy-mm-ddThh:mm\"","examples":{"Example1":{"value":"2026-05-03T09:09","summary":"Ends in 10 days"}}}],"tags":["availabilities"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedAvailabilityList"}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"post":{"operationId":"availabilities_create","description":"Creation of an Availability record","summary":"Create an Availability record","tags":["availabilities"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Availability"},"examples":{"SimpleAvailabilityCreation":{"value":{"registration_number":"SP-FMG","dep_airport":{"icao":"LUKK"},"from_date_utc":"2024-06-25T21:45","to_date_utc":"2024-06-25T22:40"},"summary":"Simple availability creation"},"AvailabilityCreationWithPriceAndComment":{"value":{"registration_number":"spfmg","dep_airport":{"iata":"RMO"},"arr_airport":{"icao":"RJTT"},"from_date_utc":"2024-06-24T21:45","to_date_utc":"2024-06-24T22:40","comment":"Comment","price":16000,"currency_code":"EUR"},"summary":"Availability creation with price and comment"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Availability"},"examples":{"SimpleAvailabilitySuccessfulCreationResponse":{"value":{"id":100060,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-06-25T21:45","to_date_utc":"2024-06-25T22:40","comment":null,"price":null,"currency_code":null,"dep_airport":{"id":23378,"name":"Chisinau Intl","iata":"RMO","icao":"LUKK","lid":null,"slug":"lukk","city":{"id":429105,"name":"Chisinau","country":{"id":256,"name":"Moldova"}}},"arr_airport":null},"summary":"Simple Availability successful creation response"},"AvailabilitySuccessfulCreationResponseWithPriceAndComment":{"value":{"id":100061,"availability_id":100061,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-06-24T21:45","to_date_utc":"2024-06-24T22:40","comment":"Comment","price":16000,"currency_code":"EUR","dep_airport":{"id":23378,"name":"Chisinau Intl","iata":"RMO","icao":"LUKK","lid":null,"slug":"lukk","city":{"id":429105,"name":"Chisinau","country":{"id":256,"name":"Moldova"}}},"arr_airport":{"id":24235,"name":"Tokyo Intl","iata":"HND","icao":"RJTT","lid":null,"slug":"rjtt","city":{"id":427428,"name":"Tokyo","country":{"id":375,"name":"Japan"}}}},"summary":"Availability successful creation response with price and comment"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/availabilities/{id}/":{"get":{"operationId":"availabilities_retrieve","description":"Get a single Availability record","summary":"Get a single Availability record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft availability.","required":true}],"tags":["availabilities"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Availability"},"examples":{"SuccessfulResponse":{"value":{"id":100059,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-05-25T21:45","to_date_utc":"2024-05-26T21:50","comment":"Comment","price":10000.56,"currency_code":"CHF","dep_airport":{"id":19524,"name":"Stansted","iata":"STN","icao":"EGSS","lid":null,"slug":"egss","city":{"id":418462,"name":"London","country":{"id":474,"name":"United Kingdom"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"successful response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"put":{"operationId":"availabilities_update","description":"Updating an Availability record entirely","summary":"Update an Availability record entirely","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft availability.","required":true}],"tags":["availabilities"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Availability"},"examples":{"AvailabilityUpdate":{"value":{"registration_number":"SP-FMG","dep_airport":{"icao":"LUKK"},"comment":"Departure airport, from and to dates changed","from_date_utc":"2024-08-26T21:45","to_date_utc":"2024-08-26T22:40"},"summary":"Availability update"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Availability"},"examples":{"AvailabilitySuccessfulUpdatedResponse":{"value":{"id":100059,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-08-26T21:45","to_date_utc":"2024-08-26T22:40","comment":"Departure airport, from and to dates changed","price":10000.56,"currency_code":"CHF","dep_airport":{"id":23378,"name":"Chisinau Intl","iata":"RMO","icao":"LUKK","lid":null,"slug":"lukk","city":{"id":429105,"name":"Chisinau","country":{"id":256,"name":"Moldova"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"Availability successful updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"patch":{"operationId":"availabilities_partial_update","description":"Partial update of an Availability record","summary":"Partial update of an Availability record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft availability.","required":true}],"tags":["availabilities"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAvailability"},"examples":{"AvailabilityUpdate":{"value":{"comment":"Price and currency changed","price":20000,"currency_code":"EUR"},"summary":"Availability update"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Availability"},"examples":{"AvailabilitySuccessfulUpdatedResponse":{"value":{"id":100059,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-08-26T21:45","to_date_utc":"2024-08-26T22:40","comment":"Price and currency changed","price":20000,"currency_code":"EUR","dep_airport":{"id":23378,"name":"Chisinau Intl","iata":"RMO","icao":"LUKK","lid":null,"slug":"lukk","city":{"id":429105,"name":"Chisinau","country":{"id":256,"name":"Moldova"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"Availability successful updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"delete":{"operationId":"availabilities_destroy","description":"Deleting availability records","summary":"Delete Availability record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft availability.","required":true}],"tags":["availabilities"],"security":[{"tokenAuth":[]}],"responses":{"204":{"description":"No response body"},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_aircraft/":{"get":{"operationId":"charter_aircraft_list","description":"Get list of Aircraft records. All parameters are optional","summary":"Get list of Aircraft","parameters":[{"in":"query","name":"adult_critical_care","schema":{"type":"boolean"},"description":"Filter by adult_critical_care"},{"in":"query","name":"aircraft_class_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"aircraft_type_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"base_airport_country_iso_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"cabin_crew","schema":{"type":"boolean"},"description":"Filter by cabin_crew"},{"in":"query","name":"company_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Filter by company id","explode":false,"style":"form"},{"in":"query","name":"cycles_lte","schema":{"type":"integer"},"description":"Filter by aircraft cycles (lte), cycles"},{"in":"query","name":"entertainment_system","schema":{"type":"boolean"},"description":"Filter by entertainment_system"},{"in":"query","name":"hot_meal","schema":{"type":"boolean"},"description":"Filter by hot_meal"},{"in":"query","name":"hours_flown_lte","schema":{"type":"integer"},"description":"Filter by hours flown (lower than or equal)"},{"in":"query","name":"is_ambulance","schema":{"type":"boolean"},"description":"Filter by ambulance"},{"in":"query","name":"is_cargo","schema":{"type":"boolean"},"description":"Filter by cargo"},{"in":"query","name":"lavatory","schema":{"type":"boolean"},"description":"Filter by lavatory"},{"in":"query","name":"luggage_volume_gte","schema":{"type":"number"},"description":"Filter by luggage volume (lower than or equal), m3"},{"in":"query","name":"medical_ramp","schema":{"type":"boolean"},"description":"Filter by medical_ramp"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-aircraft_class","-aircraft_type","-id","-manufacturer","-passengers_max","-year_of_production","aircraft_class","aircraft_type","id","manufacturer","passengers_max","year_of_production"]}},"description":"Order by fields: id, passengers_max, year_of_production, aircraft_type, aircraft_class, manufacturer name. Default ordering is by id descending(-id)\n\n* `id` - id\n* `-id` - id (descending)\n* `passengers_max` - Passengers max\n* `-passengers_max` - Passengers max (descending)\n* `year_of_production` - Year of production\n* `-year_of_production` - Year of production (descending)\n* `aircraft_type` - Aircraft type\n* `-aircraft_type` - Aircraft type (descending)\n* `aircraft_class` - Aircraft class\n* `-aircraft_class` - Aircraft class (descending)\n* `manufacturer` - Manufacturer\n* `-manufacturer` - Manufacturer (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"passengers_max_gte","schema":{"type":"integer"}},{"in":"query","name":"pediatric_critical_care","schema":{"type":"boolean"},"description":"Filter by pediatric_critical_care"},{"in":"query","name":"pets_allowed","schema":{"type":"boolean"},"description":"Filter by pets_allowed"},{"in":"query","name":"refurbished_year_gte","schema":{"type":"integer"}},{"in":"query","name":"satellite_phone","schema":{"type":"boolean"},"description":"Filter by satellite_phone"},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by aircraft type, aircraft class,  manufacturer, tail number, serial number, company name, country name, city name, home base ICAO code or local identifier"},{"in":"query","name":"shower","schema":{"type":"boolean"},"description":"Filter by shower"},{"in":"query","name":"sleeping_places_gte","schema":{"type":"integer"}},{"in":"query","name":"smoking","schema":{"type":"boolean"},"description":"Filter by smoking"},{"in":"query","name":"wireless_internet","schema":{"type":"boolean"},"description":"Filter by wireless_internet"},{"in":"query","name":"year_of_production_max","schema":{"type":"integer","maximum":32767,"minimum":0,"nullable":true}},{"in":"query","name":"year_of_production_min","schema":{"type":"integer","maximum":32767,"minimum":0,"nullable":true}}],"tags":["aircraft"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCharterAircraftList"},"examples":{"Basic":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":9999999999,"aircraft_type":{"id":176,"name":"Cessna Citation Excel","icao":"C56X","aircraft_class":{"id":7,"name":"Midsize"}},"company":{"id":9999999999,"name":"Fly International","phone":"+1 822 359 2582","fax":null,"website":"www.flycompany.net","address":"2750 Flyport RD., 28504","city":{"id":463638,"name":"Kinston","country":{"id":472,"name":"United States","iso_alpha3":"USA","iso_alpha2":"US"}},"contact_email":null,"is_operator":true,"is_broker":false,"is_fbo":false,"is_mro":true,"is_catering":false,"is_handling":false,"is_fuel_supply":false,"is_aircraft_dealer":false,"is_manufacturer":false,"is_flight_support":false,"slug":"flyexclusive"},"base_airport":{"id":22260,"name":"Cobb County Intl-Mccollum Field","city":{"id":466001,"name":"Atlanta"},"country":{"id":472,"name":"United States","iso_alpha3":"USA","iso_alpha2":"US"},"latitude":34.0131,"longitude":-84.597,"iata":"RYY","icao":"KRYY","lid":null},"aircraft_extension":{"id":7138,"refurbishment":null,"view_360":null,"cabin_crew":null,"divan_seats":null,"lavatory":true,"beds":null,"hot_meal":null,"wireless_internet":null,"entertainment_system":null,"medical_ramp":null,"smoking":null,"owners_approval_required":null,"pets_allowed":null,"domestic_flights_only":null,"cabin_height":null,"cabin_length":null,"cabin_width":null,"adult_critical_care":null,"pediatric_critical_care":null,"luggage_volume":null,"shower":null,"satellite_phone":null,"sleeping_places":null,"description":null,"selling_price":null,"selling_currency":null,"selling_comment":null},"passengers_max":8,"registration_number":"N534589","year_of_production":2000,"slug":"n534589","serial_number":"534-4275","is_for_charter":true,"is_for_sale":false,"comment":null,"tech_operator":null,"is_ambulance":false,"is_cargo":false,"images":[{"media":{"id":9682,"path":"https://md.aviapages.com/media/2017/01/01/04/10923.jpg"},"position":1,"tag":{"value":"exterior","description":null}},{"media":{"id":58127,"path":"https://md.aviapages.com/media/2022/04/28/5134_9682_.jpg"},"position":4,"tag":{"value":"notail","description":null}}],"attachments":[]}]},"summary":"Basic"}}}},"description":""}}}},"/v3/charter_aircraft/{id}/":{"get":{"operationId":"charter_aircraft_retrieve","description":"Get a single Aircraft record","summary":"Get a single Aircraft record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft.","required":true}],"tags":["aircraft"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharterAircraft"},"examples":{"Basic":{"value":{"id":9999999999,"aircraft_type":{"id":176,"name":"Cessna Citation Excel","icao":"C56X","aircraft_class":{"id":7,"name":"Midsize"}},"company":{"id":9999999999,"name":"Fly International","phone":"+1 822 359 2582","fax":null,"website":"www.flycompany.net","address":"2750 Flyport RD., 28504","city":{"id":463638,"name":"Kinston","country":{"id":472,"name":"United States","iso_alpha3":"USA","iso_alpha2":"US"}},"contact_email":null,"is_operator":true,"is_broker":false,"is_fbo":false,"is_mro":true,"is_catering":false,"is_handling":false,"is_fuel_supply":false,"is_aircraft_dealer":false,"is_manufacturer":false,"is_flight_support":false,"slug":"flyexclusive"},"base_airport":{"id":22260,"name":"Cobb County Intl-Mccollum Field","city":{"id":466001,"name":"Atlanta"},"country":{"id":472,"name":"United States","iso_alpha3":"USA","iso_alpha2":"US"},"latitude":34.0131,"longitude":-84.597,"iata":"RYY","icao":"KRYY","lid":null},"aircraft_extension":{"id":7138,"refurbishment":null,"view_360":null,"cabin_crew":null,"divan_seats":null,"lavatory":true,"beds":null,"hot_meal":null,"wireless_internet":null,"entertainment_system":null,"medical_ramp":null,"smoking":null,"owners_approval_required":null,"pets_allowed":null,"domestic_flights_only":null,"cabin_height":null,"cabin_length":null,"cabin_width":null,"adult_critical_care":null,"pediatric_critical_care":null,"luggage_volume":null,"shower":null,"satellite_phone":null,"sleeping_places":null,"description":null,"selling_price":null,"selling_currency":null,"selling_comment":null},"passengers_max":8,"registration_number":"N534589","year_of_production":2000,"slug":"n534589","serial_number":"534-4275","is_for_charter":true,"is_for_sale":false,"comment":null,"tech_operator":null,"is_ambulance":false,"is_cargo":false,"images":[{"media":{"id":9682,"path":"https://md.aviapages.com/media/2017/01/01/04/10923.jpg"},"position":1,"tag":{"value":"exterior","description":null}},{"media":{"id":58127,"path":"https://md.aviapages.com/media/2022/04/28/5134_9682_.jpg"},"position":4,"tag":{"value":"notail","description":null}}],"attachments":[]},"summary":"Basic"}}}},"description":""}}}},"/v3/charter_companies/":{"get":{"operationId":"charter_companies_list","description":"Get list of Company records. All parameters are optional","summary":"Get list of Companies","parameters":[{"in":"query","name":"aircraft_class","schema":{"type":"string"},"description":"Filter by aircraft class"},{"in":"query","name":"aircraft_class_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"aircraft_type","schema":{"type":"string"},"description":"Filter by aircraft type"},{"in":"query","name":"aircraft_type_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"country_iso_alpha3_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"id_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"is_aircraft_dealer","schema":{"type":"boolean"},"description":"Filter by aircraft_dealer"},{"in":"query","name":"is_broker","schema":{"type":"boolean"},"description":"Filter by broker"},{"in":"query","name":"is_catering","schema":{"type":"boolean"},"description":"Filter by catering"},{"in":"query","name":"is_fbo","schema":{"type":"boolean"},"description":"Filter by fbo"},{"in":"query","name":"is_flight_support","schema":{"type":"boolean"},"description":"Filter by flight_support"},{"in":"query","name":"is_fuel_supply","schema":{"type":"boolean"},"description":"Filter by fuel_supply"},{"in":"query","name":"is_handling","schema":{"type":"boolean"},"description":"Filter by handling"},{"in":"query","name":"is_manufacturer","schema":{"type":"boolean"},"description":"Filter by manufacturer"},{"in":"query","name":"is_mro","schema":{"type":"boolean"},"description":"Filter by mro"},{"in":"query","name":"is_operator","schema":{"type":"boolean"},"description":"Filter by operator"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-city_name","-country_name","-distance","-id","-is_pro","-name","city_name","country_name","distance","id","is_pro","name"]}},"description":"Ordering fields: id, name, city_name, country_name, is_pro, distance\n\n* `id` - id\n* `-id` - id (descending)\n* `name` - Company name\n* `-name` - Company name (descending)\n* `city_name` - City name\n* `-city_name` - City name (descending)\n* `country_name` - Country name\n* `-country_name` - Country name (descending)\n* `is_pro` - Is pro\n* `-is_pro` - Is pro (descending)\n* `distance` - Distance by ip(send \"user_ip\" in query params)\n* `-distance` - Distance by ip(send \"user_ip\" in query params) (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by company name, city name, country name, ISO 3166-1 alpha-2, ISO 3166-1 alpha-3 codes"},{"in":"query","name":"search_city","schema":{"type":"string"},"description":"Search by city name"},{"in":"query","name":"search_country","schema":{"type":"string"},"description":"Search by country name, ISO 3166-1 alpha-2 and ISO 3166-1 alpha-3 codes"},{"in":"query","name":"search_name","schema":{"type":"string"},"description":"Search by company name"}],"tags":["companies"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCharterCompanyList"},"examples":{"Basic":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":4500,"name":"Aviapages","phone":null,"fax":null,"website":"aviapages.com","address":null,"city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates","iso_alpha3":"ARE","iso_alpha2":"AE"}},"contact_email":"support@aviapages.com","company_extension":{"id":8259,"description":"Aviapages is a marketplace for private aviation professionals. We connect operators, brokers, FBOs, MROs and other companies with private aviation customers and suppliers.","use_aoc_map":null,"established_at":null,"profile_video_link":null,"enable_notifications":false,"headline":null,"facebook":"https://www.facebook.com/aviapages","twitter":"https://twitter.com/notaviapages","linkedin":"https://www.linkedin.com/company/aviapages","whatsapp":null,"telegram":null,"instagram":null,"use_schedule_api":null,"avg_response_rate":0.22,"avg_response_time":653,"is_pro":true,"logo_media":{"path":"https://md.aviapages.com/media/2023/04/11/Aviapages.png"}},"is_operator":true,"is_broker":false,"is_fbo":false,"is_mro":false,"is_catering":false,"is_handling":false,"is_fuel_supply":false,"is_aircraft_dealer":false,"is_manufacturer":false,"is_flight_support":false,"slug":"aviapages"},{"id":3594,"name":"Star Elite","phone":"+ 1-FED-ERA-TION","fax":"+ 1-FED-ERA-TION-2","website":"starelite-sky.com","address":"Andromeda st. 13","city":null,"contact_email":"test@test.com","company_extension":{"id":7083,"description":"<p>This is a test company profile used for internal purposes.<br></p>","use_aoc_map":false,"established_at":2012,"profile_video_link":null,"enable_notifications":null,"headline":"<p>Galaxy's finest</p>","facebook":"https://facebook.com/aviapages","twitter":"https://twitter.com/aviapages","linkedin":"https://linkedin.com/aviapages","whatsapp":"+373564654687","telegram":"https://t.me/aviapages","instagram":"https://instagram.com/aviapagescom","use_schedule_api":null,"avg_response_rate":0.12,"avg_response_time":137,"is_pro":true,"logo_media":{"path":"https://md.aviapages.com/media/2019/01/21/h11fpyr8c9jy.png"}},"is_operator":true,"is_broker":true,"is_fbo":false,"is_mro":false,"is_catering":false,"is_handling":false,"is_fuel_supply":false,"is_aircraft_dealer":false,"is_manufacturer":false,"is_flight_support":false,"slug":"demo-company"}]},"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_companies/{id}/":{"get":{"operationId":"charter_companies_retrieve","description":"Get a single Company record","summary":"Get a single Company record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this company.","required":true}],"tags":["companies"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharterCompany"},"examples":{"Basic":{"value":{"id":4500,"name":"Aviapages","phone":null,"fax":null,"website":"aviapages.com","address":null,"city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates","iso_alpha3":"ARE","iso_alpha2":"AE"}},"contact_email":"support@aviapages.com","company_extension":{"id":8259,"description":"Aviapages is a marketplace for private aviation professionals. We connect operators, brokers, FBOs, MROs and other companies with private aviation customers and suppliers.","use_aoc_map":null,"established_at":null,"profile_video_link":null,"enable_notifications":false,"headline":null,"facebook":"https://www.facebook.com/aviapages","twitter":"https://twitter.com/notaviapages","linkedin":"https://www.linkedin.com/company/aviapages","whatsapp":null,"telegram":null,"instagram":null,"use_schedule_api":null,"avg_response_rate":0.22,"avg_response_time":653,"is_pro":true,"logo_media":{"path":"https://md.aviapages.com/media/2023/04/11/Aviapages.png"}},"is_operator":true,"is_broker":false,"is_fbo":false,"is_mro":false,"is_catering":false,"is_handling":false,"is_fuel_supply":false,"is_aircraft_dealer":false,"is_manufacturer":false,"is_flight_support":false,"slug":"aviapages"},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_prices/":{"post":{"operationId":"charter_prices_create","description":"Get charter price","summary":"Get charter price","tags":["charter_prices"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharterPrice"},"examples":{"BasicRequest":{"value":{"legs":[{"departure_airport":{"icao":"LSGG"},"arrival_airport":{"iata":"NCE"},"pax":2,"departure_datetime":"2023-01-01T00:00"}],"aircraft":[{"ac_class":"Midsize"}],"currency_code":"USD"},"summary":"Basic Request"},"RangePriceRequest":{"value":{"legs":[{"departure_airport":{"icao":"LSGG"},"arrival_airport":{"iata":"NCE"},"pax":2,"departure_datetime":"2023-01-01T00:00"}],"aircraft":[{"ac_class":"Midsize"}],"currency_code":"USD","range":true},"summary":"Range Price Request"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharterPriceResponse"},"examples":{"BasicResponse":{"value":{"price":20000,"price_min":null,"price_max":null,"currency_code":"EUR"},"summary":"Basic Response"},"RangePriceResponse":{"value":{"price":20000,"price_min":15000,"price_max":25000,"currency_code":"EUR"},"summary":"Range Price Response"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_quote_replies/":{"get":{"operationId":"charter_quote_replies_list","description":"Get list of Quote Replies. All parameters are optional","summary":"Get list of Quote Replies","parameters":[{"in":"query","name":"from_created_date_utc","schema":{"type":"string","format":"date-time"},"description":"Offer created date from filter in format \"yyyy-mm-ddThh:mm\""},{"in":"query","name":"id_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Offer ID in filter","explode":false,"style":"form"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-aircraft","-comment","-created_at","-currency","-id","-manager_name","-price","-quote_message_id","-quote_request_id","aircraft","comment","created_at","currency","id","manager_name","price","quote_message_id","quote_request_id"]}},"description":"Which field to use when ordering the results.\n\n* `id` - id\n* `-id` - id (descending)\n* `quote_request_id` - Quote request id\n* `-quote_request_id` - Quote request id (descending)\n* `quote_message_id` - Quote message id\n* `-quote_message_id` - Quote message id (descending)\n* `created_at` - created_at\n* `-created_at` - created_at (descending)\n* `price` - price\n* `-price` - price (descending)\n* `aircraft` - aircraft\n* `-aircraft` - aircraft (descending)\n* `currency` - currency\n* `-currency` - currency (descending)\n* `comment` - comment\n* `-comment` - comment (descending)\n* `manager_name` - manager_name\n* `-manager_name` - manager_name (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"quote_message_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Quote Message ID filter","explode":false,"style":"form"},{"in":"query","name":"quote_request_id","schema":{"type":"number"},"description":"Quote ID filter"},{"in":"query","name":"quote_request_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple Quote ID filter","explode":false,"style":"form"},{"in":"query","name":"reaction_filter","schema":{"type":"array","items":{"type":"string","enum":["Accept","Costly","Favorite","New","Reject","Seen"]}},"description":"Choice filter for flight request state. For every state need to use query param with reaction_filter name and value from choices. Example: reaction_filter=Accept&reaction_filter=Favorite\n\n* `New` - New\n* `Seen` - Seen\n* `Favorite` - Favorite\n* `Accept` - Accept\n* `Reject` - Reject\n* `Costly` - Costly","explode":true,"style":"form"},{"in":"query","name":"show_child_account_offers","schema":{"type":"boolean"}},{"in":"query","name":"state_filter","schema":{"type":"array","items":{"type":"string","enum":["Not available","OK","Removed"]}},"description":"Choice filter for flight request state. For every state need to use query param with state_filter name and value from choices. Example: state_filter=OK&state_filter=Not available\n\n* `OK` - OK\n* `Not available` - Not available\n* `Removed` - Removed","explode":true,"style":"form"},{"in":"query","name":"to_created_date_utc","schema":{"type":"string","format":"date-time"},"description":"Offer created date to filter in format \"yyyy-mm-ddThh:mm\""}],"tags":["charter_quote_replies"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedQuoteReplyList"},"examples":{"SearchBy\"Accept\"Reaction":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":17641,"quote_request_id":14239,"quote_message_id":335276,"created_at":"2022-03-05T17:14:48.345851Z","price":39000,"state":"OK","aircraft":{"id":11647,"tail_number":"D-ATMJ","serial_number":"5552","aircraft_type":"Challenger 604","aircraft_class":"Heavy","max_passengers":10,"year_of_production":2003,"home_base":"EDDM","manufacturer_name":"Bombardier Aerospace","images":[{"url":"https://md.aviapages.com/media/2019/02/01/1_dkooT01.jpg","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2018/01/08/2.jpg","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2018/01/08/3.jpg","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2022/01/26/11647_20466_.jpg","image_type":"notail"},{"url":"https://md.aviapages.com/media/2018/01/08/1.jpg","image_type":"other"}]},"currency":"EUR","comment":"","company":{"id":71,"name":"Air Independence","phone":"+49 89 89679 2000","website":"www.airindependence.com","slug":"air-independence","company_extension":{"aviapages_validation":false,"avg_response_rate":0.92,"avg_response_time":45}},"manager_name":"eric","reaction":"New"},{"id":16990,"quote_request_id":14004,"quote_message_id":330890,"created_at":"2022-01-29T09:24:16.453309Z","price":18200,"state":"OK","aircraft":{"id":12745,"tail_number":"D-CASH","serial_number":"50500398","aircraft_type":"Embraer Phenom 300","aircraft_class":"Light","max_passengers":8,"year_of_production":2017,"home_base":"LIML","manufacturer_name":"Embraer","images":[{"url":"https://md.aviapages.com/media/2018/07/05/66.png","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2022/01/26/10745_15251_.png","image_type":"notail"}]},"currency":"EUR","comment":"","company":{"id":70,"name":"Air Hamburg","phone":"+49 40 7070 88 90","website":"air-hamburg.de","company_extension":{"aviapages_validation":false,"avg_response_rate":0.96,"avg_response_time":20}},"manager_name":null,"reaction":"Accept"}]},"summary":"Search by \"Accept\" reaction"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_quote_replies/{id}/":{"get":{"operationId":"charter_quote_replies_retrieve","description":"Get a single Quote Reply record","summary":"Get a single Quote Reply record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request reply offer.","required":true},{"in":"query","name":"show_child_account_offers","schema":{"type":"boolean"}}],"tags":["charter_quote_replies"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteReply"},"examples":{"Basic":{"value":{"id":17641,"quote_request_id":14239,"quote_message_id":335276,"created_at":"2022-03-05T17:14:48.345851Z","price":39000,"state":"OK","aircraft":{"id":11647,"tail_number":"D-ATMJ","serial_number":"5552","aircraft_type":"Challenger 604","aircraft_class":"Heavy","max_passengers":10,"year_of_production":2003,"home_base":"EDDM","manufacturer_name":"Bombardier Aerospace","images":[{"url":"https://md.aviapages.com/media/2019/02/01/1_dkooT01.jpg","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2018/01/08/2.jpg","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2018/01/08/3.jpg","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2022/01/26/11647_20466_.jpg","image_type":"notail"},{"url":"https://md.aviapages.com/media/2018/01/08/1.jpg","image_type":"other"}]},"currency":"EUR","comment":"","company":{"id":71,"name":"Air Independence","phone":"+49 89 89679 2000","website":"www.airindependence.com","slug":"air-independence","company_extension":{"aviapages_validation":false,"avg_response_rate":0.92,"avg_response_time":45}},"manager_name":"eric","reaction":"New"},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"patch":{"operationId":"charter_quote_replies_partial_update","description":"Partial update of a Quote Reply record","summary":"Partial update of a Quote Reply record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request reply offer.","required":true}],"tags":["charter_quote_replies"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedQuoteReply"},"examples":{"OfferUpdate":{"value":{"reaction":"Accept"},"summary":"Offer update"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteReply"},"examples":{"OfferSuccessfulUpdatedResponse":{"value":{"id":17641,"quote_request_id":14239,"quote_message_id":335276,"created_at":"2022-03-05T17:14:48.345851Z","price":39000,"state":"OK","aircraft":{"id":11647,"tail_number":"D-ATMJ","serial_number":"5552","aircraft_type":"Challenger 604","aircraft_class":"Heavy","max_passengers":10,"year_of_production":2003,"home_base":"EDDM","manufacturer_name":"Bombardier Aerospace","images":[{"url":"https://md.aviapages.com/media/2019/02/01/1_dkooT01.jpg","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2018/01/08/2.jpg","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2018/01/08/3.jpg","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2022/01/26/11647_20466_.jpg","image_type":"notail"},{"url":"https://md.aviapages.com/media/2018/01/08/1.jpg","image_type":"other"}]},"currency":"EUR","comment":"","company":{"id":71,"name":"Air Independence","phone":"+49 89 89679 2000","website":"www.airindependence.com","slug":"air-independence","company_extension":{"aviapages_validation":false,"avg_response_rate":0.92,"avg_response_time":45}},"manager_name":"eric","reaction":"Accept"},"summary":"Offer successful updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_quote_requests/":{"get":{"operationId":"charter_quote_requests_list","description":"Get list of Quote records. All parameters are optional","summary":"Get list of Quote records","parameters":[{"in":"query","name":"from_departure_date_utc","schema":{"type":"string","format":"date-time"},"description":"Filter for first leg's departure date (greater than) in format \"yyyy-mm-ddThh:mm\""},{"in":"query","name":"is_actual","schema":{"type":"boolean"},"description":"Search by actual only(first leg departure_datetime>now)"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-comment","-created_at","-id","comment","created_at","id"]}},"description":"Which field to use when ordering the results.\n\n* `id` - id\n* `-id` - id (descending)\n* `created_at` - created_at\n* `-created_at` - created_at (descending)\n* `comment` - comment\n* `-comment` - comment (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by departure or arrival airport name, icao, iata, city name and requested company name"},{"in":"query","name":"show_child_account_quotes","schema":{"type":"boolean"}},{"in":"query","name":"state_filter","schema":{"type":"array","items":{"type":"string","enum":["Archived","Error","OK","Rejected","Validation required"]}},"description":"Choice filter for flight request state. For every state need to use query param with state_filter name and value from choices. Example: state_filter=NEW&state_filter=OPEN\n\n* `OK` - OK\n* `Archived` - Archived\n* `Error` - Error\n* `Rejected` - Rejected\n* `Validation required` - Validation required","explode":true,"style":"form"},{"in":"query","name":"to_departure_date_utc","schema":{"type":"string","format":"date-time"},"description":"filter for first leg's departure date (less than) in format \"yyyy-mm-ddThh:mm\""}],"tags":["charter_quote_requests"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedQuoteRequestList"},"examples":{"ListOfQuote":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"quote_request_id":887,"created_at":"2023-10-20T12:00","legs":[{"departure_airport":{"id":123,"icao":"KLAX","iata":"LAX","lid":null,"name":"Los Angeles Intl","city":{"id":987,"name":"Los Angeles"}},"arrival_airport":{"id":321,"icao":"LSGG","iata":"GVA","lid":null,"name":"Geneva","city":{"id":987,"name":"Geneve"}},"pax":2,"departure_datetime":"2023-10-28T12:00Z","departure_datetime_local":"2023-10-28T04:00Z"},{"departure_airport":{"id":321,"icao":"LSGG","iata":"GVA","lid":null,"name":"Geneva","city":{"id":987,"name":"Geneve"}},"arrival_airport":{"id":123,"icao":"KLAX","iata":"LAX","lid":null,"name":"Los Angeles Intl","city":{"id":987,"name":"Los Angeles"}},"pax":2,"departure_datetime":"2023-10-29T12:00Z","departure_datetime_local":"2023-10-29T04:00"}],"aircraft":[{"id":21861,"tail_number":"A-BCDE","ac_type":null,"ac_class":null},{"id":927,"tail_number":"D-AAAX","ac_type":null,"ac_class":null}],"quote_messages":[{"id":420684,"company":{"id":432,"name":"Vertis Aviation"},"channels":"Telegram","state":"delivered","company_extension":{"aviapages_validation":false,"avg_response_rate":0.7,"avg_response_time":119}},{"id":420685,"company":{"id":12,"name":"KlasJet"},"channels":"Fos","state":"delivered","company_extension":{"aviapages_validation":true,"avg_response_rate":0.6,"avg_response_time":268}},{"id":420686,"company":{"id":422,"name":"ElitAvia"},"channels":"Email","state":"failed","company_extension":{"aviapages_validation":false,"avg_response_rate":0.93,"avg_response_time":689}}],"post_to_trip_board":true,"comment":"my comment to operators"},{"quote_request_id":889,"created_at":"2021-10-29T12:00","legs":[{"departure_airport":{"id":123,"icao":"EVRA","iata":"RIX","lid":null,"name":"Riga","city":{"id":987,"name":"Riga"}},"arrival_airport":{"id":321,"icao":"LUKK","iata":"KIV","lid":null,"name":"Chisinau Intl","city":{"id":987,"name":"Chisinau"}},"pax":2,"departure_datetime":"2021-10-28T12:00"},{"departure_airport":{"id":321,"icao":"LUKK","iata":"KIV","lid":null,"name":"Chisinau Intl","city":{"id":987,"name":"Chisinau"}},"arrival_airport":{"id":123,"icao":"EVRA","iata":"RIX","lid":null,"name":"Riga","city":{"id":987,"name":"Riga"}},"pax":2,"departure_datetime":"2021-10-29T12:00"}],"aircraft":[{"id":null,"tail_number":null,"ac_type":null,"ac_class":"Midsize"},{"id":null,"tail_number":null,"ac_type":null,"ac_class":"Super midsize"},{"id":null,"tail_number":null,"ac_type":null,"ac_class":"Heavy"}],"companies":[{"company":{"id":232,"name":"Union Aviation"},"channel":"telegram","state":"delivered"},{"company":{"id":312,"name":"Venicejets"},"channel":"fos","state":"delivered"},{"company":{"id":437,"name":"Fort Aero"},"state":"failed"}],"post_to_trip_board":true,"comment":"text comment"}]},"summary":"List of Quote"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"post":{"operationId":"charter_quote_requests_create","description":"Create an Quote","summary":"Create an Quote","tags":["charter_quote_requests"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"},"examples":{"QuoteFlight":{"value":{"legs":[{"departure_airport":{"icao":"KLAX"},"arrival_airport":{"iata":"GVA"},"pax":32,"departure_datetime":"2022-09-08T13:04"}],"aircraft":[{"ac_class":"midsize"},{"ac_type":"challenger 604"},{"id":927},{"tail_number":"D-AAAX"}],"quote_messages":[{"company":{"id":432}},{"company":{"name":"KlasJet"}},{"company":{"name":"ElitAvia"}}],"channels":["Fos","Telegram","Email"],"post_to_trip_board":true,"comment":"my comment to operators","send_to_self":false},"summary":"Quote flight"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"},"examples":{"QuoteFlightResponse":{"value":{"quote_request_id":887,"created_at":"2023-10-20T12:00","legs":[{"departure_airport":{"id":123,"icao":"KLAX","iata":"LAX","lid":null,"name":"Los Angeles Intl","city":{"id":987,"name":"Los Angeles"}},"arrival_airport":{"id":321,"icao":"LSGG","iata":"GVA","lid":null,"name":"Geneva","city":{"id":987,"name":"Geneve"}},"pax":2,"departure_datetime":"2023-10-28T12:00Z","departure_datetime_local":"2023-10-28T04:00Z"},{"departure_airport":{"id":321,"icao":"LSGG","iata":"GVA","lid":null,"name":"Geneva","city":{"id":987,"name":"Geneve"}},"arrival_airport":{"id":123,"icao":"KLAX","iata":"LAX","lid":null,"name":"Los Angeles Intl","city":{"id":987,"name":"Los Angeles"}},"pax":2,"departure_datetime":"2023-10-29T12:00Z","departure_datetime_local":"2023-10-29T04:00"}],"aircraft":[{"id":21861,"tail_number":"A-BCDE","ac_type":null,"ac_class":null},{"id":927,"tail_number":"D-AAAX","ac_type":null,"ac_class":null}],"quote_messages":[{"id":420684,"company":{"id":432,"name":"Vertis Aviation"},"channels":"Telegram","state":"delivered","company_extension":{"aviapages_validation":false,"avg_response_rate":0.7,"avg_response_time":119}},{"id":420685,"company":{"id":12,"name":"KlasJet"},"channels":"Fos","state":"delivered","company_extension":{"aviapages_validation":true,"avg_response_rate":0.6,"avg_response_time":268}},{"id":420686,"company":{"id":422,"name":"ElitAvia"},"channels":"Email","state":"failed","company_extension":{"aviapages_validation":false,"avg_response_rate":0.93,"avg_response_time":689}}],"post_to_trip_board":true,"comment":"my comment to operators"},"summary":"Quote flight response"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_quote_requests/{id}/":{"get":{"operationId":"charter_quote_requests_retrieve","description":"Get a single Quote record","summary":"Get a single Quote record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request.","required":true},{"in":"query","name":"show_child_account_quotes","schema":{"type":"boolean"}}],"tags":["charter_quote_requests"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"},"examples":{"Basic":{"value":{"quote_request_id":887,"created_at":"2023-10-20T12:00","legs":[{"departure_airport":{"id":123,"icao":"KLAX","iata":"LAX","lid":null,"name":"Los Angeles Intl","city":{"id":987,"name":"Los Angeles"}},"arrival_airport":{"id":321,"icao":"LSGG","iata":"GVA","lid":null,"name":"Geneva","city":{"id":987,"name":"Geneve"}},"pax":2,"departure_datetime":"2023-10-28T12:00Z","departure_datetime_local":"2023-10-28T04:00Z"},{"departure_airport":{"id":321,"icao":"LSGG","iata":"GVA","lid":null,"name":"Geneva","city":{"id":987,"name":"Geneve"}},"arrival_airport":{"id":123,"icao":"KLAX","iata":"LAX","lid":null,"name":"Los Angeles Intl","city":{"id":987,"name":"Los Angeles"}},"pax":2,"departure_datetime":"2023-10-29T12:00Z","departure_datetime_local":"2023-10-29T04:00"}],"aircraft":[{"id":21861,"tail_number":"A-BCDE","ac_type":null,"ac_class":null},{"id":927,"tail_number":"D-AAAX","ac_type":null,"ac_class":null}],"quote_messages":[{"id":420684,"company":{"id":432,"name":"Vertis Aviation"},"channels":"Telegram","state":"delivered","company_extension":{"aviapages_validation":false,"avg_response_rate":0.7,"avg_response_time":119}},{"id":420685,"company":{"id":12,"name":"KlasJet"},"channels":"Fos","state":"delivered","company_extension":{"aviapages_validation":true,"avg_response_rate":0.6,"avg_response_time":268}},{"id":420686,"company":{"id":422,"name":"ElitAvia"},"channels":"Email","state":"failed","company_extension":{"aviapages_validation":false,"avg_response_rate":0.93,"avg_response_time":689}}],"post_to_trip_board":true,"comment":"my comment to operators"},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"patch":{"operationId":"charter_quote_requests_partial_update","description":"Partial update of an Quote record","summary":"Partial update of an Quote record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request.","required":true}],"tags":["charter_quote_requests"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedUpdateQuoteRequest"},"examples":{"ChangePostToTripBoardAndComment":{"value":{"post_to_trip_board":false,"comment":"updated text comment"},"summary":"Change post_to_trip_board and comment"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"},"examples":{"QuoteSuccessfulUpdatedResponse":{"value":{"quote_request_id":887,"created_at":"2023-10-20T12:00","legs":[{"departure_airport":{"id":123,"icao":"KLAX","iata":"LAX","lid":null,"name":"Los Angeles Intl","city":{"id":987,"name":"Los Angeles"}},"arrival_airport":{"id":321,"icao":"LSGG","iata":"GVA","lid":null,"name":"Geneva","city":{"id":987,"name":"Geneve"}},"pax":2,"departure_datetime":"2023-10-28T12:00Z","departure_datetime_local":"2023-10-28T04:00Z"},{"departure_airport":{"id":321,"icao":"LSGG","iata":"GVA","lid":null,"name":"Geneva","city":{"id":987,"name":"Geneve"}},"arrival_airport":{"id":123,"icao":"KLAX","iata":"LAX","lid":null,"name":"Los Angeles Intl","city":{"id":987,"name":"Los Angeles"}},"pax":2,"departure_datetime":"2023-10-29T12:00Z","departure_datetime_local":"2023-10-29T04:00"}],"aircraft":[{"id":21861,"tail_number":"A-BCDE","ac_type":null,"ac_class":null},{"id":927,"tail_number":"D-AAAX","ac_type":null,"ac_class":null}],"quote_messages":[{"id":420684,"company":{"id":432,"name":"Vertis Aviation"},"channels":"Telegram","state":"delivered","company_extension":{"aviapages_validation":false,"avg_response_rate":0.7,"avg_response_time":119}},{"id":420685,"company":{"id":12,"name":"KlasJet"},"channels":"Fos","state":"delivered","company_extension":{"aviapages_validation":true,"avg_response_rate":0.6,"avg_response_time":268}},{"id":420686,"company":{"id":422,"name":"ElitAvia"},"channels":"Email","state":"failed","company_extension":{"aviapages_validation":false,"avg_response_rate":0.93,"avg_response_time":689}}],"post_to_trip_board":false,"comment":"updated text comment"},"summary":"Quote successful updated response"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_quote_requests/{id}/archive/":{"post":{"operationId":"charter_quote_requests_archive_create","description":"Archive quotation (idempotent). Sets quote state to archived and returns 200 on success.\n\nRequest body must be empty.","summary":"Archive a Quote","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request.","required":true}],"tags":["charter_quote_requests"],"security":[{"tokenAuth":[]}],"responses":{"200":{"description":"No response body"},"404":{"description":"No response body"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_search_aircraft/":{"post":{"operationId":"charter_search_aircraft_create","description":"Make charter search request","summary":"Make charter search request","tags":["charter_search_aircraft"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharterSearchRequest"},"examples":{"BasicRequest":{"value":{"legs":[{"departure_airport":{"icao":"EVRA"},"arrival_airport":{"icao":"LSGG"}}]},"summary":"Basic Request"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharterSearchAircraftResponse"},"examples":{"BasicResponse":{"value":{"aircraft":[{"id":6202,"slug":"sp-izu","images":[{"url":"https://md.aviapages.com/media/2023/08/07/3434615067559266995_n.jpg","position":0,"image_type":"notail"},{"url":"https://md.aviapages.com/media/2023/08/07/IZU_Cabin_Best-1-scaled.jpg.webp","position":1,"image_type":"cabin"}],"company":{"id":5319,"name":"Bartolini Air","slug":"bartolini-air","logo_path":"2022/12/26/bartolini-air.jpg"},"aircraft_type":"Cessna Citation CJ1","passengers_max":6,"year_of_production":2000,"registration_number":"SP-IZU"}]},"summary":"Basic Response"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/charter_searches/":{"post":{"operationId":"charter_searches_create","description":"Make charter search request","summary":"Make charter search request","tags":["charter_searches"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharterSearchRequest"},"examples":{"BasicRequest":{"value":{"legs":[{"departure_airport":{"icao":"EVRA"},"arrival_airport":{"icao":"LSGG"}}]},"summary":"Basic Request"}}}}},"security":[{"tokenAuth":[]}],"deprecated":true,"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharterSearchResponse"},"examples":{"BasicResponse":{"value":{"companies":[{"id":122,"name":"Avcon Jet AG","slug":"avcon-jet-ag","city":{"id":29847,"name":"Vienna"},"country":{"id":328,"name":"Austria"},"aircraft":[{"id":802,"ac_type":"Global 5000","year_of_production":2005,"tail_number":"OE-LIO","location":"EVRA","images":[{"url":"https://aviapages.com/static/media/2020/09/03/outside-2.jpg","image_type":"exterior"},{"url":"https://aviapages.com/static/media/2020/09/03/outside-2.jpg","image_type":"interior"}]},{"id":803,"ac_type":"Global 6000","year_of_production":2006,"tail_number":"OE-LIZ","location":"LUKK","images":[{"url":"https://aviapages.com/static/media/2020/09/03/outside-2.jpg","image_type":"exterior"},{"url":"https://aviapages.com/static/media/2020/09/03/outside-2.jpg","image_type":"interior"}]}]},{"id":774,"name":"LLjets","city":{"id":29847,"name":"Vienna"},"country":{"id":328,"name":"Austria"},"aircraft":[{"id":502,"ac_type":"Learjet 45","year_of_production":2015,"tail_number":"OX-LIO","location":"ESGG","images":[{"url":"https://aviapages.com/static/media/2020/09/03/outside-2.jpg","image_type":"exterior"},{"url":"https://aviapages.com/static/media/2020/09/03/outside-2.jpg","image_type":"interior"}]},{"id":603,"ac_type":"Global 6500","year_of_production":2016,"tail_number":"OX-LIZ","location":"EVRA","images":[{"url":"https://aviapages.com/static/media/2020/09/03/outside-2.jpg","image_type":"exterior"},{"url":"https://aviapages.com/static/media/2020/09/03/outside-2.jpg","image_type":"interior"}]}]}]},"summary":"Basic Response"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/cities/":{"get":{"operationId":"cities_list","description":"Get list of City records. All parameters are optional","summary":"Get list of Cities","parameters":[{"in":"query","name":"ordering","schema":{"type":"string","default":"name"},"description":"Comma separated fields to use when ordering the results.","examples":{"Example1":{"value":"-name","summary":"descending name sorting"},"Example2":{"value":"country,name","summary":"ascending sorting by country and name"}}},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by city name or country name or country ISO 3166-1 alpha-2 or country ISO 3166-1 alpha-3"},{"in":"query","name":"search_country","schema":{"type":"string"},"description":"Search by country name or country ISO 3166-1 alpha-2 or country ISO 3166-1 alpha-3"},{"in":"query","name":"search_name","schema":{"type":"string"},"description":"Search by city name"}],"tags":["cities"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCityList"},"examples":{"Basic":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":465775,"name":"100 Mile House","latitude":51.64982,"longitude":-121.28594,"country":{"id":395,"country_id":395,"name":"Canada","iso_alpha3":"CAN","iso_alpha2":"CA"}}]},"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/cities/{id}/":{"get":{"operationId":"cities_retrieve","description":"Get a single City record","summary":"Get a single City record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this city.","required":true}],"tags":["cities"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/City"},"examples":{"Basic":{"value":{"id":465775,"name":"100 Mile House","latitude":51.64982,"longitude":-121.28594,"country":{"id":395,"country_id":395,"name":"Canada","iso_alpha3":"CAN","iso_alpha2":"CA"}},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/countries/":{"get":{"operationId":"countries_list","description":"Get list of Country records. All parameters are optional","summary":"Get list of Countries","parameters":[{"in":"query","name":"id_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"iso_alpha2_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"iso_alpha3_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-id","-iso_alpha2","-iso_alpha3","-name","id","iso_alpha2","iso_alpha3","name"]}},"description":"Ordering fields: id, name, iso_alpha2, iso_alpha3\n\n* `id` - id\n* `-id` - id (descending)\n* `name` - Country name\n* `-name` - Country name (descending)\n* `iso_alpha2` - Country ISO 3166-1 alpha-2\n* `-iso_alpha2` - Country ISO 3166-1 alpha-2 (descending)\n* `iso_alpha3` - Country ISO 3166-1 alpha-3\n* `-iso_alpha3` - Country ISO 3166-1 alpha-3 (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by country name, ISO 3166-1 alpha-2 and ISO 3166-1 alpha-3 codes"}],"tags":["countries"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCountryList"},"examples":{"Basic":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":256,"name":"Moldova","iso_alpha3":"MDA","iso_alpha2":"MD"}]},"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/countries/{id}/":{"get":{"operationId":"countries_retrieve","description":"Get a single Country record","summary":"Get a single Country record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this country.","required":true}],"tags":["countries"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Country"},"examples":{"Basic":{"value":{"id":256,"name":"Moldova","iso_alpha3":"MDA","iso_alpha2":"MD"},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/empty_legs/":{"get":{"operationId":"empty_legs_list","description":"Get list of actual aircraft Empty Leg records. All parameters are optional","summary":"Get list of Empty Leg records","parameters":[{"in":"query","name":"arr_airport_code_in","schema":{"type":"array","items":{"type":"string"}},"description":"Arrival airport code in list, ICAO/IATA/LID","explode":false,"style":"form"},{"in":"query","name":"arr_airport_country_iso_alpha2_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"arr_airport_country_iso_alpha3_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"arrival_airport_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Arrival airport id in list","explode":false,"style":"form"},{"in":"query","name":"created_at_gt","schema":{"type":"string","format":"date-time"},"description":"Created at date greater than"},{"in":"query","name":"dep_airport_code_in","schema":{"type":"array","items":{"type":"string"}},"description":"Departure airport code in list, ICAO/IATA/LID","explode":false,"style":"form"},{"in":"query","name":"dep_airport_country_iso_alpha2_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"dep_airport_country_iso_alpha3_in","schema":{"type":"array","items":{"type":"string","nullable":true,"title":"Code"}},"description":"Multiple values may be separated by commas.","explode":false,"style":"form"},{"in":"query","name":"dep_airport_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Departure airport id in list","explode":false,"style":"form"},{"in":"query","name":"from_date_local","schema":{"type":"string","format":"date-time"},"description":"From date local available in format \"yyyy-mm-ddThh:mm\""},{"in":"query","name":"from_date_utc","schema":{"type":"string"},"description":"From date available in format \"yyyy-mm-ddThh:mm\"","examples":{"Example1":{"value":"2026-04-23T09:09","summary":"Starts from today"},"Example2":{"value":"2026-04-18T09:09","summary":"Starts in 5 days"}}},{"in":"query","name":"has_arrival_airport","schema":{"type":"boolean"},"description":"Show records with destination airport only"},{"in":"query","name":"has_price","schema":{"type":"boolean"},"description":"Show records with price only"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-aircraft_registration_number","-arr_airport_icao","-arr_date_utc","-created_at","-dep_airport_icao","-dep_date_utc","-id","-price","-price_currency_name","aircraft_registration_number","arr_airport_icao","arr_date_utc","created_at","dep_airport_icao","dep_date_utc","id","price","price_currency_name"]}},"description":"Ordering fields: id, dep_date_utc, arr_date_utc, aircraft_registration_number, dep_airport_icao, arr_airport_icao, price, price_currency_name\n\n* `id` - id\n* `-id` - id (descending)\n* `dep_date_utc` - Dep date utc\n* `-dep_date_utc` - Dep date utc (descending)\n* `arr_date_utc` - Arr date utc\n* `-arr_date_utc` - Arr date utc (descending)\n* `aircraft_registration_number` - aircraft_registration_number\n* `-aircraft_registration_number` - aircraft_registration_number (descending)\n* `dep_airport_icao` - dep_airport_icao\n* `-dep_airport_icao` - dep_airport_icao (descending)\n* `arr_airport_icao` - arr_airport_icao\n* `-arr_airport_icao` - arr_airport_icao (descending)\n* `price` - price\n* `-price` - price (descending)\n* `price_currency_name` - Price currency name\n* `-price_currency_name` - Price currency name (descending)\n* `created_at` - created_at_gt\n* `-created_at` - created_at_gt (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"reg","schema":{"type":"string"},"description":"Registration number filter like \"hbjgq\" or \"hb-jgq\""},{"in":"query","name":"search_coords","schema":{"type":"string"},"description":"Search by coordinates, \"latitude,longitude\". Returns results ordered by distance, requires search_coords_radius"},{"in":"query","name":"search_coords_radius","schema":{"type":"number"},"description":"Radius in kilometers for search_coords, default 100km."},{"in":"query","name":"to_date_local","schema":{"type":"string","format":"date-time"},"description":"To date local available in format \"yyyy-mm-ddThh:mm\""},{"in":"query","name":"to_date_utc","schema":{"type":"string"},"description":"To date available in format \"yyyy-mm-ddThh:mm\"","examples":{"Example1":{"value":"2026-05-03T09:09","summary":"Ends in 10 days"}}}],"tags":["empty_legs"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedEmptyLegList"}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"post":{"operationId":"empty_legs_create","description":"Creation of an Empty Leg record","summary":"Create an Empty Leg record","tags":["empty_legs"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyLeg"},"examples":{"SimpleEmptyLegCreation":{"value":{"registration_number":"SP-FMG","dep_airport":{"icao":"LUKK"},"from_date_utc":"2024-06-25T21:45","to_date_utc":"2024-06-25T22:40"},"summary":"Simple empty leg creation"},"EmptyLegCreationWithPriceAndComment":{"value":{"registration_number":"spfmg","dep_airport":{"iata":"RMO"},"arr_airport":{"icao":"RJTT"},"from_date_utc":"2024-06-24T21:45","to_date_utc":"2024-06-24T22:40","comment":"Comment","price":16000,"currency_code":"EUR"},"summary":"Empty leg creation with price and comment"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyLeg"},"examples":{"SimpleEmptyLegSuccessfulCreationResponse":{"value":{"id":100060,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-06-25T21:45","to_date_utc":"2024-06-25T22:40","comment":null,"price":null,"currency_code":null,"dep_airport":{"id":23378,"name":"Chisinau Intl","iata":"RMO","icao":"LUKK","lid":null,"slug":"lukk","city":{"id":429105,"name":"Chisinau","country":{"id":256,"name":"Moldova"}}},"arr_airport":null},"summary":"Simple Empty Leg successful creation response"},"EmptyLegSuccessfulCreationResponseWithPriceAndComment":{"value":{"id":100061,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-06-24T21:45","to_date_utc":"2024-06-24T22:40","comment":"Comment","price":16000,"currency_code":"EUR","dep_airport":{"id":23378,"name":"Chisinau Intl","iata":"RMO","icao":"LUKK","lid":null,"slug":"lukk","city":{"id":429105,"name":"Chisinau","country":{"id":256,"name":"Moldova"}}},"arr_airport":{"id":24235,"name":"Tokyo Intl","iata":"HND","icao":"RJTT","lid":null,"slug":"rjtt","city":{"id":427428,"name":"Tokyo","country":{"id":375,"name":"Japan"}}}},"summary":"Empty Leg successful creation response with price and comment"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/empty_legs/{id}/":{"get":{"operationId":"empty_legs_retrieve","description":"Get a single Empty Leg record","summary":"Get a single Empty Leg record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"ID of the Empty Leg record","required":true}],"tags":["empty_legs"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyLeg"},"examples":{"SuccessfulResponse":{"value":{"id":100059,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-05-25T21:45","to_date_utc":"2024-05-26T21:50","comment":"Comment","price":10000.56,"currency_code":"CHF","dep_airport":{"id":19524,"name":"Stansted","iata":"STN","icao":"EGSS","lid":null,"slug":"egss","city":{"id":418462,"name":"London","country":{"id":474,"name":"United Kingdom"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"successful response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"put":{"operationId":"empty_legs_update","description":"Updating an Empty Leg record entirely","summary":"Update an Empty Leg record entirely","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"ID of the Empty Leg record","required":true}],"tags":["empty_legs"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyLeg"},"examples":{"EmptyLegUpdate":{"value":{"registration_number":"SP-FMG","dep_airport":{"icao":"LUKK"},"comment":"Departure airport, from and to dates changed","from_date_utc":"2024-08-26T21:45","to_date_utc":"2024-08-26T22:40"},"summary":"Empty Leg update"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyLeg"},"examples":{"EmptyLegSuccessfulUpdatedResponse":{"value":{"id":100059,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-08-26T21:45","to_date_utc":"2024-08-26T22:40","comment":"Departure airport, from and to dates changed","price":10000.56,"currency_code":"CHF","dep_airport":{"id":23378,"name":"Chisinau Intl","iata":"RMO","icao":"LUKK","lid":null,"slug":"lukk","city":{"id":429105,"name":"Chisinau","country":{"id":256,"name":"Moldova"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"Empty Leg successful updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"patch":{"operationId":"empty_legs_partial_update","description":"Partial update of an Empty Leg record","summary":"Partial update of an Empty Leg record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"ID of the Empty Leg record","required":true}],"tags":["empty_legs"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedEmptyLeg"},"examples":{"EmptyLegUpdate":{"value":{"comment":"Price and currency changed","price":20000,"currency_code":"EUR"},"summary":"Empty Leg update"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyLeg"},"examples":{"EmptyLegSuccessfulUpdatedResponse":{"value":{"id":100059,"registration_number":"SP-FMG","aircraft_type":"Embraer Legacy 600","company":"Jet Story","from_date_utc":"2024-08-26T21:45","to_date_utc":"2024-08-26T22:40","comment":"Price and currency changed","price":20000,"currency_code":"EUR","dep_airport":{"id":23378,"name":"Chisinau Intl","iata":"RMO","icao":"LUKK","lid":null,"slug":"lukk","city":{"id":429105,"name":"Chisinau","country":{"id":256,"name":"Moldova"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"Empty Leg successful updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"delete":{"operationId":"empty_legs_destroy","description":"Deleting empty leg records","summary":"Delete Empty Leg record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"ID of the Empty Leg record","required":true}],"tags":["empty_legs"],"security":[{"tokenAuth":[]}],"responses":{"204":{"description":"No response body"},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/fbos/":{"get":{"operationId":"fbos_list","description":"Get list of FBO records. All parameters are optional","summary":"Get list of FBOs","parameters":[{"in":"query","name":"aircraft_catering","schema":{"type":"boolean"}},{"in":"query","name":"aircraft_cleaning","schema":{"type":"boolean"}},{"in":"query","name":"aircraft_fuel","schema":{"type":"boolean"}},{"in":"query","name":"aircraft_maintenance","schema":{"type":"boolean"}},{"in":"query","name":"aircraft_parking","schema":{"type":"boolean"}},{"in":"query","name":"aircraft_parts","schema":{"type":"boolean"}},{"in":"query","name":"aircraft_water_service","schema":{"type":"boolean"}},{"in":"query","name":"aircraft_wc_service","schema":{"type":"boolean"}},{"in":"query","name":"asu","schema":{"type":"boolean"}},{"in":"query","name":"cafeteria","schema":{"type":"boolean"}},{"in":"query","name":"car_rental","schema":{"type":"boolean"}},{"in":"query","name":"cargo_handling","schema":{"type":"boolean"}},{"in":"query","name":"company_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Filter by company id","explode":false,"style":"form"},{"in":"query","name":"conference_room","schema":{"type":"boolean"}},{"in":"query","name":"courtesy_car","schema":{"type":"boolean"}},{"in":"query","name":"crew_car","schema":{"type":"boolean"}},{"in":"query","name":"customs","schema":{"type":"boolean"}},{"in":"query","name":"de_icing","schema":{"type":"boolean"}},{"in":"query","name":"description","schema":{"type":"string"}},{"in":"query","name":"executive_lounge","schema":{"type":"boolean"}},{"in":"query","name":"flight_planning_room","schema":{"type":"boolean"}},{"in":"query","name":"gpu","schema":{"type":"boolean"}},{"in":"query","name":"ground_handling","schema":{"type":"boolean"}},{"in":"query","name":"hangar","schema":{"type":"boolean"}},{"in":"query","name":"hotel_accommodation","schema":{"type":"boolean"}},{"in":"query","name":"is_pro","schema":{"type":"boolean"}},{"in":"query","name":"is_supervision","schema":{"type":"boolean"}},{"in":"query","name":"nitrogen","schema":{"type":"boolean"}},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-airport_city_name","-airport_country_name","-airport_iata","-airport_icao","-airport_lid","-distance","-has_images","-id","-is_pro","-is_supervision","-name","airport_city_name","airport_country_name","airport_iata","airport_icao","airport_lid","distance","has_images","id","is_pro","is_supervision","name"]}},"description":"Order by id, name, is_pro, is_supervision, airport_city_name, airport_country_name, airport_iata, airport_icao, airport_lid, distance\n\n* `id` - id\n* `-id` - id (descending)\n* `name` - FBO name\n* `-name` - FBO name (descending)\n* `is_pro` - Is pro\n* `-is_pro` - Is pro (descending)\n* `has_images` - Has images\n* `-has_images` - Has images (descending)\n* `is_supervision` - Is supervision\n* `-is_supervision` - Is supervision (descending)\n* `airport_city_name` - Airport city name\n* `-airport_city_name` - Airport city name (descending)\n* `airport_country_name` - Airport country name\n* `-airport_country_name` - Airport country name (descending)\n* `airport_iata` - Airport iata\n* `-airport_iata` - Airport iata (descending)\n* `airport_icao` - Airport icao\n* `-airport_icao` - Airport icao (descending)\n* `airport_lid` - Airport lid\n* `-airport_lid` - Airport lid (descending)\n* `distance` - Distance by ip(send \"user_ip\" in query params) or search_coords\n* `-distance` - Distance by ip(send \"user_ip\" in query params) or search_coords (descending)","explode":false,"style":"form"},{"in":"query","name":"oxygen","schema":{"type":"boolean"}},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"passenger_steps","schema":{"type":"boolean"}},{"in":"query","name":"pilots_lounge","schema":{"type":"boolean"}},{"in":"query","name":"quick_turn","schema":{"type":"boolean"}},{"in":"query","name":"restrooms","schema":{"type":"boolean"}},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by name, airport name, country, ICAO code, IATA code or city name"},{"in":"query","name":"search_airport_iata","schema":{"type":"string"},"description":"Search by airport IATA code"},{"in":"query","name":"search_airport_icao","schema":{"type":"string"},"description":"Search by airport ICAO code"},{"in":"query","name":"search_airport_name","schema":{"type":"string"},"description":"Search by airport name"},{"in":"query","name":"search_city","schema":{"type":"string"},"description":"Search by city name"},{"in":"query","name":"search_coords","schema":{"type":"string"},"description":"Search by coordinates, \"latitude,longitude\". Used in conjunction with search_coords_radius."},{"in":"query","name":"search_coords_radius","schema":{"type":"number"},"description":"search by coordinates with custom radius, km"},{"in":"query","name":"search_country","schema":{"type":"string"},"description":"Search by country name, ISO 3166-1 alpha-2 and ISO 3166-1 alpha-3 codes"},{"in":"query","name":"search_name","schema":{"type":"string"},"description":"Search by fbo name"},{"in":"query","name":"shuttle","schema":{"type":"boolean"}},{"in":"query","name":"taxi_service","schema":{"type":"boolean"}},{"in":"query","name":"user_ip","schema":{"type":"string"},"description":"User IP address"},{"in":"query","name":"vending_machines","schema":{"type":"boolean"}},{"in":"query","name":"weather_briefing","schema":{"type":"boolean"}},{"in":"query","name":"wheelchair_accessible","schema":{"type":"boolean"}},{"in":"query","name":"wireless_internet","schema":{"type":"boolean"}}],"tags":["fbos"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedFBOList"},"examples":{"Basic":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":2,"name":"FBO RIGA","airport":{"id":19866,"name":"Riga","city":{"id":428981,"name":"Riga"},"country":{"id":404,"name":"Latvia","iso_alpha3":"LVA","iso_alpha2":"LV"},"latitude":56.9236,"longitude":23.9711,"iata":"RIX","icao":"EVRA","lid":null},"company":{"id":2280,"name":"FBO RIGA","phone":"+371 67 668 676","fax":null,"website":"www.riga.aero","address":"Dzirnieku Str. 15, Riga Airport, LV-1053","company_extension":{"logo_media":{"id":328,"path":"https://md.aviapages.com/media/2017/01/01/01/3827deeea2395d9ab999da287a9e299cb1452ce18f3.png"}},"slug":"fbo-riga"},"latitude":"56.913749","longitude":"23.977430","email":"ops@riga.aero","phone":"+371 67 668 676","fax":null,"website":"www.riga.aero","address":"Dzirnieku Str. 15, Riga Airport, LV-1053","frequency":"","working_hours":"H24","aftn":"EVRAFCGX","sita":"RIXFCXH","slug":"fbo-riga","is_active":true,"modified_at":"2021-10-06T12:28:55.742993Z","is_supervision":null,"fbo_extension":{"id":1,"executive_lounge":true,"customs":true,"conference_room":true,"wireless_internet":true,"cafeteria":true,"vending_machines":null,"courtesy_car":true,"shuttle":true,"car_rental":true,"taxi_service":true,"wheelchair_accessible":true,"restrooms":true,"hotel_accommodation":true,"hangar":true,"aircraft_maintenance":true,"aircraft_parking":true,"aircraft_fuel":true,"aircraft_cleaning":true,"ground_handling":true,"aircraft_catering":true,"gpu":true,"de_icing":true,"aircraft_parts":true,"quick_turn":true,"oxygen":true,"cargo_handling":true,"flight_planning_room":true,"pilots_lounge":true,"weather_briefing":true,"crew_car":true,"nitrogen":true,"aircraft_wc_service":true,"aircraft_water_service":true,"asu":true,"passenger_steps":true,"description":"Ultra-modern Business Aviation Center......","logo_media":null,"view_360":null,"is_pro":false},"images":[{"media":{"id":11192,"path":"https://md.aviapages.com/media/2018/01/16/0._Header_photo.jpg"},"position":1},{"media":{"id":11179,"path":"https://md.aviapages.com/media/2018/01/15/2._FBO_RIGA_Photo.jpg"},"position":2},{"media":{"id":11181,"path":"https://md.aviapages.com/media/2018/01/15/4._FBO_RIGA_Photo_tPmEEbs.jpg"},"position":3},{"media":{"id":11182,"path":"https://md.aviapages.com/media/2018/01/15/5._FBO_RIGA_Photo_P6n1Zmj.jpg"},"position":4},{"media":{"id":11183,"path":"https://md.aviapages.com/media/2018/01/15/6._FBO_RIGA_Photo_whtHpn4.jpg"},"position":5},{"media":{"id":11180,"path":"https://md.aviapages.com/media/2018/01/15/3._FBO_RIGA_Photo.jpg"},"position":6}],"attachments":[]}]},"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/fbos/{id}/":{"get":{"operationId":"fbos_retrieve","description":"Get a single FBO record","summary":"Get a single FBO record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this fbo.","required":true}],"tags":["fbos"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FBO"},"examples":{"Basic":{"value":{"id":2,"name":"FBO RIGA","airport":{"id":19866,"name":"Riga","city":{"id":428981,"name":"Riga"},"country":{"id":404,"name":"Latvia","iso_alpha3":"LVA","iso_alpha2":"LV"},"latitude":56.9236,"longitude":23.9711,"iata":"RIX","icao":"EVRA","lid":null},"company":{"id":2280,"name":"FBO RIGA","phone":"+371 67 668 676","fax":null,"website":"www.riga.aero","address":"Dzirnieku Str. 15, Riga Airport, LV-1053","company_extension":{"logo_media":{"id":328,"path":"https://md.aviapages.com/media/2017/01/01/01/3827deeea2395d9ab999da287a9e299cb1452ce18f3.png"}},"slug":"fbo-riga"},"latitude":"56.913749","longitude":"23.977430","email":"ops@riga.aero","phone":"+371 67 668 676","fax":null,"website":"www.riga.aero","address":"Dzirnieku Str. 15, Riga Airport, LV-1053","frequency":"","working_hours":"H24","aftn":"EVRAFCGX","sita":"RIXFCXH","slug":"fbo-riga","is_active":true,"modified_at":"2021-10-06T12:28:55.742993Z","is_supervision":null,"fbo_extension":{"id":1,"executive_lounge":true,"customs":true,"conference_room":true,"wireless_internet":true,"cafeteria":true,"vending_machines":null,"courtesy_car":true,"shuttle":true,"car_rental":true,"taxi_service":true,"wheelchair_accessible":true,"restrooms":true,"hotel_accommodation":true,"hangar":true,"aircraft_maintenance":true,"aircraft_parking":true,"aircraft_fuel":true,"aircraft_cleaning":true,"ground_handling":true,"aircraft_catering":true,"gpu":true,"de_icing":true,"aircraft_parts":true,"quick_turn":true,"oxygen":true,"cargo_handling":true,"flight_planning_room":true,"pilots_lounge":true,"weather_briefing":true,"crew_car":true,"nitrogen":true,"aircraft_wc_service":true,"aircraft_water_service":true,"asu":true,"passenger_steps":true,"description":"Ultra-modern Business Aviation Center......","logo_media":null,"view_360":null,"is_pro":false},"images":[{"media":{"id":11192,"path":"https://md.aviapages.com/media/2018/01/16/0._Header_photo.jpg"},"position":1},{"media":{"id":11179,"path":"https://md.aviapages.com/media/2018/01/15/2._FBO_RIGA_Photo.jpg"},"position":2},{"media":{"id":11181,"path":"https://md.aviapages.com/media/2018/01/15/4._FBO_RIGA_Photo_tPmEEbs.jpg"},"position":3},{"media":{"id":11182,"path":"https://md.aviapages.com/media/2018/01/15/5._FBO_RIGA_Photo_P6n1Zmj.jpg"},"position":4},{"media":{"id":11183,"path":"https://md.aviapages.com/media/2018/01/15/6._FBO_RIGA_Photo_whtHpn4.jpg"},"position":5},{"media":{"id":11180,"path":"https://md.aviapages.com/media/2018/01/15/3._FBO_RIGA_Photo.jpg"},"position":6}],"attachments":[]},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/flights/":{"get":{"operationId":"flights_list","description":"Get list of Flight records. All parameters are optional","summary":"Get list of Flight records","parameters":[{"in":"query","name":"arr_date_utc","schema":{"type":"string"},"description":"To date flight in format \"yyyy-mm-ddThh:mm\"","examples":{"Example1":{"value":"2026-05-03T09:09","summary":"Ends in 10 days"}}},{"in":"query","name":"dep_date_utc","schema":{"type":"string"},"description":"From date flight in format \"yyyy-mm-ddThh:mm\"","examples":{"Example1":{"value":"2026-04-23T09:09","summary":"Starts from today"},"Example2":{"value":"2026-04-18T09:09","summary":"Starts in 5 days"}}},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-aircraft_registration_number","-arr_airport_icao","-arr_date_utc","-dep_airport_icao","-dep_date_utc","-id","aircraft_registration_number","arr_airport_icao","arr_date_utc","dep_airport_icao","dep_date_utc","id"]}},"description":"Ordering fields: id, dep_date_utc, arr_date_utc, aircraft_registration_number, dep_airport_icao, arr_airport_icao\n\n* `id` - id\n* `-id` - id (descending)\n* `dep_date_utc` - Dep date utc\n* `-dep_date_utc` - Dep date utc (descending)\n* `arr_date_utc` - Arr date utc\n* `-arr_date_utc` - Arr date utc (descending)\n* `aircraft_registration_number` - aircraft_registration_number\n* `-aircraft_registration_number` - aircraft_registration_number (descending)\n* `dep_airport_icao` - dep_airport_icao\n* `-dep_airport_icao` - dep_airport_icao (descending)\n* `arr_airport_icao` - arr_airport_icao\n* `-arr_airport_icao` - arr_airport_icao (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"reg_number","schema":{"type":"string"},"description":"Registration number filter like \"hbjgq\" or \"hb-jgq\""}],"tags":["flights"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedFlightList"}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"post":{"operationId":"flights_create","description":"Creation of a Flight record","summary":"Create a Flight record","tags":["flights"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Flight"},"examples":{"SimpleFlightCreation":{"value":{"registration_number":"hb-jgQ","dep_airport":{"icao":"EGSS"},"arr_airport":{"icao":"OMDB"},"dep_date_utc":"2021-08-29T18:53","arr_date_utc":"2021-08-30T16:40"},"summary":"Simple Flight creation"},"FlightCreationWithComment":{"value":{"registration_number":"hb-jgQ","dep_airport":{"icao":"EGSS"},"arr_airport":{"iata":"DXB"},"dep_date_utc":"2021-08-29T18:53","arr_date_utc":"2021-08-30T16:40","comment":"comment"},"summary":"Flight creation with comment"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Flight"},"examples":{"SimpleFlightSuccessfulCreationResponse":{"value":{"id":7991679,"registration_number":"HB-JGQ","dep_date_utc":"2024-08-29T18:53","arr_date_utc":"2024-08-30T16:40","comment":null,"dep_airport":{"id":19524,"name":"Stansted","iata":"STN","icao":"EGSS","lid":null,"slug":"egss","city":{"id":418462,"name":"London","country":{"id":474,"name":"United Kingdom"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"Simple Flight successful creation response"},"FlightSuccessfulCreationResponseWithComment":{"value":{"id":7991680,"registration_number":"HB-JGQ","dep_date_utc":"2024-05-29T18:53","arr_date_utc":"2024-05-30T16:40","comment":"comment","dep_airport":{"id":19524,"name":"Stansted","iata":"STN","icao":"EGSS","lid":null,"slug":"egss","city":{"id":418462,"name":"London","country":{"id":474,"name":"United Kingdom"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"Flight successful creation response with comment"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/flights/{id}/":{"get":{"operationId":"flights_retrieve","description":"Get a single Flight record","summary":"Get a single Flight record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft schedule.","required":true}],"tags":["flights"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Flight"},"examples":{"SuccessfulResponse":{"value":{"id":7991638,"registration_number":"B-ARTI","dep_date_utc":"2024-08-29T19:53","arr_date_utc":"2024-08-30T18:40","comment":null,"dep_airport":{"id":19524,"name":"Stansted","iata":"STN","icao":"EGSS","lid":null,"slug":"egss","city":{"id":418462,"name":"London","country":{"id":474,"name":"United Kingdom"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"successful response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"put":{"operationId":"flights_update","description":"Updating a Flight record entirely","summary":"Update a Flight record entirely","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft schedule.","required":true}],"tags":["flights"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Flight"},"examples":{"FlightUpdate":{"value":{"registration_number":"B-ARTI","dep_date_utc":"2024-08-29T19:53","arr_date_utc":"2024-08-30T18:40","comment":"Comment","dep_airport":{"icao":"EGSS"},"arr_airport":{"id":23929}},"summary":"Flight update"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Flight"},"examples":{"FlightUpdatedResponse":{"value":{"id":7991638,"registration_number":"B-ARTI","dep_date_utc":"2024-08-29T19:53","arr_date_utc":"2024-08-30T18:40","comment":"Comment","dep_airport":{"id":19524,"name":"Stansted","iata":"STN","icao":"EGSS","lid":null,"slug":"egss","city":{"id":418462,"name":"London","country":{"id":474,"name":"United Kingdom"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"Flight updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"patch":{"operationId":"flights_partial_update","description":"Partial update of Flight record","summary":"Partial update of Flight record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft schedule.","required":true}],"tags":["flights"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedFlight"},"examples":{"FlightUpdate":{"value":{"arr_airport":{"name":"Dubai Intl"},"comment":"Arrival airport chaged"},"summary":"Flight update"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Flight"},"examples":{"FlightSuccessfulUpdatedResponse":{"value":{"id":7991638,"registration_number":"B-ARTI","dep_date_utc":"2024-08-29T19:53","arr_date_utc":"2024-08-30T18:40","comment":"Arrival airport chaged","dep_airport":{"id":19524,"name":"Stansted","iata":"STN","icao":"EGSS","lid":null,"slug":"egss","city":{"id":418462,"name":"London","country":{"id":474,"name":"United Kingdom"}}},"arr_airport":{"id":23929,"name":"Dubai Intl","iata":"DXB","icao":"OMDB","lid":null,"slug":"omdb","city":{"id":464730,"name":"Dubai","country":{"id":348,"name":"United Arab Emirates"}}}},"summary":"Flight successful updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationError":{"value":{"registration_number":["Aircraft with registration number 'SP-TEST' not found"],"dep_airport":{"non_field_errors":["Airport with provided data not found"]},"non_field_errors":["'from_date_utc' needs to be earlier than 'to_date_utc'"]},"summary":"Validation error"},"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"delete":{"operationId":"flights_destroy","description":"Deleting flight records","summary":"Delete Flight record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this aircraft schedule.","required":true}],"tags":["flights"],"security":[{"tokenAuth":[]}],"responses":{"204":{"description":"No response body"},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/metars/":{"get":{"operationId":"metars_list","description":"Returns object of ICAO as key and METAR list as value (and decoded METAR if requested) for requested ICAOs","summary":"Get list of METARs for requested airport list","parameters":[{"in":"query","name":"decode","schema":{"type":"boolean"},"description":"Parameter that defines whether to include decoded METAR into response or not","examples":{"Example1":{"value":"true","summary":"Example 1"}}},{"in":"query","name":"icao","schema":{"type":"string"},"description":"String of ICAO code list divided by comma (max 20)","required":true,"examples":{"Example1":{"value":"LUKK,EGGW,KATL,ZBAA,KLAX,OMDB,RJTT,KORD,EGLL,ZSPD,LFPG,KDFW,ZGGG,EHAM,VHHH,RKSI,EDDF,KDEN,VIDP,WSSS","summary":"Example 1"},"Example2":{"value":"lukk,RPUR","summary":"Example 2"}}}],"tags":["metars"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/METARs"},"examples":{"RawMETARList":{"value":"{\n    \"EHAM\": [\n        \"EHAM 211025Z 35013KT 320V020 9999 BKN025 07/01 Q1025 NOSIG\",\n        \"EHAM 210955Z 36012KT 310V040 9999 BKN025 07/02 Q1025 NOSIG\",\n        \"EHAM 210925Z 35014KT 300V030 9999 BKN025 07/01 Q1025 NOSIG\",\n        \"EHAM 210855Z 35017KT 320V020 9999 FEW022 BKN027 07/02 Q1025 NOSIG\",\n        \"EHAM 210825Z 35016G28KT 310V030 9999 FEW022 BKN027 07/02 Q1024 NOSIG\",\n        \"EHAM 210755Z 34015KT 310V020 9999 FEW022 BKN027 07/02 Q1024 NOSIG\"\n    ],\n    \"EGLL\": [\n        \"EGLL 211020Z AUTO 02007KT 320V060 9999 SCT027 10/03 Q1030\",\n        \"EGLL 210950Z AUTO 01007KT 340V060 9999 NCD 09/04 Q1030 NOSIG\",\n        \"EGLL 210920Z AUTO 03008G18KT 360V070 9999 NCD 09/04 Q1029 NOSIG\",\n        \"EGLL 210850Z AUTO 03007KT 340V060 9999 NCD 08/04 Q1029\",\n        \"EGLL 210820Z AUTO 03006KT 350V060 9999 BKN033 OVC049 08/05 Q1029 NOSIG\",\n        \"EGLL 210750Z AUTO 03006KT 350V060 9999 FEW032 08/05 Q1029 NOSIG\"\n    ],\n  \"UKKK\": null\n}","summary":"Raw METAR list"},"DecodedMETARList":{"value":"{\n  \"KDEN\": [\n    {\n      \"text\": \"KDEN 290853Z 23009KT 10SM CLR 06/01 A3021 RMK AO2 SLP199 T00610011 53007\",\n      \"metar_decoded\": {\n        \"ICAO\": \"KDEN\",\n        \"Time\": \"29.04.2021 08:53\",\n        \"Type\": \"MANUAL\",\n        \"Wind\": {\n          \"direction\": 230,\n          \"strength\": 9,\n          \"gust\": 0,\n          \"varFrom\": 0,\n          \"varTo\": 0,\n          \"unit\": \"KT\"\n        },\n        \"CAVOK\": false,\n        \"Visibility\": [\n          {\n            \"designator\": \"\",\n            \"value\": 10,\n            \"dir\": \"ALL\",\n            \"units\": \"SM\"\n          }\n        ],\n        \"RVR\": false,\n        \"Precipitations\": false,\n        \"Clouds\": [\n          {\n            \"type\": \"CLR\",\n            \"form\": \"\",\n            \"units\": \"FT\",\n            \"base\": 0\n          }\n        ],\n        \"TD\": {\n          \"temp\": 6,\n          \"dewpoint\": 1\n        },\n        \"QNH\": {\n          \"value\": 30.21,\n          \"type\": \"inchs\"\n        },\n        \"RWY\": false,\n        \"SNOCLO\": false,\n        \"Windshear\": false,\n        \"remained\": \"\",\n        \"NOSIG\": false,\n        \"TREND\": false,\n        \"need_maintenance\": false,\n        \"RMK\": [\n          {\n            \"type\": \"AO\",\n            \"value\": 2\n          },\n          {\n            \"type\": \"SLP\",\n            \"value\": 1019.9\n          },\n          {\n            \"type\": \"HTD\",\n            \"temp\": 6.1,\n            \"dewp\": 1.1\n          }\n        ],\n        \"remained_rmk\": \"53007\"\n      }\n    },\n    {\n      \"text\": \"KDEN 290753Z 22009KT 10SM CLR 07/02 A3020 RMK AO2 SLP199 T00670017\",\n      \"metar_decoded\": {\n        \"ICAO\": \"KDEN\",\n        \"Time\": \"29.04.2021 07:53\",\n        \"Type\": \"MANUAL\",\n        \"Wind\": {\n          \"direction\": 220,\n          \"strength\": 9,\n          \"gust\": 0,\n          \"varFrom\": 0,\n          \"varTo\": 0,\n          \"unit\": \"KT\"\n        },\n        \"CAVOK\": false,\n        \"Visibility\": [\n          {\n            \"designator\": \"\",\n            \"value\": 10,\n            \"dir\": \"ALL\",\n            \"units\": \"SM\"\n          }\n        ],\n        \"RVR\": false,\n        \"Precipitations\": false,\n        \"Clouds\": [\n          {\n            \"type\": \"CLR\",\n            \"form\": \"\",\n            \"units\": \"FT\",\n            \"base\": 0\n          }\n        ],\n        \"TD\": {\n          \"temp\": 7,\n          \"dewpoint\": 2\n        },\n        \"QNH\": {\n          \"value\": 30.2,\n          \"type\": \"inchs\"\n        },\n        \"RWY\": false,\n        \"SNOCLO\": false,\n        \"Windshear\": false,\n        \"remained\": \"\",\n        \"NOSIG\": false,\n        \"TREND\": false,\n        \"need_maintenance\": false,\n        \"RMK\": [\n          {\n            \"type\": \"AO\",\n            \"value\": 2\n          },\n          {\n            \"type\": \"SLP\",\n            \"value\": 1019.9\n          },\n          {\n            \"type\": \"HTD\",\n            \"temp\": 6.7,\n            \"dewp\": 1.7\n          }\n        ],\n        \"remained_rmk\": \"\"\n      }\n    },\n    {\n      \"text\": \"KDEN 290653Z 21008KT 10SM CLR 06/01 A3020 RMK AO2 SLP199 T00610011 401500033\",\n      \"metar_decoded\": {\n        \"ICAO\": \"KDEN\",\n        \"Time\": \"29.04.2021 06:53\",\n        \"Type\": \"MANUAL\",\n        \"Wind\": {\n          \"direction\": 210,\n          \"strength\": 8,\n          \"gust\": 0,\n          \"varFrom\": 0,\n          \"varTo\": 0,\n          \"unit\": \"KT\"\n        },\n        \"CAVOK\": false,\n        \"Visibility\": [\n          {\n            \"designator\": \"\",\n            \"value\": 10,\n            \"dir\": \"ALL\",\n            \"units\": \"SM\"\n          }\n        ],\n        \"RVR\": false,\n        \"Precipitations\": false,\n        \"Clouds\": [\n          {\n            \"type\": \"CLR\",\n            \"form\": \"\",\n            \"units\": \"FT\",\n            \"base\": 0\n          }\n        ],\n        \"TD\": {\n          \"temp\": 6,\n          \"dewpoint\": 1\n        },\n        \"QNH\": {\n          \"value\": 30.2,\n          \"type\": \"inchs\"\n        },\n        \"RWY\": false,\n        \"SNOCLO\": false,\n        \"Windshear\": false,\n        \"remained\": \"\",\n        \"NOSIG\": false,\n        \"TREND\": false,\n        \"need_maintenance\": false,\n        \"RMK\": [\n          {\n            \"type\": \"AO\",\n            \"value\": 2\n          },\n          {\n            \"type\": \"SLP\",\n            \"value\": 1019.9\n          },\n          {\n            \"type\": \"HTD\",\n            \"temp\": 6.1,\n            \"dewp\": 1.1\n          }\n        ],\n        \"remained_rmk\": \"401500033\"\n      }\n    }\n  ]\n}","summary":"Decoded METAR list"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/mros/":{"get":{"operationId":"mros_list","description":"Get list of MRO records. All parameters are optional","summary":"Get list of MROs","parameters":[{"in":"query","name":"company_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Filter by company id","explode":false,"style":"form"},{"in":"query","name":"has_base_maintenance","schema":{"type":"boolean"}},{"in":"query","name":"is_pro","schema":{"type":"boolean"}},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-airport_city_name","-airport_country_name","-airport_iata","-airport_icao","-airport_lid","-distance","-has_images","-id","-is_pro","-name","airport_city_name","airport_country_name","airport_iata","airport_icao","airport_lid","distance","has_images","id","is_pro","name"]}},"description":"Order by id, name, is_pro, airport_city_name, airport_country_name, airport_iata, airport_icao, airport_lid, distance\n\n* `id` - id\n* `-id` - id (descending)\n* `name` - MRO name\n* `-name` - MRO name (descending)\n* `is_pro` - Is pro\n* `-is_pro` - Is pro (descending)\n* `has_images` - Has images\n* `-has_images` - Has images (descending)\n* `airport_city_name` - Airport city name\n* `-airport_city_name` - Airport city name (descending)\n* `airport_country_name` - Airport country name\n* `-airport_country_name` - Airport country name (descending)\n* `airport_iata` - Airport iata\n* `-airport_iata` - Airport iata (descending)\n* `airport_icao` - Airport icao\n* `-airport_icao` - Airport icao (descending)\n* `airport_lid` - Airport lid\n* `-airport_lid` - Airport lid (descending)\n* `distance` - Distance by ip(send \"user_ip\" in query params) or by search_coords\n* `-distance` - Distance by ip(send \"user_ip\" in query params) or by search_coords (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by name, airport name, country, ICAO code, IATA code or city name"},{"in":"query","name":"search_airport_iata","schema":{"type":"string"},"description":"Search by airport IATA code"},{"in":"query","name":"search_airport_icao","schema":{"type":"string"},"description":"Search by airport ICAO code"},{"in":"query","name":"search_airport_name","schema":{"type":"string"},"description":"Search by airport name"},{"in":"query","name":"search_city","schema":{"type":"string"},"description":"Search by city name"},{"in":"query","name":"search_coords","schema":{"type":"string"},"description":"Search by coordinates, \"latitude,longitude\". Used in conjunction with search_coords_radius."},{"in":"query","name":"search_coords_radius","schema":{"type":"number"},"description":"search by coordinates with custom radius, km"},{"in":"query","name":"search_country","schema":{"type":"string"},"description":"Search by country name, ISO 3166-1 alpha-2 and ISO 3166-1 alpha-3 codes"},{"in":"query","name":"search_name","schema":{"type":"string"},"description":"Search by MRO name"},{"in":"query","name":"shop_parts","schema":{"type":"string"}},{"in":"query","name":"user_ip","schema":{"type":"string"},"description":"User IP address"}],"tags":["mros"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedMROList"},"examples":{"Basic":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":3,"name":"Duncan Aviation RRT C/O Million Air","airport":{"id":20420,"name":"Addison","city":{"id":465992,"name":"Dallas"},"country":{"id":472,"name":"United States","iso_alpha3":"USA","iso_alpha2":"US"},"latitude":32.9685,"longitude":-96.8364,"iata":"ADS","icao":"KADS","lid":null},"company":{"id":1646,"name":"Duncan Aviation, Inc.","phone":"+1 402 479 4161","fax":"+1 402 475 5541","website":"www.DuncanAviation.aero","address":"PO Box 81887","company_extension":{"logo_media":{"id":68907,"path":"https://md.aviapages.com/media/2022/12/26/duncan-aviation-inc.jpg"}},"slug":"duncan-aviation-inc"},"longitude":"-96.834888","latitude":"32.975533","email":null,"phone":"+1 469 853 5789","fax":null,"website":"www.duncanaviation.aero","address":"4310 Amelia Earhart Dr., Hngr 3  Addison, TX 75001","slug":"duncan-aviation-rrt-co-million-air","mro_extension":{"id":312,"description":"For AOG Engine Services, call +1 402 475 2611.....","view_360":null,"logo_media":{"id":25556,"path":"https://md.aviapages.com/media/2019/07/24/Duncan_logo-890x395.jpg"},"is_pro":null},"images":[{"position":1,"media":{"id":25555,"path":"https://md.aviapages.com/media/2019/07/24/main-addison.jpg"}}],"attachments":[]}]},"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/mros/{id}/":{"get":{"operationId":"mros_retrieve","description":"Get a single MRO record","summary":"Get a single MRO record","parameters":[{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this mro.","required":true}],"tags":["mros"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MRO"},"examples":{"Basic":{"value":{"id":3,"name":"Duncan Aviation RRT C/O Million Air","airport":{"id":20420,"name":"Addison","city":{"id":465992,"name":"Dallas"},"country":{"id":472,"name":"United States","iso_alpha3":"USA","iso_alpha2":"US"},"latitude":32.9685,"longitude":-96.8364,"iata":"ADS","icao":"KADS","lid":null},"company":{"id":1646,"name":"Duncan Aviation, Inc.","phone":"+1 402 479 4161","fax":"+1 402 475 5541","website":"www.DuncanAviation.aero","address":"PO Box 81887","company_extension":{"logo_media":{"id":68907,"path":"https://md.aviapages.com/media/2022/12/26/duncan-aviation-inc.jpg"}},"slug":"duncan-aviation-inc"},"longitude":"-96.834888","latitude":"32.975533","email":null,"phone":"+1 469 853 5789","fax":null,"website":"www.duncanaviation.aero","address":"4310 Amelia Earhart Dr., Hngr 3  Addison, TX 75001","slug":"duncan-aviation-rrt-co-million-air","mro_extension":{"id":312,"description":"For AOG Engine Services, call +1 402 475 2611.....","view_360":null,"logo_media":{"id":25556,"path":"https://md.aviapages.com/media/2019/07/24/Duncan_logo-890x395.jpg"},"is_pro":null},"images":[{"position":1,"media":{"id":25555,"path":"https://md.aviapages.com/media/2019/07/24/main-addison.jpg"}}],"attachments":[]},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/notams/":{"get":{"operationId":"notams_list","description":"Returns object of ICAO as key and NOTAM list as value (and decoded NOTAM if requested) for requested ICAOs","summary":"Get list of NOTAMs for requested airport list","parameters":[{"in":"query","name":"decode","schema":{"type":"boolean"},"description":"Parameter that defines whether to include decoded NOTAM into response or not","examples":{"Example1":{"value":"true","summary":"Example 1"}}},{"in":"query","name":"icao","schema":{"type":"string"},"description":"String of ICAO/LID codes list divided by comma (max 20)","required":true,"examples":{"Example1":{"value":"lukk,RPUR","summary":"Example 1"},"Example2":{"value":"lukk","summary":"Example 2"}}}],"tags":["notams"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NOTAMs"},"examples":{"RawNOTAMList":{"value":"{\n  \"LUKK\": [\n    \"\\nA0361/20 NOTAMR A0257/20\\nQ) LUUU/QMXLC/IV/M  /A /000/999/4656N02856E005\\nA) LUKK B) 2011091250 C) 2102062359 EST\\nE) TWY A2 CLOSED DUE TO WORK IN PROGRESS.\\n\",\n    \"\\nA0362/20 NOTAMR A0258/20\\nQ) LUUU/QMPLC/IV/BO /A /000/999/4656N02856E005\\nA) LUKK B) 2011131415 C) 2102122359 EST\\nE) ACFT STAND NR.38 CLSD DUE TO OPS REASON.\\n\",\n    \"\\nA0363/20 NOTAMR A0259/20\\nQ) LUUU/QMXLC/IV/M  /A /000/999/4656N02856E005\\nA) LUKK B) 2011131416 C) 2102122359 EST\\nE) TWY C2 CLSD DUE TO OPS REASON.\\n\"\n  ],\n  \"RPUR\": [\n    \"\\nC0062/21 NOTAMN\\nQ) RPHI/QMRHW/IV/NBO/A /000/999/1544N12130E005\\nA) RPUR B) 2101142300 C) 2104140800\\nE) EXER CTN DRG LDG/TKOF RWY05/23 DUE WIP (RWY EXTENSION).\\n\\nRMK: PILOTS ARE ADZ TO BUZZ OVER THE FLD PRIOR TO TOUCH-AND-GO.\\n\"\n  ],\n  \"UKKK\": null\n}","summary":"Raw NOTAM list"},"DecodedNOTAMList":{"value":"{\n  \"RPUR\": [\n    {\n      \"text\": \"C0399/21 NOTAMR C0395/21\\nQ) RPHI/QMRHW/IV/NBO/A /000/999/1544N12130E005\\nA) RPUR B) 2104080348 C) 2107080800\\nE) RWY05/23 WIP (RWY EXTENSION).\\n\\nRMK: EXER CTN DRG LDG/TKOF RWY05/23.\\n     PILOTS ARE ADZ TO BUZZ OVER THE FLD PRIOR TO TOUCH-AND-GO.\\n     GIVE AMPLE TIME FOR MEN AND EQPT TO CLR THE RWY.\",\n      \"notam_decoded\": {\n        \"head\": {\n          \"action\": \"R\",\n          \"notam_id\": \"C0399\",\n          \"notam_iss_year\": 2021,\n          \"replace_notam_id\": \" C0395\",\n          \"replace_notam_year\": 2021\n        },\n        \"Q\": {\n          \"owner\": \"RPHI\",\n          \"Q\": {\n            \"subject_type\": \"AGA Movement and Landing Area\",\n            \"subject\": \"Runway \",\n            \"status_type\": \"Hazard Conditions\",\n            \"status\": \"Work in progress\"\n          },\n          \"flight_rules\": [\n            \"IFR\",\n            \"VFR\"\n          ],\n          \"purpose\": [\n            {\n              \"code\": \"N\",\n              \"desc\": \"Immediate attention\"\n            },\n            {\n              \"code\": \"B\",\n              \"desc\": \"PIB entry\"\n            },\n            {\n              \"code\": \"O\",\n              \"desc\": \"Operationally significant for IFR flights\"\n            }\n          ],\n          \"scope\": [\n            {\n              \"code\": \"A\",\n              \"desc\": \"Aerodrome\"\n            }\n          ],\n          \"fl_from\": 0,\n          \"fl_to\": 999,\n          \"coordinates\": {\n            \"lat\": 15.44,\n            \"lat-sf\": \"N\",\n            \"lon\": 121.3,\n            \"lon-sf\": \"E\",\n            \"nm\": 5\n          }\n        },\n        \"A\": \"RPUR\",\n        \"B\": \"08.04.2021 03:48\",\n        \"C\": {\n          \"Time\": \"08.07.2021 08:00\",\n          \"Continuation\": false\n        },\n        \"E\": \"RWY05/23 Work in Progress (RWY EXTENSION). RMK: Exercises Caution During LDG/TKOF RWY05/23. PILOTS ARE Advise TO BUZZ OVER THE Field PRIOR TO TOUCH-AND-GO. GIVE AMPLE TIME FOR MEN AND Equipment TO Clearance THE Runway \"\n      }\n    }\n  ]\n}","summary":"Decoded NOTAM list"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/operator_quote_messages/":{"get":{"operationId":"operator_quote_messages_list","description":"Get list of Quote Message records. All parameters are optional","summary":"Get list of Quote Message records","parameters":[{"in":"query","name":"arrival_airport_icao_in","schema":{"type":"array","items":{"type":"string","nullable":true}},"description":"Quote arrival airport ICAO in filter","explode":false,"style":"form"},{"in":"query","name":"departure_airport_icao_in","schema":{"type":"array","items":{"type":"string","nullable":true}},"description":"Quote departure airport ICAO in filter","explode":false,"style":"form"},{"in":"query","name":"from_departure_date_utc","schema":{"type":"string","format":"date-time"},"description":"first leg departure_datetime filter in format \"yyyy-mm-ddThh:mm\""},{"in":"query","name":"from_email_in","schema":{"type":"array","items":{"type":"string","format":"email","nullable":true}},"description":"Quote Account email in filter","explode":false,"style":"form"},{"in":"query","name":"id_in","schema":{"type":"array","items":{"type":"integer"}},"description":"QuoteMessage ID in filter","explode":false,"style":"form"},{"in":"query","name":"is_actual","schema":{"type":"boolean"},"description":"Search by actual only(first leg departure_datetime>now)"},{"in":"query","name":"is_unanswered","schema":{"type":"boolean"},"description":"Search unanswered"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-channel","-created_at","-flight_request_comment","-flight_request_id","-id","channel","created_at","flight_request_comment","flight_request_id","id"]}},"description":"Which field to use when ordering the results.\n\n* `id` - id\n* `-id` - id (descending)\n* `flight_request_id` - flight_request_id\n* `-flight_request_id` - flight_request_id (descending)\n* `created_at` - created_at\n* `-created_at` - created_at (descending)\n* `channel` - Channel\n* `-channel` - Channel (descending)\n* `flight_request_comment` - flight_request_comment\n* `-flight_request_comment` - flight_request_comment (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"quote_request_id","schema":{"type":"number"},"description":"Quote ID filter"},{"in":"query","name":"search","schema":{"type":"string"},"description":"Search by departure or arrival airport name, ICAO / IATA codes, city or country name; requester's first and last name, email or company name; requested aircraft type, aircraft class or tail number; Quote or QuoteMessage ids"},{"in":"query","name":"state_filter","schema":{"type":"array","items":{"type":"string","enum":["Blocked","Created","Delivered","Error","Open","Other","Partially delivered","Resending","Sending","Sent","Spam","Test message","Unsubscribe"]}},"description":"Choice filter for flight request state. For every state need to use query param with state_filter name and value from choices. Example: state_filter=Delivered&state_filter=Sending\n\n* `Created` - Created\n* `Sending` - Sending\n* `Sent` - Sent\n* `Delivered` - Delivered\n* `Resending` - Resending\n* `Error` - Error\n* `Partially delivered` - Partially delivered\n* `Open` - Open\n* `Spam` - Spam\n* `Unsubscribe` - Unsubscribe\n* `Test message` - Test message\n* `Blocked` - Blocked\n* `Other` - Other","explode":true,"style":"form"},{"in":"query","name":"to_departure_date_utc","schema":{"type":"string","format":"date-time"},"description":"first leg departure_datetime filter in format \"yyyy-mm-ddThh:mm\""}],"tags":["operator_quote_messages"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedOperatorQuoteMessageList"},"examples":{"ListOfQuoteMessages":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":406527,"quote_request_id":16859,"account":{"id":3427,"given_name":"Philippe","family_name":"Crève Coeur","email":"contact@jetsborder.com","phone":null,"company":null},"created_at":"2022-08-21T21:08","legs":[{"departure_airport":{"id":23929,"icao":"OMDB","iata":"DXB","lid":null,"name":"Dubai Intl","city":{"id":464730,"name":"Dubai"}},"arrival_airport":{"id":23209,"icao":"LOWW","iata":"VIE","lid":null,"name":"Schwechat","city":{"id":394744,"name":"Vienna"}},"pax":55,"departure_datetime":"2022-09-17T10:00:00Z"}],"channel":"Email","aircraft":[{"id":null,"tail_number":null,"ac_type":null,"ac_class":"VIP airliner"},{"id":null,"tail_number":null,"ac_type":null,"ac_class":"Airliner"}],"comment":null,"state":"Delivered","quote_hash":"406527e2ae90e7110307eeb416786c2d9a446620320337"},{"id":406503,"quote_request_id":16858,"account":{"id":9077,"given_name":"Elie","family_name":"Tabet","email":"sales@gaia-jet.com","phone":"+9613200854","company":null},"created_at":"2022-08-21T17:34","legs":[{"departure_airport":{"id":22917,"icao":"LFPB","iata":"LBG","lid":null,"name":"Le Bourget","city":{"id":412243,"name":"Paris"}},"arrival_airport":{"id":23818,"icao":"OERK","iata":"RUH","lid":null,"name":"King Khaled Intl","city":{"id":445037,"name":"Riyadh"}},"pax":7,"departure_datetime":"2022-09-05T12:00:00Z"}],"channel":"Leon","aircraft":[{"id":null,"tail_number":null,"ac_type":null,"ac_class":"Super midsize"},{"id":null,"tail_number":null,"ac_type":null,"ac_class":"Midsize"}],"comment":null,"state":"Delivered","quote_hash":"168588121f04fd3591c253cff20cd647bafd773581fd2"}]},"summary":"List of Quote Messages"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/operator_quote_messages/{quote_message_id}/":{"get":{"operationId":"operator_quote_messages_retrieve","description":"Get a single Quote Message record","summary":"Get a single Quote Message record","parameters":[{"in":"path","name":"quote_message_id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request message.","required":true}],"tags":["operator_quote_messages"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorQuoteMessage"},"examples":{"Basic":{"value":{"id":406527,"quote_request_id":16859,"account":{"id":3427,"given_name":"Philippe","family_name":"Crève Coeur","email":"contact@jetsborder.com","phone":null,"company":null},"created_at":"2022-08-21T21:08","legs":[{"departure_airport":{"id":23929,"icao":"OMDB","iata":"DXB","lid":null,"name":"Dubai Intl","city":{"id":464730,"name":"Dubai"}},"arrival_airport":{"id":23209,"icao":"LOWW","iata":"VIE","lid":null,"name":"Schwechat","city":{"id":394744,"name":"Vienna"}},"pax":55,"departure_datetime":"2022-09-17T10:00:00Z"}],"channel":"Email","aircraft":[{"id":null,"tail_number":null,"ac_type":null,"ac_class":"VIP airliner"},{"id":null,"tail_number":null,"ac_type":null,"ac_class":"Airliner"}],"comment":null,"state":"Delivered","quote_hash":"406527e2ae90e7110307eeb416786c2d9a446620320337"},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/operator_quote_replies/":{"get":{"operationId":"operator_quote_replies_list","description":"Get list of operator offer records. All parameters are optional","summary":"Get list of Operator Quote Replies","parameters":[{"in":"query","name":"from_created_date_utc","schema":{"type":"string","format":"date-time"},"description":"Offer created date from filter in format \"yyyy-mm-ddThh:mm\""},{"in":"query","name":"id_in","schema":{"type":"array","items":{"type":"integer"}},"description":"Offer ID in filter","explode":false,"style":"form"},{"in":"query","name":"ordering","schema":{"type":"array","items":{"type":"string","enum":["-aircraft","-comment","-created_at","-currency","-id","-manager_name","-price","-quote_message_id","-quote_request_id","aircraft","comment","created_at","currency","id","manager_name","price","quote_message_id","quote_request_id"]}},"description":"Which field to use when ordering the results.\n\n* `id` - id\n* `-id` - id (descending)\n* `quote_request_id` - Quote request id\n* `-quote_request_id` - Quote request id (descending)\n* `quote_message_id` - Quote message id\n* `-quote_message_id` - Quote message id (descending)\n* `created_at` - created_at\n* `-created_at` - created_at (descending)\n* `price` - price\n* `-price` - price (descending)\n* `aircraft` - aircraft\n* `-aircraft` - aircraft (descending)\n* `currency` - currency\n* `-currency` - currency (descending)\n* `comment` - comment\n* `-comment` - comment (descending)\n* `manager_name` - manager_name\n* `-manager_name` - manager_name (descending)","explode":false,"style":"form"},{"name":"page","required":false,"in":"query","description":"A page number within the paginated result set.","schema":{"type":"integer"}},{"in":"query","name":"quote_message_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Quote Message ID filter","explode":false,"style":"form"},{"in":"query","name":"quote_request_id","schema":{"type":"number"},"description":"Quote ID filter"},{"in":"query","name":"quote_request_id_in","schema":{"type":"array","items":{"type":"number"}},"description":"Multiple Quote ID filter","explode":false,"style":"form"},{"in":"query","name":"reaction_filter","schema":{"type":"array","items":{"type":"string","enum":["Accept","Costly","Favorite","New","Reject","Seen"]}},"description":"Choice filter for flight request state. For every state need to use query param with reaction_filter name and value from choices. Example: reaction_filter=Accept&reaction_filter=Favorite\n\n* `New` - New\n* `Seen` - Seen\n* `Favorite` - Favorite\n* `Accept` - Accept\n* `Reject` - Reject\n* `Costly` - Costly","explode":true,"style":"form"},{"in":"query","name":"state_filter","schema":{"type":"array","items":{"type":"string","enum":["Not available","OK","Removed"]}},"description":"Choice filter for flight request state. For every state need to use query param with state_filter name and value from choices. Example: state_filter=OK&state_filter=Not available\n\n* `OK` - OK\n* `Not available` - Not available\n* `Removed` - Removed","explode":true,"style":"form"},{"in":"query","name":"to_created_date_utc","schema":{"type":"string","format":"date-time"},"description":"Offer created date to filter in format \"yyyy-mm-ddThh:mm\""}],"tags":["operator_quote_replies"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedOperatorQuoteReplyList"},"examples":{"ListOfOperatorOffers":{"value":{"count":123,"next":"http://api.example.org/example_page/?page=4","previous":"http://api.example.org/example_page/?page=2","per_page":20,"results":[{"id":27732,"quote_request_id":16859,"quote_message_id":406527,"created_at":"2022-09-06T13:13:58.600438Z","price":25000,"state":"OK","aircraft":{"id":11641,"tail_number":"ER-ABC","serial_number":"12450253","aircraft_type":"Embraer 120ER","aircraft_class":"Airliner","max_passengers":30,"year_of_production":1991,"home_base":"LHBP","manufacturer_name":"Embraer","images":[{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.08.36_8NYPIuj.png","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.11.25_5Z9N9Jx.png","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2022/01/26/116412_17331_.png","image_type":"notail"}],"refurbishment_year":null,"is_for_charter":true,"is_for_sale":false,"cabin_crew":true,"lavatory":true,"hot_meal":true,"wireless_internet":null,"entertainment_system":null,"medical_ramp":null,"adult_critical_care":null,"pediatric_critical_care":null,"smoking":null,"pets_allowed":null,"shower":null,"satellite_phone":null,"owners_approval_required":null,"divan_seats":null,"beds":null,"sleeping_places":null,"cabin_height":"1.76","cabin_length":"9.38","cabin_width":"2.10","luggage_volume":null,"slug":"11641"},"currency_code":"USD","comment":null,"manager_name":"Mike D","reaction":"New","account":{"id":99,"given_name":"Erik","family_name":"P","email":"sales@jet-jet.com","phone":null},"reject_reason":null},{"id":27731,"quote_request_id":16859,"quote_message_id":406527,"created_at":"2022-09-06T13:04:45.552163Z","price":null,"state":"Not available","aircraft":null,"currency_code":null,"comment":"some comment","manager_name":null,"reaction":"New","manager_account":{"id":99,"given_name":"Erik","family_name":"P","email":"sales@jet-jet.com","phone":null},"reject_reason":"test"}]},"summary":"List of Operator Offers"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"post":{"operationId":"operator_quote_replies_create","description":"Create a Quote for a Quote Request","summary":"Create a Quote for a Quote Request","tags":["operator_quote_replies"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorQuoteReply"},"examples":{"OfferWithPriceAndAircraft":{"value":{"quote_message_id":406527,"price":25000,"state":"OK","aircraft":{"tail_number":"ER-ABC"},"currency_code":"USD","comment":null,"manager_name":"Mike D"},"summary":"Offer with price and aircraft"},"NotAvailableOfferCreationWithReasonAndComment":{"value":{"quote_message_id":406527,"state":"Not available","comment":"some comment","reject_reason":"some reason"},"summary":"Not available Offer creation with reason and comment"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorQuoteReply"},"examples":{"OfferWithPriceAndAircraftResponse":{"value":{"id":27732,"quote_request_id":16859,"quote_message_id":406527,"created_at":"2022-09-06T13:13:58.600438Z","price":25000,"state":"OK","aircraft":{"id":11641,"tail_number":"ER-ABC","serial_number":"12450253","aircraft_type":"Embraer 120ER","aircraft_class":"Airliner","max_passengers":30,"year_of_production":1991,"home_base":"LHBP","manufacturer_name":"Embraer","images":[{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.08.36_8NYPIuj.png","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.11.25_5Z9N9Jx.png","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2022/01/26/116412_17331_.png","image_type":"notail"}],"refurbishment_year":null,"is_for_charter":true,"is_for_sale":false,"cabin_crew":true,"lavatory":true,"hot_meal":true,"wireless_internet":null,"entertainment_system":null,"medical_ramp":null,"adult_critical_care":null,"pediatric_critical_care":null,"smoking":null,"pets_allowed":null,"shower":null,"satellite_phone":null,"owners_approval_required":null,"divan_seats":null,"beds":null,"sleeping_places":null,"cabin_height":"1.76","cabin_length":"9.38","cabin_width":"2.10","luggage_volume":null,"slug":"11641"},"currency_code":"USD","comment":null,"manager_name":"Mike D","reaction":"New","account":{"id":99,"given_name":"Erik","family_name":"P","email":"sales@jet-jet.com","phone":null},"reject_reason":null},"summary":"Offer with price and aircraft response"},"NotAvailableOfferCreationWithReasonAndCommentResponse":{"value":{"id":27731,"quote_request_id":16859,"quote_message_id":406527,"created_at":"2022-09-06T13:04:45.552163Z","price":null,"state":"Not available","aircraft":null,"currency_code":null,"comment":"some comment","manager_name":null,"reaction":"New","manager_account":{"id":99,"given_name":"Erik","family_name":"P","email":"sales@jet-jet.com","phone":null},"reject_reason":"test"},"summary":"Not available Offer creation with reason and comment response"}}}},"description":""},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationError"},"examples":{"ValidationErrorExample1":{"value":{"field_1":["This field is required."],"field_datetime":["Datetime has wrong format. Use one of these formats instead: YYYY-MM-DDThh:mm"],"field_3":["A valid integer is required."]},"summary":"Validation Error","description":"All fields request example"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/operator_quote_replies/{quote_reply_id}/":{"get":{"operationId":"operator_quote_replies_retrieve","description":"Get a single Operator Quote Reply record","summary":"Get a single Operator Quote Reply record","parameters":[{"in":"path","name":"quote_reply_id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request reply offer.","required":true}],"tags":["operator_quote_replies"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorQuoteReply"},"examples":{"Basic":{"value":{"id":27732,"quote_request_id":16859,"quote_message_id":406527,"created_at":"2022-09-06T13:13:58.600438Z","price":25000,"state":"OK","aircraft":{"id":11641,"tail_number":"ER-ABC","serial_number":"12450253","aircraft_type":"Embraer 120ER","aircraft_class":"Airliner","max_passengers":30,"year_of_production":1991,"home_base":"LHBP","manufacturer_name":"Embraer","images":[{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.08.36_8NYPIuj.png","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.11.25_5Z9N9Jx.png","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2022/01/26/116412_17331_.png","image_type":"notail"}],"refurbishment_year":null,"is_for_charter":true,"is_for_sale":false,"cabin_crew":true,"lavatory":true,"hot_meal":true,"wireless_internet":null,"entertainment_system":null,"medical_ramp":null,"adult_critical_care":null,"pediatric_critical_care":null,"smoking":null,"pets_allowed":null,"shower":null,"satellite_phone":null,"owners_approval_required":null,"divan_seats":null,"beds":null,"sleeping_places":null,"cabin_height":"1.76","cabin_length":"9.38","cabin_width":"2.10","luggage_volume":null,"slug":"11641"},"currency_code":"USD","comment":null,"manager_name":"Mike D","reaction":"New","account":{"id":99,"given_name":"Erik","family_name":"P","email":"sales@jet-jet.com","phone":null},"reject_reason":null},"summary":"Basic"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"put":{"operationId":"operator_quote_replies_update","description":"Update of a Quote Reply record","summary":"Update of a Quote Reply record","parameters":[{"in":"path","name":"quote_reply_id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request reply offer.","required":true}],"tags":["operator_quote_replies"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorQuoteReply"},"examples":{"OfferUpdate":{"value":{"quote_message_id":406527,"price":19000,"state":"OK","aircraft":{"tail_number":"ER-ABC"},"currency_code":"EUR","comment":"Updated comment","manager_name":null},"summary":"Offer update"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorQuoteReply"},"examples":{"OfferSuccessfulUpdatedResponse":{"value":{"id":27732,"quote_request_id":16859,"quote_message_id":406527,"created_at":"2022-09-06T13:13:58.600438Z","price":19000,"state":"OK","aircraft":{"tail_number":"ER-ABC"},"currency_code":"EUR","comment":"Updated comment","manager_name":null,"reaction":"New","account":{"id":99,"given_name":"Erik","family_name":"P","email":"sales@jet-jet.com","phone":null},"reject_reason":null},"summary":"Offer successful updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"patch":{"operationId":"operator_quote_replies_partial_update","description":"Partial update of a Quote Reply","summary":"Partial update of a Quote Reply","parameters":[{"in":"path","name":"quote_reply_id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request reply offer.","required":true}],"tags":["operator_quote_replies"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedOperatorQuoteReply"},"examples":{"OfferPartialUpdate":{"value":{"manager_name":"Chris R","comment":"Updated comment","price":22000},"summary":"Offer partial update"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorQuoteReply"},"examples":{"OfferSuccessfulUpdatedResponse":{"value":{"id":27732,"quote_request_id":16859,"quote_message_id":406527,"created_at":"2022-09-06T13:13:58.600438Z","price":22000,"state":"OK","aircraft":{"id":11641,"tail_number":"ER-ABC","serial_number":"12450253","aircraft_type":"Embraer 120ER","aircraft_class":"Airliner","max_passengers":30,"year_of_production":1991,"home_base":"LHBP","manufacturer_name":"Embraer","images":[{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.08.36_8NYPIuj.png","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.11.25_5Z9N9Jx.png","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2022/01/26/116412_17331_.png","image_type":"notail"}],"refurbishment_year":null,"is_for_charter":true,"is_for_sale":false,"cabin_crew":true,"lavatory":true,"hot_meal":true,"wireless_internet":null,"entertainment_system":null,"medical_ramp":null,"adult_critical_care":null,"pediatric_critical_care":null,"smoking":null,"pets_allowed":null,"shower":null,"satellite_phone":null,"owners_approval_required":null,"divan_seats":null,"beds":null,"sleeping_places":null,"cabin_height":"1.76","cabin_length":"9.38","cabin_width":"2.10","luggage_volume":null,"slug":"11641"},"currency_code":"USD","comment":"Updated comment","manager_name":"Chris R","reaction":"New","account":{"id":99,"given_name":"Erik","family_name":"P","email":"sales@jet-jet.com","phone":null},"reject_reason":null},"summary":"Offer successful updated response"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{}},"examples":{"NotFoundError":{"value":{"detail":"Not found."},"summary":"Not found error"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"delete":{"operationId":"operator_quote_replies_destroy","description":"Deleting offer records. Sets the state to \"Removed\"","summary":"Delete a Quote Reply record","parameters":[{"in":"path","name":"quote_reply_id","schema":{"type":"integer"},"description":"A unique integer value identifying this flight request reply offer.","required":true}],"tags":["operator_quote_replies"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperatorQuoteReply"},"examples":{"Delete":{"value":{"id":27732,"quote_request_id":16859,"quote_message_id":406527,"created_at":"2022-09-06T13:13:58.600438Z","price":25000,"state":"Removed","aircraft":{"id":11641,"tail_number":"ER-ABC","serial_number":"12450253","aircraft_type":"Embraer 120ER","aircraft_class":"Airliner","max_passengers":30,"year_of_production":1991,"home_base":"LHBP","manufacturer_name":"Embraer","images":[{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.08.36_8NYPIuj.png","image_type":"exterior"},{"url":"https://md.aviapages.com/media/2018/10/20/2018-10-20_в_11.11.25_5Z9N9Jx.png","image_type":"cabin"},{"url":"https://md.aviapages.com/media/2022/01/26/116412_17331_.png","image_type":"notail"}],"refurbishment_year":null,"is_for_charter":true,"is_for_sale":false,"cabin_crew":true,"lavatory":true,"hot_meal":true,"wireless_internet":null,"entertainment_system":null,"medical_ramp":null,"adult_critical_care":null,"pediatric_critical_care":null,"smoking":null,"pets_allowed":null,"shower":null,"satellite_phone":null,"owners_approval_required":null,"divan_seats":null,"beds":null,"sleeping_places":null,"cabin_height":"1.76","cabin_length":"9.38","cabin_width":"2.10","luggage_volume":null,"slug":"11641"},"currency_code":"USD","comment":null,"manager_name":"Mike D","reaction":"New","account":{"id":99,"given_name":"Erik","family_name":"P","email":"sales@jet-jet.com","phone":null},"reject_reason":null},"summary":"Delete"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/tafs/":{"get":{"operationId":"tafs_list","description":"Returns object of ICAO as key and TAF list as value (and decoded TAF if requested) for requested ICAOs","summary":"Get list of TAFs for requested airport list","parameters":[{"in":"query","name":"decode","schema":{"type":"boolean"},"description":"Parameter that defines whether to include decoded TAF into response or not","examples":{"Example1":{"value":"true","summary":"Example 1"}}},{"in":"query","name":"icao","schema":{"type":"string"},"description":"String of icao list divided by comma (max 20)","required":true,"examples":{"Example1":{"value":"LUKK,EGGW,KATL,ZBAA,KLAX,OMDB,RJTT,KORD,EGLL,ZSPD,LFPG,KDFW,ZGGG,EHAM,VHHH,RKSI,EDDF,KDEN,VIDP,WSSS","summary":"Example 1"},"Example2":{"value":"lukk,RPUR","summary":"Example 2"}}}],"tags":["tafs"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TAFs"},"examples":{"RawTAFList":{"value":"{\n    \"EHAM\": [\n        \"EHAM 211025Z 35013KT 320V020 9999 BKN025 07/01 Q1025 NOSIG\",\n        \"EHAM 210955Z 36012KT 310V040 9999 BKN025 07/02 Q1025 NOSIG\",\n        \"EHAM 210925Z 35014KT 300V030 9999 BKN025 07/01 Q1025 NOSIG\",\n        \"EHAM 210855Z 35017KT 320V020 9999 FEW022 BKN027 07/02 Q1025 NOSIG\",\n        \"EHAM 210825Z 35016G28KT 310V030 9999 FEW022 BKN027 07/02 Q1024 NOSIG\",\n        \"EHAM 210755Z 34015KT 310V020 9999 FEW022 BKN027 07/02 Q1024 NOSIG\"\n    ],\n    \"EGLL\": [\n        \"EGLL 211020Z AUTO 02007KT 320V060 9999 SCT027 10/03 Q1030\",\n        \"EGLL 210950Z AUTO 01007KT 340V060 9999 NCD 09/04 Q1030 NOSIG\",\n        \"EGLL 210920Z AUTO 03008G18KT 360V070 9999 NCD 09/04 Q1029 NOSIG\",\n        \"EGLL 210850Z AUTO 03007KT 340V060 9999 NCD 08/04 Q1029\",\n        \"EGLL 210820Z AUTO 03006KT 350V060 9999 BKN033 OVC049 08/05 Q1029 NOSIG\",\n        \"EGLL 210750Z AUTO 03006KT 350V060 9999 FEW032 08/05 Q1029 NOSIG\"\n    ],\n  \"UKKK\": null\n}","summary":"Raw TAF list"},"DecodedTAFList":{"value":"{\n  \"ZSPD\": [\n    {\n      \"text\": \"TAF ZSPD 290323Z 2906/3006 25006MPS 6000 SCT023 TX28/3006Z TN18/2920Z BECMG 2912/2914 19004MPS\",\n      \"taf_decoded\": {\n        \"ICAO\": \"ZSPD\",\n        \"Type\": \"MANUAL\",\n        \"Generate time\": \"29.04.2021 03:23\",\n        \"Validity\": {\n          \"valid_from\": \"29.04.2021 06:00\",\n          \"valid_to\": \"30.04.2021 06:00\"\n        },\n        \"Wind\": {\n          \"direction\": 250,\n          \"strength\": 6,\n          \"gust\": 0,\n          \"varFrom\": 0,\n          \"varTo\": 0,\n          \"unit\": \"MPS\"\n        },\n        \"Visibility\": [\n          {\n            \"designator\": \"\",\n            \"value\": 6000,\n            \"units\": \"M\",\n            \"dir\": \"ALL\"\n          }\n        ],\n        \"Precipitations\": false,\n        \"Clouds\": [\n          {\n            \"type\": \"SCT\",\n            \"form\": \"\",\n            \"units\": \"FT\",\n            \"base\": 2300\n          }\n        ],\n        \"CAVOK\": false,\n        \"WS\": false,\n        \"Min_temp\": {\n          \"temp\": 18,\n          \"date\": \"29.04.2021 20:00\"\n        },\n        \"Max_temp\": {\n          \"temp\": 28,\n          \"date\": \"30.04.2021 06:00\"\n        },\n        \"Icing\": false,\n        \"Turb\": false,\n        \"TREND\": [\n          {\n            \"group\": false,\n            \"type\": \"BECMG\",\n            \"prob\": false,\n            \"start_time\": \"29.04.2021 12:00\",\n            \"end_time\": \"29.04.2021 14:00\",\n            \"content\": {\n              \"rmk\": false,\n              \"wind\": {\n                \"direction\": 190,\n                \"strength\": 4,\n                \"gust\": 0,\n                \"varFrom\": 0,\n                \"varTo\": 0,\n                \"unit\": \"MPS\"\n              },\n              \"vis\": false,\n              \"precip\": false,\n              \"clouds\": false,\n              \"WS\": false,\n              \"icing\": false,\n              \"turb\": false\n            }\n          }\n        ]\n      }\n    },\n    {\n      \"text\": \"TAF ZSPD 282107Z 2900/2924 24004MPS 5000 BR SCT030 TX27/2906Z TN16/2920Z\",\n      \"taf_decoded\": {\n        \"ICAO\": \"ZSPD\",\n        \"Type\": \"MANUAL\",\n        \"Generate time\": \"28.04.2021 21:07\",\n        \"Validity\": {\n          \"valid_from\": \"29.04.2021 00:00\",\n          \"valid_to\": \"30.04.2021 00:00\"\n        },\n        \"Wind\": {\n          \"direction\": 240,\n          \"strength\": 4,\n          \"gust\": 0,\n          \"varFrom\": 0,\n          \"varTo\": 0,\n          \"unit\": \"MPS\"\n        },\n        \"Visibility\": [\n          {\n            \"designator\": \"\",\n            \"value\": 5000,\n            \"units\": \"M\",\n            \"dir\": \"ALL\"\n          }\n        ],\n        \"Precipitations\": [\n          {\n            \"intensity\": \" \",\n            \"desc\": \"\",\n            \"precip\": \"\",\n            \"obsc\": \"BR\",\n            \"other\": \"\",\n            \"fulldesc\": \"Moderate Mist \"\n          }\n        ],\n        \"Clouds\": [\n          {\n            \"type\": \"SCT\",\n            \"form\": \"\",\n            \"units\": \"FT\",\n            \"base\": 3000\n          }\n        ],\n        \"CAVOK\": false,\n        \"WS\": false,\n        \"Min_temp\": {\n          \"temp\": 16,\n          \"date\": \"29.04.2021 20:00\"\n        },\n        \"Max_temp\": {\n          \"temp\": 27,\n          \"date\": \"29.04.2021 06:00\"\n        },\n        \"Icing\": false,\n        \"Turb\": false,\n        \"TREND\": false\n      }\n    },\n    {\n      \"text\": \"TAF ZSPD 281502Z 2818/2918 22004MPS 5000 BR BKN020 TX27/2906Z TN16/2821Z\",\n      \"taf_decoded\": {\n        \"ICAO\": \"ZSPD\",\n        \"Type\": \"MANUAL\",\n        \"Generate time\": \"28.04.2021 15:02\",\n        \"Validity\": {\n          \"valid_from\": \"28.05.2021 18:00\",\n          \"valid_to\": \"29.04.2021 18:00\"\n        },\n        \"Wind\": {\n          \"direction\": 220,\n          \"strength\": 4,\n          \"gust\": 0,\n          \"varFrom\": 0,\n          \"varTo\": 0,\n          \"unit\": \"MPS\"\n        },\n        \"Visibility\": [\n          {\n            \"designator\": \"\",\n            \"value\": 5000,\n            \"units\": \"M\",\n            \"dir\": \"ALL\"\n          }\n        ],\n        \"Precipitations\": [\n          {\n            \"intensity\": \" \",\n            \"desc\": \"\",\n            \"precip\": \"\",\n            \"obsc\": \"BR\",\n            \"other\": \"\",\n            \"fulldesc\": \"Moderate Mist \"\n          }\n        ],\n        \"Clouds\": [\n          {\n            \"type\": \"BKN\",\n            \"form\": \"\",\n            \"units\": \"FT\",\n            \"base\": 2000\n          }\n        ],\n        \"CAVOK\": false,\n        \"WS\": false,\n        \"Min_temp\": {\n          \"temp\": 16,\n          \"date\": \"28.05.2021 21:00\"\n        },\n        \"Max_temp\": {\n          \"temp\": 27,\n          \"date\": \"29.04.2021 06:00\"\n        },\n        \"Icing\": false,\n        \"Turb\": false,\n        \"TREND\": false\n      }\n    },\n    {\n      \"text\": \"TAF ZSPD 280907Z 2812/2912 15004MPS 5000 BR BKN020 TX24/2906Z TN16/2821Z\",\n      \"taf_decoded\": {\n        \"ICAO\": \"ZSPD\",\n        \"Type\": \"MANUAL\",\n        \"Generate time\": \"28.04.2021 09:07\",\n        \"Validity\": {\n          \"valid_from\": \"28.05.2021 12:00\",\n          \"valid_to\": \"29.04.2021 12:00\"\n        },\n        \"Wind\": {\n          \"direction\": 150,\n          \"strength\": 4,\n          \"gust\": 0,\n          \"varFrom\": 0,\n          \"varTo\": 0,\n          \"unit\": \"MPS\"\n        },\n        \"Visibility\": [\n          {\n            \"designator\": \"\",\n            \"value\": 5000,\n            \"units\": \"M\",\n            \"dir\": \"ALL\"\n          }\n        ],\n        \"Precipitations\": [\n          {\n            \"intensity\": \" \",\n            \"desc\": \"\",\n            \"precip\": \"\",\n            \"obsc\": \"BR\",\n            \"other\": \"\",\n            \"fulldesc\": \"Moderate Mist \"\n          }\n        ],\n        \"Clouds\": [\n          {\n            \"type\": \"BKN\",\n            \"form\": \"\",\n            \"units\": \"FT\",\n            \"base\": 2000\n          }\n        ],\n        \"CAVOK\": false,\n        \"WS\": false,\n        \"Min_temp\": {\n          \"temp\": 16,\n          \"date\": \"28.05.2021 21:00\"\n        },\n        \"Max_temp\": {\n          \"temp\": 24,\n          \"date\": \"29.04.2021 06:00\"\n        },\n        \"Icing\": false,\n        \"Turb\": false,\n        \"TREND\": false\n      }\n    }\n  ]\n}","summary":"Decoded TAF list"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/tokens/":{"get":{"operationId":"tokens_list","description":"Get list of Tokens. All parameters are optional.","summary":"Get Token list","parameters":[{"in":"query","name":"is_active","schema":{"type":"boolean"}},{"in":"query","name":"name","schema":{"type":"string"},"description":"Case-insensitive containment test"},{"name":"ordering","required":false,"in":"query","description":"Which field to use when ordering the results.","schema":{"type":"string"}}],"tags":["tokens"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AccountToken"}},"examples":{"Basic":{"value":[[{"token":"AquLc45fjQ73WhF73Qup35JPnyDpAh","name":"New token name","created_at":"2021-10-01T00:00:00Z","is_active":true},{"token":"t7yKH4tgeJRDUkk2k8XLeMqqUVbVXv","name":"Second token name","created_at":"2021-10-02T00:00:00Z","is_active":false}]],"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"post":{"operationId":"tokens_create","description":"Creation of a Token record. (max 100). Child token cannot access tokens/ endpoint","summary":"Create a new Token record","tags":["tokens"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountToken"},"examples":{"SimpleCreation":{"value":{"name":"test"},"summary":"Simple creation"},"NotActiveTokenCreation":{"value":{"name":"test","is_active":false},"summary":"Not active Token creation"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountToken"},"examples":{"GenerateANewToken":{"value":{"token":"t7yKH4tgeJRDUkk2k8XLeMqqUVbVXv","name":"Token 123","created_at":"2021-01-01T00:00:00.000Z","is_active":true},"summary":"Generate a new Token"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/tokens/{name}/":{"get":{"operationId":"tokens_retrieve","description":"Get a single Token record","summary":"Get a single Token record","parameters":[{"in":"path","name":"name","schema":{"type":"string"},"required":true}],"tags":["tokens"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountToken"},"examples":{"Basic":{"value":{"token":"AquLc45fjQ73WhF73Qup35JPnyDpAh","name":"New token name","created_at":"2021-10-01T00:00:00Z","is_active":true},"summary":"Basic"}}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}},"patch":{"operationId":"tokens_partial_update","description":"Partial update of a Token record","summary":"Partial update of a Token record","parameters":[{"in":"path","name":"name","schema":{"type":"string"},"required":true}],"tags":["tokens"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchedAccountToken"},"examples":{"TokenPartialUpdate":{"value":{"name":"New token name","is_active":true},"summary":"Token partial update"}}}}},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountToken"}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/tokens/{name}/generate/":{"post":{"operationId":"generate_update","description":"Generation of a new Token on existing token records. (max 100)","summary":"Generate a new Token on existing record","parameters":[{"in":"path","name":"name","schema":{"type":"string"},"required":true}],"tags":["tokens"],"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountToken"}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleError"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/flight_calculator/":{"post":{"operationId":"flight_calculator_create","description":"Endpoint to retrieve flight time, flight route & fuel usage.","summary":"Flight Time & Route Calculator","tags":["flight_calculator"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlightCalculatorRequest"},"examples":{"FlightTimeBasic":{"value":{"departure_airport":"EVRA","arrival_airport":"EGSS","aircraft":"Embraer Legacy 650","pax":2,"airway_time":true},"summary":"Flight time basic"},"AvoidCountriesAndFIRs":{"value":{"departure_airport":"EVRA","arrival_airport":"LTFM","aircraft":"Embraer Legacy 650","pax":2,"avoid_countries":["Belarus","Ukraine"],"avoid_firs":["UKFV","UKBV"],"airway_time":true,"airway_route":true},"summary":"Avoid countries and FIRs"},"FlightTimeBasicWithAircraftTailNumber":{"value":{"departure_airport":"EVRA","arrival_airport":"EGSS","aircraft":"Challenger 850","aircraft_tail_number":"OH-WIX","pax":2,"airway_time":true},"summary":"Flight time basic with aircraft tail number"},"TimeDistanceFuelIFR":{"value":{"departure_airport":"EVRA","arrival_airport":"EGSS","aircraft":"Embraer Legacy 650","pax":2,"airway_time":true,"airway_fuel":true,"airway_distance":true,"ifr_route":true},"summary":"Time, distance, fuel & IFR"},"ArrivalTime":{"value":{"departure_airport":"EVRA","arrival_airport":"EGSS","aircraft":"Embraer Legacy 650","pax":2,"departure_datetime":"2020-10-28T12:00","airway_time":true,"arrival_datetime":true},"summary":"Arrival time"},"AVGSpeedEstimateOfFlightTime":{"value":{"departure_airport":"EVRA","arrival_airport":"EGSS","aircraft":"Embraer Legacy 650","average_speed_time":true},"summary":"AVG speed estimate of flight time"},"Time&FuelWithWindImpact":{"value":{"departure_airport":"EVRA","arrival_airport":"EGSS","aircraft":"Embraer Legacy 650","pax":2,"airway_time_weather_impacted":true,"airway_fuel_weather_impacted":true},"summary":"Time & fuel with wind impact"},"DirectFlightByCoords":{"value":{"departure_airport":"39.78 -104.53","arrival_airport":"8.45 48.56","aircraft":"Global 7500","great_circle_time":true,"great_circle_route":true},"summary":"Direct flight by coords"},"AllAvailableFeatures":{"value":{"departure_airport":"EVRA","arrival_airport":"LUKK","aircraft":"Embraer Legacy 650","departure_datetime":"2020-12-28T12:00","pax":2,"arrival_datetime":true,"great_circle_route":true,"great_circle_distance":true,"great_circle_time":true,"great_circle_fuel":true,"average_speed_time":true,"airway_route":true,"airway_time":true,"airway_distance":true,"airway_time_weather_impacted":true,"airway_fuel_weather_impacted":true,"airway_fuel":true,"airway_fuel_weather_impacted_detailed":true,"airway_fuel_detailed":true,"great_circle_fuel_detailed":true,"advise_techstops":true,"ifr_route":true,"avoid_countries":["Belarus","Ukraine"],"avoid_firs":["LCCC","XX02"],"etops":"ETOPS60","tag":"comment","aircraft_degradation":2.3,"aircraft_oew":10000,"aircraft_mtow":20000,"aircraft_zfw":15000,"aircraft_max_fuel":10000,"aircraft_taxi_fuel":10,"aircraft_alternate_fuel":10,"aircraft_holding_fuel":10,"aircraft_contingency_fuel":10,"aircraft_extra_fuel":10,"aircraft_custom_payload":200,"great_circle_carbon_emissions":true,"airway_carbon_emissions":true,"airway_carbon_emissions_weather_impacted":true,"aircraft_mlw":20000,"aircraft_mzfw":17000,"crossed_firs":true,"crossed_countries":true},"summary":"All available features"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlightCalculatorResponse"},"examples":{"FlightTimeBasicWithAircraftTailNumber":{"value":{"time":{"airway":83},"airport":{"arrival_airport":"EGSS","departure_airport":"EVRA"},"aircraft":"Embraer Legacy 650"},"summary":"Flight time basic with aircraft tail number"},"FlightTimeBasic":{"value":{"time":{"airway":159},"airport":{"arrival_airport":"EGSS","departure_airport":"EVRA"},"aircraft":"Challenger 850"},"summary":"Flight time basic"},"Time,Distance,Fuel&IFR":{"value":{"fuel":{"airway":1095},"time":{"airway":83},"route":{"ifr_route":["EVRA","SORES","N123A","SAKTA","N123A","ALMIK","N123A","IGORO","N123A","ATMED","N123A","SONUN","N123A","SUDER","N123A","BOMGI","N123A","TU","N123A","BAKNA","EGSS"]},"airport":{"arrival_airport":"EGSS","departure_airport":"EVRA"},"aircraft":"Embraer Legacy 650","distance":{"airway":849.07}},"summary":"Time, distance, fuel & IFR"},"ArrivalTime":{"value":{"time":{"average_speed":62},"airport":{"arrival_airport":"EGSS","departure_airport":"EVRA"},"aircraft":"Embraer Legacy 650"},"summary":"Arrival time"},"Time&FuelWithWindImpact":{"value":{"fuel":{"airway_weather_impacted":1077},"time":{"airway_weather_impacted":81},"airport":{"arrival_airport":"EGSS","departure_airport":"EVRA"},"aircraft":"Embraer Legacy 650"},"summary":"Time & fuel with wind impact"},"DirectFlightByCoords":{"value":{"time":{"great_circle":null},"route":{"crossed_firs":["EVRR","EYVL","LUUU","LRBB","EPWW","LHCC","LZBB"],"crossed_countries":["HU","LT","LV","MD","PL","RO","SK"],"great_circle":[{"la":39.779998779296875,"lo":-104.52999877929688},{"la":40.8962,"lo":-103.5596},{"la":42.0038,"lo":-102.5562},{"la":43.1021,"lo":-101.5175},{"la":44.1904,"lo":-100.4412},{"la":45.268,"lo":-99.3247},{"la":46.334,"lo":-98.1654},{"la":47.3876,"lo":-96.9604},{"la":48.4278,"lo":-95.7068},{"la":49.4536,"lo":-94.4013},{"la":50.4639,"lo":-93.0406},{"la":51.4574,"lo":-91.6211},{"la":52.4328,"lo":-90.1392},{"la":53.3887,"lo":-88.5911},{"la":54.3234,"lo":-86.9728},{"la":55.2353,"lo":-85.2804},{"la":56.1225,"lo":-83.5099},{"la":56.983,"lo":-81.6572},{"la":57.8147,"lo":-79.7186},{"la":58.6153,"lo":-77.6904},{"la":59.3823,"lo":-75.5693},{"la":60.1132,"lo":-73.3526},{"la":60.8052,"lo":-71.0382},{"la":61.4556,"lo":-68.6248},{"la":62.0614,"lo":-66.1123},{"la":62.6197,"lo":-63.5019},{"la":63.1275,"lo":-60.7962},{"la":63.5819,"lo":-57.9994},{"la":63.9801,"lo":-55.1177},{"la":64.3195,"lo":-52.1592},{"la":64.5977,"lo":-49.1337},{"la":64.8128,"lo":-46.053},{"la":64.963,"lo":-42.9303},{"la":65.0473,"lo":-39.7801},{"la":65.0649,"lo":-36.6179},{"la":65.0157,"lo":-33.4594},{"la":64.9001,"lo":-30.3203},{"la":64.7191,"lo":-27.2157},{"la":64.474,"lo":-24.1595},{"la":64.1666,"lo":-21.1643},{"la":63.7991,"lo":-18.241},{"la":63.374,"lo":-15.3986},{"la":62.894,"lo":-12.6442},{"la":62.362,"lo":-9.9831},{"la":61.7809,"lo":-7.4187},{"la":61.1537,"lo":-4.953},{"la":60.4833,"lo":-2.5865},{"la":59.7726,"lo":-0.3185},{"la":59.0243,"lo":1.8527},{"la":58.2411,"lo":3.9295},{"la":57.4255,"lo":5.915},{"la":56.5799,"lo":7.8125},{"la":55.7065,"lo":9.6259},{"la":54.8074,"lo":11.359},{"la":53.8845,"lo":13.0158},{"la":52.9396,"lo":14.6004},{"la":51.9743,"lo":16.1167},{"la":50.9901,"lo":17.5686},{"la":49.9885,"lo":18.9599},{"la":48.9707,"lo":20.2941},{"la":47.9379,"lo":21.5747},{"la":46.8912,"lo":22.8049},{"la":45.8316,"lo":23.9879},{"la":44.76,"lo":25.1266},{"la":43.6773,"lo":26.2238},{"la":42.5842,"lo":27.282},{"la":41.4815,"lo":28.3037},{"la":40.3698,"lo":29.2912},{"la":39.2497,"lo":30.2467},{"la":38.1218,"lo":31.1721},{"la":36.9866,"lo":32.0694},{"la":35.8446,"lo":32.9403},{"la":34.6962,"lo":33.7866},{"la":33.5419,"lo":34.6097},{"la":32.3821,"lo":35.4112},{"la":31.2171,"lo":36.1924},{"la":30.0472,"lo":36.9546},{"la":28.8728,"lo":37.6991},{"la":27.6942,"lo":38.427},{"la":26.5116,"lo":39.1394},{"la":25.3254,"lo":39.8374},{"la":24.1357,"lo":40.5219},{"la":22.9428,"lo":41.1938},{"la":21.747,"lo":41.854},{"la":20.5484,"lo":42.5034},{"la":19.3472,"lo":43.1427},{"la":18.1437,"lo":43.7727},{"la":16.938,"lo":44.3941},{"la":15.7303,"lo":45.0077},{"la":14.5207,"lo":45.614},{"la":13.3095,"lo":46.2138},{"la":12.0967,"lo":46.8077},{"la":10.8826,"lo":47.3962},{"la":9.6673,"lo":47.98},{"la":8.449999809265137,"lo":48.560001373291016}]},"airway_carbon_emissions":6047,"great_circle_carbon_emissions":5217,"airway_carbon_emissions_weather_impacted":6087,"errors":[{"code":1001,"message":"This aircraft profile is under construction. Please try another aircraft"}],"airport":{"arrival_airport":null,"departure_airport":null},"aircraft":"Global 7500"},"summary":"Direct flight by coords"},"FullResponse":{"value":{"fuel":{"airway":1920,"airway_block":1960,"great_circle":1656,"airway_detailed":[{"weight":16949.634,"distance":0,"duration":5,"fuel_used":5.115,"operation":"taxi","final_altitude":0},{"weight":16944.519,"distance":174.088,"duration":16,"fuel_used":425.045,"operation":"climb","final_altitude":11887},{"weight":16519.474,"distance":19.268,"duration":2.329,"fuel_used":40.638,"operation":"cruise","final_altitude":11887},{"weight":16478.836,"distance":100,"duration":7.184,"fuel_used":112.498,"operation":"cruise","final_altitude":11887},{"weight":16366.338,"distance":800,"duration":57.216,"fuel_used":898.224,"operation":"cruise","final_altitude":11887},{"weight":15468.111,"distance":300,"duration":21.36,"fuel_used":336.018,"operation":"cruise","final_altitude":11887},{"weight":15132.096,"distance":162.976,"duration":15,"fuel_used":96.981,"operation":"descent","final_altitude":0},{"weight":15035.115,"distance":0,"duration":5,"fuel_used":5.115,"operation":"taxi","final_altitude":0}],"great_circle_block":1696,"great_circle_detailed":[{"weight":16686.039,"distance":0,"duration":5,"fuel_used":5.115,"operation":"taxi","final_altitude":0},{"weight":16680.924,"distance":129.64,"duration":12,"fuel_used":348.017,"operation":"climb","final_altitude":10668},{"weight":16332.907,"distance":44.045,"duration":5.324,"fuel_used":92.897,"operation":"cruise","final_altitude":10668},{"weight":16240.011,"distance":600,"duration":42.168,"fuel_used":790.14,"operation":"cruise","final_altitude":10668},{"weight":15449.875,"distance":250,"duration":17.57,"fuel_used":324.74,"operation":"cruise","final_altitude":10668},{"weight":15125.135,"distance":138.9,"duration":13,"fuel_used":90.02,"operation":"descent","final_altitude":0},{"weight":15035.115,"distance":0,"duration":5,"fuel_used":5.115,"operation":"taxi","final_altitude":0}],"airway_weather_impacted":1932,"airway_weather_impacted_block":1972,"airway_weather_impacted_detailed":[{"weight":16962.455,"distance":0,"duration":5,"fuel_used":5.115,"operation":"taxi","final_altitude":0},{"weight":16957.34,"distance":174.088,"duration":16,"fuel_used":425.045,"operation":"climb","final_altitude":11887},{"weight":16532.296,"distance":19.268,"duration":2.329,"fuel_used":40.638,"operation":"cruise","final_altitude":11887},{"weight":16491.657,"distance":150,"duration":9.919,"fuel_used":155.354,"operation":"cruise","final_altitude":11887},{"weight":16336.303,"distance":800,"duration":57.976,"fuel_used":910.176,"operation":"cruise","final_altitude":11887},{"weight":15426.126,"distance":250,"duration":18.692,"fuel_used":294.032,"operation":"cruise","final_altitude":11887},{"weight":15132.096,"distance":162.976,"duration":15,"fuel_used":96.981,"operation":"descent","final_altitude":0},{"weight":15035.115,"distance":0,"duration":5,"fuel_used":5.115,"operation":"taxi","final_altitude":0}]},"time":{"airway":129,"great_circle":100,"average_speed":87,"departure_local":"2020-12-28T12:00:00","arrival_local_airway":"2020-12-28T14:09:00","airway_weather_impacted":130,"arrival_local_great_circle":"2020-12-28T14:09:00","arrival_local_average_speed":"2020-12-28T12:01:26.585617","arrival_local_airway_weather_impacted":"2020-12-28T14:10:00"},"route":{"airway":[{"la":56.9236,"lo":23.9711},{"la":56.3714,"lo":23.7556},{"la":55.4383,"lo":23.41},{"la":54.8697,"lo":23.2081},{"la":54.3075,"lo":23.0592},{"la":54.0697,"lo":22.9003},{"la":53.7769,"lo":22.7892},{"la":53.2569,"lo":22.5956},{"la":52.7711,"lo":22.4189},{"la":52.4258,"lo":22.2958},{"la":52.1553,"lo":22.2008},{"la":51.8092,"lo":22.0986},{"la":51.6106,"lo":22.0408},{"la":51.4167,"lo":21.9847},{"la":51.1489,"lo":21.9106},{"la":51.0428,"lo":21.8808},{"la":50.6167,"lo":21.7625},{"la":49.4128,"lo":21.4392},{"la":48.6045,"lo":21.9487},{"la":47.7939,"lo":22.4422},{"la":47.1203,"lo":25.4786},{"la":46.9778,"lo":26.0536},{"la":46.8761,"lo":27.2033},{"la":46.8397,"lo":27.5842},{"la":46.8256,"lo":27.7289},{"la":46.9277,"lo":28.9309}],"ifr_route":["EVRA","GUNTA","T884","INBOV","T884","VAKAL","T884","BOKSU","T888","SUWGI","T888","NORNO","T888","UNPEG","T888","BULEP","T888","XESNA","T888","GERVI","T888","VAXUR","T888","SUMAM","T888","EGLON","T888","VENES","T888","LODBO","T888","OBOSO","T888","PODAN","DCT","49N022E","DCT","KARIL","T277","BUKUR","T277","UDSIG","Q18","TEVSA","Q18","ULGAP","Q18","PIRIG","LUKK"],"great_circle":[{"la":56.9236,"lo":23.9711},{"la":55.8251,"lo":24.6436},{"la":54.723,"lo":25.2792},{"la":53.6175,"lo":25.8811},{"la":52.5089,"lo":26.4523},{"la":51.3975,"lo":26.9955},{"la":50.2835,"lo":27.5129},{"la":49.1671,"lo":28.0067},{"la":48.0484,"lo":28.4788},{"la":46.9277,"lo":28.9309}]},"airport":{"arrival_airport":"LUKK","departure_airport":"EVRA"},"aircraft":"Embraer Legacy 650","distance":{"airway":1556.332,"great_circle":1162.585}},"summary":"Full Response","description":"All fields response example"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleErrorResponse"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}},"/v3/price_calculator/":{"post":{"operationId":"price_calculator_create","description":"Endpoint to retrieve price calculations based on flight data.","summary":"Price Calculator","tags":["price_calculator"],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceCalculatorRequest"},"examples":{"PriceCalculator":{"value":{"aircraft":"Challenger 604","flights":[{"departure_airport":"EVRA","arrival_airport":"LUKK","flight_time":90},{"departure_airport":"LUKK","arrival_airport":"EVRA","flight_time":80}]},"summary":"Basic Price Calculation"},"PriceCalculationsWithCurrency,AircraftId,QuoteDate":{"value":{"aircraft":"Challenger 604","aircraft_id":906,"currency":"EUR","quote_date":"2025-01-01T12:30","flights":[{"departure_airport":"EVRA","arrival_airport":"LUKK","flight_time":90},{"departure_airport":"LUKK","arrival_airport":"EVRA","flight_time":80}]},"summary":"Currency, aircraft id, quote date"},"PriceCalculationWithPriceProfile,UseSchedule,ReturnPolicy,IncludeFerry":{"value":{"aircraft":"Challenger 604","aircraft_id":906,"price_profile":"Simple","use_schedule":true,"currency":"EUR","return_policy":"homebase","include_ferry":true,"flights":[{"departure_airport":"EVRA","arrival_airport":"LUKK","flight_time":90,"luggage_kg":100,"pax":2,"flight_time_minutes":90},{"departure_airport":"LUKK","arrival_airport":"EVRA","flight_time":80,"luggage_kg":40,"pax":5,"flight_time_minutes":80}]},"summary":"Price profile, use_schedule, return_policy, include_ferry, flight include luggage, flight time"},"PriceCalculationWithAllAvailableFeatures":{"value":{"aircraft":"OH-WIX","aircraft_id":906,"aircraft_profile_id":911,"quote_date_utc":"2025-01-01T12:30","price_profile":"Simple","use_schedule":true,"currency":"USD","return_policy":"homebase","include_ferry":true,"flights":[{"departure_airport":"LOWW","arrival_airport":"LOWI","pax":0,"departure_datetime_utc":"2024-07-30T07:00","flight_time_minutes":30,"flight_distance_km":403,"is_ferry":true,"to_fuel_stop":false,"crossed_countries":["AT"],"luggage_kg":0,"ground_air_temperature_celsius":13,"arrival_runway_visibility":"high"},{"departure_airport":"LOWI","arrival_airport":"LSGG","pax":3,"departure_datetime_utc":"2024-07-30T12:00","flight_time_minutes":90,"flight_distance_km":416,"is_ferry":false,"to_fuel_stop":false,"crossed_countries":["AT","CH"],"luggage_kg":100,"ground_air_temperature_celsius":16,"arrival_runway_visibility":"medium"}]},"summary":"All available features"}}}},"required":true},"security":[{"tokenAuth":[]}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceCalculatorResponse"},"examples":{"PriceCalculator":{"value":{"price":6944.0285,"operations":[{"name":"Startup","amount":500.2354},{"name":"Takeoff","amount":500.3465},{"name":"Taxi short price per hour","amount":1599.5645},{"name":"Landing","amount":1999.6545},{"name":"Takeoff","amount":2344.2276}]},"summary":"Basic Price Calculation"}}}},"description":""},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidationErrorResponse"}}},"description":""},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThrottleErrorResponse"},"examples":{"ThrottledMonthlyAPILimits":{"value":{"detail":"Request was throttled. Monthly API limit exceeded"},"summary":"Throttled monthly API limits"},"ThrottledLimitsPeerMinute":{"value":{"detail":"Request was throttled. Expected available in 60 seconds."},"summary":"Throttled limits peer minute"}}}},"description":""}}}}},"components":{"schemas":{"AccountToken":{"type":"object","properties":{"token":{"type":"string","readOnly":true},"name":{"type":"string","pattern":"^[-a-zA-Z0-9_]+$"},"created_at":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"is_active":{"type":"boolean","default":true}},"required":["created_at","name","token"]},"AircraftClassMain":{"type":"object","properties":{"aircraft_class_id":{"type":"integer"},"name":{"type":"string","title":"Aircraft category","maxLength":100},"priority":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true}},"required":["aircraft_class_id","name"]},"AircraftCompany":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"phone":{"type":"string","nullable":true,"maxLength":100},"fax":{"type":"string","nullable":true,"maxLength":100},"website":{"type":"string","format":"uri","nullable":true,"maxLength":100},"address":{"type":"string","nullable":true,"maxLength":200},"is_operator":{"type":"boolean"},"is_broker":{"type":"boolean"},"is_fbo":{"type":"boolean"},"is_mro":{"type":"boolean"},"is_catering":{"type":"boolean"},"is_handling":{"type":"boolean"},"is_fuel_supply":{"type":"boolean"},"is_aircraft_dealer":{"type":"boolean"},"is_manufacturer":{"type":"boolean"},"is_flight_support":{"type":"boolean"},"slug":{"type":"string","maxLength":200},"city":{"allOf":[{"$ref":"#/components/schemas/CharterCompanyCity"}],"readOnly":true,"nullable":true},"contact_email":{"type":"string","format":"email","nullable":true}},"required":["city","id","name","slug"]},"AircraftImage":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"image_type":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/ImageTypeEnum"},{"$ref":"#/components/schemas/NullEnum"}]}},"required":["image_type","url"]},"AircraftMediaAttachment":{"type":"object","properties":{"position":{"type":"integer","maximum":32767,"minimum":0},"display_name":{"type":"string"},"media":{"allOf":[{"$ref":"#/components/schemas/AttachmentMedia"}],"readOnly":true,"nullable":true}},"required":["display_name","media","position"]},"AircraftMediaImage":{"type":"object","properties":{"position":{"type":"integer","maximum":32767,"minimum":0},"media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true},"tag":{"allOf":[{"$ref":"#/components/schemas/ImageTag"}],"readOnly":true,"nullable":true}},"required":["media","position","tag"]},"AircraftProfileMain":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"cruise_speeds":{"type":"array","items":{"type":"string"},"nullable":true},"range_thresholds":{"type":"array","items":{"type":"number","format":"double"},"nullable":true},"owe":{"type":"number","format":"double","nullable":true},"mtow":{"type":"number","format":"double","nullable":true},"mlw":{"type":"number","format":"double","nullable":true},"mzfw":{"type":"number","format":"double","nullable":true},"max_fuel":{"type":"number","format":"double","nullable":true},"holding_fuel":{"type":"number","format":"double","nullable":true},"alternate_fuel":{"type":"number","format":"double","nullable":true},"taxi_fuel":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"etops":{"type":"string","nullable":true},"optimal_flight_levels":{"type":"array","items":{"type":"number","format":"double"},"nullable":true},"flight_levels":{"type":"string","readOnly":true},"is_custom":{"type":"boolean","readOnly":true},"performance":{"type":"boolean","readOnly":true},"aircraft_type_name":{"type":"string","description":"Use aircraft_type.name instead","deprecated":true},"aircraft_type_icao":{"type":"string","description":"Use aircraft_type.icao instead","deprecated":true},"aircraft_profile_id":{"type":"integer","description":"Use id instead","deprecated":true},"aircraft_type":{"allOf":[{"$ref":"#/components/schemas/AircraftProfileType"}],"readOnly":true,"nullable":true}},"required":["aircraft_profile_id","aircraft_type","aircraft_type_icao","aircraft_type_name","flight_levels","id","is_custom","name","performance"]},"AircraftProfileType":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"icao":{"type":"string","nullable":true,"maxLength":4}},"required":["id","name"]},"AircraftType":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"aircraft_type_id":{"type":"integer","description":"Deprecated use id instead","deprecated":true},"name":{"type":"string","maxLength":200},"icao":{"type":"string","nullable":true,"maxLength":4},"class_name":{"type":"string","description":"Deprecated use aircraft_class.name instead","deprecated":true},"manufacturer_name":{"type":"string","description":"Deprecated use aircraft_type_global_family.name instead","deprecated":true},"aircraft_class":{"allOf":[{"$ref":"#/components/schemas/AircraftTypeClass"}],"readOnly":true,"nullable":true},"range_maximum":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true,"description":"Maximum range, km"},"altitude":{"type":"number","format":"double","nullable":true,"description":"Maximum altitude, m"},"pax_maximum":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true},"cabin_height":{"type":"number","format":"double","nullable":true,"description":"Cabin height, m"},"cabin_length":{"type":"number","format":"double","nullable":true,"description":"Cabin length, m"},"cabin_width":{"type":"number","format":"double","nullable":true,"description":"Cabin width, m"},"slug":{"type":"string","nullable":true,"maxLength":200},"luggage_volume":{"type":"number","format":"double","nullable":true,"description":"Luggage volume, m3"},"aircraft_type_global_family":{"allOf":[{"$ref":"#/components/schemas/AircraftTypeGlobalFamily"}],"readOnly":true,"nullable":true,"description":"Manufacturer"},"images":{"type":"array","items":{"$ref":"#/components/schemas/AircraftTypeMediaImage"},"readOnly":true,"nullable":true},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/AircraftTypeMediaAttachment"},"readOnly":true,"nullable":true},"aircraft_type_extension":{"allOf":[{"$ref":"#/components/schemas/AircraftTypeExtension"}],"readOnly":true},"engine_type":{"allOf":[{"$ref":"#/components/schemas/AircraftTypeParameter"}],"readOnly":true,"nullable":true},"engine_count":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true},"speed_typical":{"type":"number","format":"double","nullable":true}},"required":["aircraft_class","aircraft_type_extension","aircraft_type_global_family","aircraft_type_id","attachments","class_name","engine_type","id","images","manufacturer_name","name"]},"AircraftTypeClass":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","title":"Aircraft category","maxLength":100}},"required":["id","name"]},"AircraftTypeExtension":{"type":"object","properties":{"description":{"type":"string"},"range_ferry":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true},"range_typical_payload":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true},"range_max_payload":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true}},"required":["description"]},"AircraftTypeGlobalFamily":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200}},"required":["id","name"]},"AircraftTypeMediaAttachment":{"type":"object","properties":{"media":{"allOf":[{"$ref":"#/components/schemas/AttachmentMedia"}],"readOnly":true,"nullable":true},"position":{"type":"integer","maximum":32767,"minimum":0},"display_name":{"type":"string"}},"required":["display_name","media","position"]},"AircraftTypeMediaImage":{"type":"object","properties":{"position":{"type":"integer","maximum":32767,"minimum":0},"media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true}},"required":["media","position"]},"AircraftTypeParameter":{"type":"object","properties":{"value":{"type":"string","nullable":true,"maxLength":300},"description":{"type":"string","nullable":true,"maxLength":5000}}},"Airport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"pcn":{"type":"string","nullable":true,"description":"Pavement Classification Number","maxLength":10},"name":{"type":"string","maxLength":500},"time_zone":{"type":"string","nullable":true,"maxLength":50},"lid":{"type":"string","nullable":true,"description":"Local Identifier","maxLength":5},"email":{"type":"string","format":"email","nullable":true,"maxLength":254},"latitude":{"type":"number","format":"double","nullable":true},"longitude":{"type":"number","format":"double","nullable":true},"tower_hours":{"type":"string","nullable":true,"maxLength":200},"phone":{"type":"string","nullable":true,"maxLength":100},"fax":{"type":"string","nullable":true,"maxLength":100},"website":{"type":"string","format":"uri","nullable":true,"maxLength":200},"icao":{"type":"string","nullable":true,"maxLength":4},"iata":{"type":"string","nullable":true,"maxLength":3},"slug":{"type":"string","nullable":true,"maxLength":200},"country":{"allOf":[{"$ref":"#/components/schemas/AirportCountry"}],"readOnly":true,"nullable":true},"airport_id":{"type":"integer","description":"Deprecated use id instead","deprecated":true},"city_name":{"type":"string","nullable":true,"description":"Deprecated use city.name instead","deprecated":true},"sunset":{"type":"string","format":"time","readOnly":true,"nullable":true,"description":"Sunset time \"on_date\" query param required"},"time_shift":{"type":"string","nullable":true,"readOnly":true,"description":"UTC offset"},"city":{"allOf":[{"$ref":"#/components/schemas/AirportCity"}],"readOnly":true,"nullable":true},"sunrise":{"type":"string","format":"time","readOnly":true,"nullable":true,"description":"Sunrise time \"on_date\" query param required"},"country_name":{"type":"string","nullable":true,"description":"Deprecated use country.name instead","deprecated":true},"runways":{"type":"array","items":{"$ref":"#/components/schemas/Runway"},"nullable":true}},"required":["airport_id","city","city_name","country","country_name","id","name","sunrise","sunset","time_shift"]},"AirportCity":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200}},"required":["id","name"]},"AirportCountry":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":500},"iso_alpha3":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-3","maxLength":3},"iso_alpha2":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-2","maxLength":3}},"required":["id","name"]},"AttachmentMedia":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"path":{"type":"string","format":"uri","readOnly":true}},"required":["id","path"]},"Availability":{"type":"object","description":"Availability serializer with deprecated fields support","properties":{"id":{"type":"integer","readOnly":true},"registration_number":{"type":"string","nullable":true,"description":"Aircraft registration number","maxLength":10,"minLength":3},"aircraft_type":{"type":"string","readOnly":true,"nullable":true},"company":{"type":"string","readOnly":true,"nullable":true,"description":"Company name"},"from_date_utc":{"type":"string","format":"date-time","description":"From date available in format \"yyyy-mm-ddThh:mm\""},"to_date_utc":{"type":"string","format":"date-time","description":"To date available in format \"yyyy-mm-ddThh:mm\""},"comment":{"type":"string","nullable":true,"description":"Commentary about availability record","maxLength":100},"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"nullable":true,"description":"Flight price"},"currency_code":{"type":"string","nullable":true,"description":"Price currency (3 digit currency code)","maxLength":3},"dep_airport":{"$ref":"#/components/schemas/ScheduleAirport"},"arr_airport":{"allOf":[{"$ref":"#/components/schemas/ScheduleAirport"}],"nullable":true},"availability_id":{"type":"integer","readOnly":true,"description":"ID of availability record","deprecated":true},"dep_airport_icao":{"type":"string","description":"Departure airport ICAO code","maxLength":4,"minLength":4,"deprecated":true},"arrival_airport_icao":{"type":"string","nullable":true,"description":"Arrival airport ICAO code","maxLength":4,"minLength":4,"deprecated":true}},"required":["aircraft_type","availability_id","company","from_date_utc","id","registration_number","to_date_utc"]},"ChannelsEnum":{"enum":["Email","Leon","Fl3xx","Skylegs"],"type":"string","description":"* `Email` - Email\n* `Leon` - Leon\n* `Fl3xx` - Fl3xx\n* `Skylegs` - Skylegs"},"CharterAircraft":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"passengers_max":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"registration_number":{"type":"string","nullable":true,"maxLength":200},"year_of_production":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"slug":{"type":"string","nullable":true,"maxLength":500,"pattern":"^[-a-zA-Z0-9_]+$"},"serial_number":{"type":"string","nullable":true,"maxLength":200},"is_for_charter":{"type":"boolean","nullable":true},"is_for_sale":{"type":"boolean","nullable":true},"comment":{"type":"string","nullable":true,"maxLength":200},"tech_operator":{"type":"string","nullable":true,"maxLength":200},"is_ambulance":{"type":"boolean","nullable":true},"is_cargo":{"type":"boolean","nullable":true},"aircraft_type":{"allOf":[{"$ref":"#/components/schemas/CharterAircraftType"}],"readOnly":true,"nullable":true},"company":{"allOf":[{"$ref":"#/components/schemas/AircraftCompany"}],"readOnly":true,"nullable":true},"base_airport":{"allOf":[{"$ref":"#/components/schemas/CharterAirport"}],"readOnly":true,"nullable":true},"aircraft_extension":{"allOf":[{"$ref":"#/components/schemas/CharterAircraftExtension"}],"readOnly":true},"images":{"type":"array","items":{"$ref":"#/components/schemas/AircraftMediaImage"},"readOnly":true,"nullable":true},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/AircraftMediaAttachment"},"readOnly":true,"nullable":true}},"required":["aircraft_extension","aircraft_type","attachments","base_airport","company","id","images","serial_number"]},"CharterAircraftClass":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","title":"Aircraft category","maxLength":100}},"required":["id","name"]},"CharterAircraftExtension":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"refurbishment":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"view_360":{"type":"string","format":"uri","nullable":true,"maxLength":200},"cabin_crew":{"type":"boolean","nullable":true},"divan_seats":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"lavatory":{"type":"boolean","nullable":true},"beds":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"hot_meal":{"type":"boolean","nullable":true},"wireless_internet":{"type":"boolean","nullable":true},"entertainment_system":{"type":"boolean","nullable":true},"medical_ramp":{"type":"boolean","nullable":true},"smoking":{"type":"boolean","nullable":true},"description":{"type":"string","nullable":true},"owners_approval_required":{"type":"boolean","nullable":true},"pets_allowed":{"type":"boolean","nullable":true},"domestic_flights_only":{"type":"boolean","nullable":true},"cabin_height":{"type":"string","format":"decimal","pattern":"^-?\\d{0,30}(?:\\.\\d{0,2})?$","nullable":true},"cabin_length":{"type":"string","format":"decimal","pattern":"^-?\\d{0,30}(?:\\.\\d{0,2})?$","nullable":true},"cabin_width":{"type":"string","format":"decimal","pattern":"^-?\\d{0,30}(?:\\.\\d{0,2})?$","nullable":true},"adult_critical_care":{"type":"boolean","nullable":true},"pediatric_critical_care":{"type":"boolean","nullable":true},"shower":{"type":"boolean","nullable":true},"luggage_volume":{"type":"string","format":"decimal","pattern":"^-?\\d{0,30}(?:\\.\\d{0,2})?$","nullable":true,"description":"Luggage volume, m3"},"satellite_phone":{"type":"boolean","nullable":true},"sleeping_places":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"selling_price":{"type":"integer","maximum":2147483647,"minimum":0,"nullable":true},"selling_comment":{"type":"string","nullable":true},"selling_currency":{"allOf":[{"$ref":"#/components/schemas/Currency"}],"readOnly":true,"nullable":true}},"required":["id","selling_currency"]},"CharterAircraftType":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"icao":{"type":"string","nullable":true,"maxLength":4},"aircraft_class":{"allOf":[{"$ref":"#/components/schemas/CharterAircraftClass"}],"readOnly":true,"nullable":true}},"required":["aircraft_class","id","name"]},"CharterAirport":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":500},"latitude":{"type":"number","format":"double","nullable":true},"longitude":{"type":"number","format":"double","nullable":true},"iata":{"type":"string","nullable":true,"maxLength":3},"icao":{"type":"string","nullable":true,"maxLength":4},"lid":{"type":"string","nullable":true,"description":"Local Identifier","maxLength":5},"city":{"allOf":[{"$ref":"#/components/schemas/CharterCity"}],"readOnly":true,"nullable":true},"country":{"allOf":[{"$ref":"#/components/schemas/CharterCountry"}],"readOnly":true,"nullable":true}},"required":["city","country","id","name"]},"CharterCity":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200}},"required":["id","name"]},"CharterCompany":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"phone":{"type":"string","nullable":true,"maxLength":100},"fax":{"type":"string","nullable":true,"maxLength":100},"website":{"type":"string","format":"uri","nullable":true,"maxLength":100},"address":{"type":"string","nullable":true,"maxLength":200},"city":{"allOf":[{"$ref":"#/components/schemas/CharterCompanyCity"}],"readOnly":true,"nullable":true},"contact_email":{"type":"string","format":"email","nullable":true},"company_extension":{"allOf":[{"$ref":"#/components/schemas/CharterCompanyExtension"}],"readOnly":true},"is_operator":{"type":"boolean"},"is_broker":{"type":"boolean"},"is_fbo":{"type":"boolean"},"is_mro":{"type":"boolean"},"is_catering":{"type":"boolean"},"is_handling":{"type":"boolean"},"is_fuel_supply":{"type":"boolean"},"is_aircraft_dealer":{"type":"boolean"},"is_manufacturer":{"type":"boolean"},"is_flight_support":{"type":"boolean"},"slug":{"type":"string","maxLength":200}},"required":["city","company_extension","id","name","slug"]},"CharterCompanyCity":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"City identifier"},"name":{"type":"string","description":"City name","maxLength":200},"country":{"allOf":[{"$ref":"#/components/schemas/CharterCompanyCountry"}],"readOnly":true}},"required":["country","id","name"]},"CharterCompanyCountry":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":500},"iso_alpha3":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-3","maxLength":3},"iso_alpha2":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-2","maxLength":3}},"required":["id","name"]},"CharterCompanyExtension":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"description":{"type":"string"},"established_at":{"type":"integer","maximum":2147483647,"minimum":-2147483648,"nullable":true},"facebook":{"type":"string","format":"uri","nullable":true,"maxLength":255},"twitter":{"type":"string","format":"uri","nullable":true,"maxLength":255},"linkedin":{"type":"string","format":"uri","nullable":true,"maxLength":255},"whatsapp":{"type":"string","format":"uri","nullable":true,"maxLength":255},"telegram":{"type":"string","format":"uri","nullable":true,"maxLength":255},"instagram":{"type":"string","format":"uri","nullable":true,"maxLength":255},"avg_response_rate":{"type":"number","format":"double","nullable":true},"avg_response_time":{"type":"number","format":"double","nullable":true},"is_pro":{"type":"boolean"},"logo_media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true}},"required":["description","id","logo_media"]},"CharterCountry":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":500},"iso_alpha3":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-3","maxLength":3},"iso_alpha2":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-2","maxLength":3}},"required":["id","name"]},"CharterPrice":{"type":"object","properties":{"legs":{"type":"array","items":{"$ref":"#/components/schemas/SearchFlightLeg"}},"aircraft":{"type":"array","items":{"$ref":"#/components/schemas/SearchAircraft"}},"currency_code":{"type":"string","nullable":true,"description":"Currency (3 digit currency code)","maxLength":3},"range":{"type":"boolean","default":false,"description":"Show price range"}}},"CharterPriceResponse":{"type":"object","properties":{"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"readOnly":true,"nullable":true},"currency_code":{"type":"string","nullable":true,"description":"Currency (3 digit currency code)","maxLength":3},"price_min":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"readOnly":true,"nullable":true,"description":"Minimum price. Available if range is true in request"},"price_max":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"readOnly":true,"nullable":true,"description":"Maximum price. Available if range is true in request"}},"required":["price","price_max","price_min"]},"CharterSearchAircraftAircraftResponse":{"type":"object","properties":{"id":{"type":"integer","minimum":0},"slug":{"type":"string","pattern":"^[-a-zA-Z0-9_]+$"},"images":{"type":"array","items":{"$ref":"#/components/schemas/AircraftImage"}},"company":{"allOf":[{"$ref":"#/components/schemas/CharterSearchAircraftCompanyResponse"}],"nullable":true},"aircraft_type":{"type":"string","maxLength":200},"passengers_max":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"year_of_production":{"type":"integer","maximum":9999,"minimum":0},"registration_number":{"type":"string","maxLength":16}},"required":["aircraft_type","company","id","registration_number","slug","year_of_production"]},"CharterSearchAircraftCompanyResponse":{"type":"object","properties":{"id":{"type":"integer","minimum":0},"name":{"type":"string","maxLength":200},"slug":{"type":"string","pattern":"^[-\\w]+$"},"logo_path":{"type":"string","format":"uri","nullable":true}},"required":["id","name","slug"]},"CharterSearchAircraftResponse":{"type":"object","properties":{"aircraft":{"type":"array","items":{"$ref":"#/components/schemas/CharterSearchAircraftAircraftResponse"},"nullable":true}},"required":["aircraft"]},"CharterSearchCountry":{"type":"object","properties":{"country_id":{"type":"integer"},"name":{"type":"string","maxLength":200},"iso_alpha2":{"type":"string","maxLength":2,"minLength":2},"iso_alpha3":{"type":"string","maxLength":3,"minLength":3}}},"CharterSearchRequest":{"type":"object","properties":{"legs":{"type":"array","items":{"$ref":"#/components/schemas/SearchFlightLeg"}},"aircraft":{"type":"array","items":{"$ref":"#/components/schemas/SearchAircraft"}},"companies":{"type":"array","items":{"$ref":"#/components/schemas/SearchRequestedCompany"}},"sorting":{"$ref":"#/components/schemas/SearchSorting"},"year_of_production_gte":{"type":"integer"},"year_of_production_lte":{"type":"integer"},"refurbished_gte":{"type":"integer"},"sleeping_places_gte":{"type":"integer"},"luggage_volume_gte":{"type":"number","format":"double"},"cabin_crew":{"type":"boolean","default":false},"entertainment_system":{"type":"boolean","default":false},"hot_meal":{"type":"boolean","default":false},"lavatory":{"type":"boolean","default":false},"adult_critical_care":{"type":"boolean","default":false},"pediatric_critical_care":{"type":"boolean","default":false},"wireless_internet":{"type":"boolean","default":false},"shower":{"type":"boolean","default":false},"smoking":{"type":"boolean","default":false},"satellite_phone":{"type":"boolean","default":false},"medical_ramp":{"type":"boolean","default":false},"pets_allowed":{"type":"boolean","default":false},"is_ambulance":{"type":"boolean","default":false},"allow_techstop":{"type":"boolean","default":false},"empty_legs":{"type":"boolean","default":false},"aircraft_location":{"type":"boolean","default":false},"ip":{"type":"string"},"operator_origin_countries":{"type":"array","items":{"$ref":"#/components/schemas/CharterSearchCountry"}}}},"CharterSearchResponse":{"type":"object","properties":{"companies":{"type":"array","items":{"$ref":"#/components/schemas/SearchResponseCompany"},"nullable":true}},"required":["companies"]},"City":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"city_id":{"type":"integer","readOnly":true,"description":"Deprecated use id instead","deprecated":true},"name":{"type":"string","maxLength":200},"latitude":{"type":"number","format":"double","nullable":true},"longitude":{"type":"number","format":"double","nullable":true},"country_name":{"type":"string","readOnly":true,"nullable":true,"description":"Deprecated use country.name instead","deprecated":true},"country":{"allOf":[{"$ref":"#/components/schemas/Country"}],"readOnly":true,"nullable":true}},"required":["city_id","country","country_name","id","name"]},"CompanyExtension":{"type":"object","properties":{"avg_response_rate":{"type":"number","format":"double","readOnly":true,"nullable":true,"description":"operator's response to quote ratio"},"avg_response_time":{"type":"number","format":"double","readOnly":true,"nullable":true,"description":"operator's average response time in minutes"},"aviapages_validation":{"type":"boolean","nullable":true,"description":"Company is verified and validated by Aviapages"}},"required":["avg_response_rate","avg_response_time"]},"Country":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"country_id":{"type":"integer","deprecated":true},"name":{"type":"string","maxLength":500},"iso_alpha3":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-3","maxLength":3},"iso_alpha2":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-2","maxLength":3}},"required":["country_id","id","name"]},"Currency":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":100},"alfa_3":{"type":"string","maxLength":3}},"required":["alfa_3","id","name"]},"EmptyLeg":{"type":"object","description":"Empty Leg serializer without deprecated fields","properties":{"id":{"type":"integer","readOnly":true},"registration_number":{"type":"string","nullable":true,"description":"Aircraft registration number","maxLength":10,"minLength":3},"aircraft_type":{"type":"string","readOnly":true,"nullable":true},"company":{"type":"string","readOnly":true,"nullable":true,"description":"Company name"},"from_date_utc":{"type":"string","format":"date-time","description":"From date available in format \"yyyy-mm-ddThh:mm\""},"to_date_utc":{"type":"string","format":"date-time","description":"To date available in format \"yyyy-mm-ddThh:mm\""},"comment":{"type":"string","nullable":true,"description":"Commentary about availability record","maxLength":100},"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"nullable":true,"description":"Flight price"},"currency_code":{"type":"string","nullable":true,"description":"Price currency (3 digit currency code)","maxLength":3},"dep_airport":{"$ref":"#/components/schemas/ScheduleAirport"},"arr_airport":{"allOf":[{"$ref":"#/components/schemas/ScheduleAirport"}],"nullable":true}},"required":["aircraft_type","company","from_date_utc","id","registration_number","to_date_utc"]},"FBO":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string"},"airport":{"allOf":[{"$ref":"#/components/schemas/CharterAirport"}],"readOnly":true},"company":{"allOf":[{"$ref":"#/components/schemas/FBOCompany"}],"readOnly":true},"latitude":{"type":"number","format":"double","nullable":true},"longitude":{"type":"number","format":"double","nullable":true},"email":{"type":"string","format":"email","nullable":true,"maxLength":254},"phone":{"type":"string","nullable":true,"maxLength":255},"fax":{"type":"string","nullable":true,"maxLength":255},"website":{"type":"string","format":"uri","nullable":true,"maxLength":200},"address":{"type":"string","nullable":true},"frequency":{"type":"string","nullable":true,"maxLength":255},"working_hours":{"type":"string","nullable":true,"maxLength":255},"aftn":{"type":"string","nullable":true,"maxLength":255},"sita":{"type":"string","nullable":true,"maxLength":255},"slug":{"type":"string","nullable":true,"maxLength":50,"pattern":"^[-a-zA-Z0-9_]+$"},"is_active":{"type":"boolean"},"modified_at":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"is_supervision":{"type":"boolean","nullable":true},"fbo_extension":{"allOf":[{"$ref":"#/components/schemas/FBOExtension"}],"readOnly":true},"images":{"type":"array","items":{"$ref":"#/components/schemas/FBOMediaImage"},"readOnly":true,"nullable":true},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/FBOMediaAttachment"},"readOnly":true,"nullable":true}},"required":["airport","attachments","company","fbo_extension","id","images","modified_at","name"]},"FBOCompany":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"phone":{"type":"string","nullable":true,"maxLength":100},"fax":{"type":"string","nullable":true,"maxLength":100},"website":{"type":"string","format":"uri","nullable":true,"maxLength":100},"address":{"type":"string","nullable":true,"maxLength":200},"company_extension":{"allOf":[{"$ref":"#/components/schemas/FBOCompanyExtension"}],"readOnly":true},"slug":{"type":"string","maxLength":200}},"required":["company_extension","id","name","slug"]},"FBOCompanyExtension":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"logo_media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true},"miniature_logo_media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true}},"required":["id","logo_media","miniature_logo_media"]},"FBOExtension":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"executive_lounge":{"type":"boolean","nullable":true},"customs":{"type":"boolean","nullable":true},"conference_room":{"type":"boolean","nullable":true},"wireless_internet":{"type":"boolean","nullable":true},"cafeteria":{"type":"boolean","nullable":true},"vending_machines":{"type":"boolean","nullable":true},"courtesy_car":{"type":"boolean","nullable":true},"shuttle":{"type":"boolean","nullable":true},"car_rental":{"type":"boolean","nullable":true},"taxi_service":{"type":"boolean","nullable":true},"wheelchair_accessible":{"type":"boolean","nullable":true},"restrooms":{"type":"boolean","nullable":true},"hotel_accommodation":{"type":"boolean","nullable":true},"hangar":{"type":"boolean","nullable":true},"aircraft_maintenance":{"type":"boolean","nullable":true},"aircraft_parking":{"type":"boolean","nullable":true},"aircraft_fuel":{"type":"boolean","nullable":true},"aircraft_cleaning":{"type":"boolean","nullable":true},"ground_handling":{"type":"boolean","nullable":true},"aircraft_catering":{"type":"boolean","nullable":true},"gpu":{"type":"boolean","nullable":true},"de_icing":{"type":"boolean","nullable":true},"aircraft_parts":{"type":"boolean","nullable":true},"quick_turn":{"type":"boolean","nullable":true},"oxygen":{"type":"boolean","nullable":true},"cargo_handling":{"type":"boolean","nullable":true},"flight_planning_room":{"type":"boolean","nullable":true},"pilots_lounge":{"type":"boolean","nullable":true},"weather_briefing":{"type":"boolean","nullable":true},"crew_car":{"type":"boolean","nullable":true},"nitrogen":{"type":"boolean","nullable":true},"aircraft_wc_service":{"type":"boolean","nullable":true},"aircraft_water_service":{"type":"boolean","nullable":true},"asu":{"type":"boolean","nullable":true},"passenger_steps":{"type":"boolean","nullable":true},"description":{"type":"string","nullable":true},"logo_media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true},"view_360":{"type":"string","format":"uri","nullable":true,"maxLength":200},"is_pro":{"type":"boolean","nullable":true}},"required":["id","logo_media"]},"FBOMediaAttachment":{"type":"object","properties":{"position":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"display_name":{"type":"string","nullable":true},"media":{"allOf":[{"$ref":"#/components/schemas/AttachmentMedia"}],"readOnly":true,"nullable":true}},"required":["media"]},"FBOMediaImage":{"type":"object","properties":{"position":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true}},"required":["media"]},"Flight":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"flight_id":{"type":"integer","readOnly":true,"description":"ID of created flight record","deprecated":true},"registration_number":{"type":"string","description":"Aircraft registration number","maxLength":10,"minLength":3},"dep_airport_icao":{"type":"string","description":"Departure airport ICAO code. DEPRECATED: use 'dep_airport' instead","maxLength":4,"minLength":4,"deprecated":true},"arrival_airport_icao":{"type":"string","description":"Arrival airport ICAO code. DEPRECATED: use 'arr_airport' instead","maxLength":4,"minLength":4,"deprecated":true},"dep_date_utc":{"type":"string","format":"date-time","description":"Departure date in format \"yyyy-mm-ddThh:mm\" (needs to be earlier than \"arr_date_utc\")"},"arr_date_utc":{"type":"string","format":"date-time","description":"Arrival date in format \"yyyy-mm-ddThh:mm\""},"comment":{"type":"string","nullable":true,"description":"Commentary about flight record (should be less than 100 symbols)","maxLength":100},"dep_airport":{"$ref":"#/components/schemas/ScheduleAirport"},"arr_airport":{"$ref":"#/components/schemas/ScheduleAirport"}},"required":["arr_date_utc","dep_date_utc","flight_id","id","registration_number"]},"ImageMedia":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"path":{"type":"string","format":"uri","readOnly":true}},"required":["id","path"]},"ImageTag":{"type":"object","properties":{"value":{"type":"string"},"description":{"type":"string"}},"required":["description","value"]},"ImageTypeEnum":{"enum":["exterior","cabin","plan","cockpit","other","notail"],"type":"string","description":"* `exterior` - exterior\n* `cabin` - cabin\n* `plan` - plan\n* `cockpit` - cockpit\n* `other` - other\n* `notail` - notail"},"METARs":{"type":"object","properties":{"icao":{"type":"array","items":{"type":"string"},"nullable":true}},"required":["icao"]},"MRO":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":255},"airport":{"allOf":[{"$ref":"#/components/schemas/CharterAirport"}],"readOnly":true},"company":{"allOf":[{"$ref":"#/components/schemas/MROCompany"}],"readOnly":true},"longitude":{"type":"number","format":"double","nullable":true},"latitude":{"type":"number","format":"double","nullable":true},"email":{"type":"string","format":"email","nullable":true,"maxLength":254},"phone":{"type":"string","nullable":true,"maxLength":20},"fax":{"type":"string","nullable":true,"maxLength":20},"website":{"type":"string","format":"uri","nullable":true,"maxLength":200},"address":{"type":"string","nullable":true},"slug":{"type":"string","maxLength":50,"pattern":"^[-a-zA-Z0-9_]+$"},"mro_extension":{"allOf":[{"$ref":"#/components/schemas/MROExtension"}],"readOnly":true},"images":{"type":"array","items":{"$ref":"#/components/schemas/MROMediaImage"},"readOnly":true,"nullable":true},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/MROMediaAttachment"},"readOnly":true,"nullable":true},"working_hours":{"type":"string","nullable":true},"has_base_maintenance":{"type":"boolean","nullable":true}},"required":["airport","attachments","company","id","images","mro_extension","name","slug"]},"MROCompany":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"phone":{"type":"string","nullable":true,"maxLength":100},"fax":{"type":"string","nullable":true,"maxLength":100},"website":{"type":"string","format":"uri","nullable":true,"maxLength":100},"address":{"type":"string","nullable":true,"maxLength":200},"company_extension":{"allOf":[{"$ref":"#/components/schemas/FBOCompanyExtension"}],"readOnly":true},"slug":{"type":"string","maxLength":200}},"required":["company_extension","id","name","slug"]},"MROExtension":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"description":{"type":"string","nullable":true},"view_360":{"type":"string","format":"uri","nullable":true,"maxLength":200},"logo_media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true},"is_pro":{"type":"boolean","nullable":true}},"required":["id","logo_media"]},"MROMediaAttachment":{"type":"object","properties":{"position":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"display_name":{"type":"string","nullable":true},"media":{"allOf":[{"$ref":"#/components/schemas/AttachmentMedia"}],"readOnly":true,"nullable":true}},"required":["media"]},"MROMediaImage":{"type":"object","properties":{"position":{"type":"integer","maximum":32767,"minimum":0,"nullable":true},"media":{"allOf":[{"$ref":"#/components/schemas/ImageMedia"}],"readOnly":true,"nullable":true}},"required":["media"]},"ManagerAccount":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Seller account identifier"},"given_name":{"type":"string","nullable":true,"description":"First name","maxLength":100},"family_name":{"type":"string","nullable":true,"description":"Last name","maxLength":100},"email":{"type":"string","format":"email","nullable":true,"description":"Manager's email","maxLength":100},"phone":{"type":"string","nullable":true,"description":"Manager's phone","maxLength":100}},"required":["id"]},"NOTAMs":{"type":"object","properties":{"icao":{"type":"array","items":{"type":"string"},"nullable":true}},"required":["icao"]},"NullEnum":{"enum":[null]},"OfferAircraft":{"type":"object","properties":{"tail_number":{"type":"string","nullable":true,"description":"Aircraft registration number","maxLength":200},"max_passengers":{"type":"integer","maximum":32767,"minimum":0,"readOnly":true,"nullable":true,"description":"Maximum number of passengers on board"},"home_base":{"type":"string","readOnly":true,"nullable":true,"description":"Airport ICAO code of aircraft's home base","maxLength":5},"images":{"type":"array","items":{"$ref":"#/components/schemas/WebAircraftSummaryMediaImage"},"readOnly":true,"nullable":true,"description":"Aircraft images"},"aircraft_type":{"type":"string","nullable":true,"description":"Aircraft type"},"aircraft_class":{"type":"string","nullable":true,"description":"Aircraft class"},"manufacturer_name":{"type":"string","nullable":true,"description":"Aircraft manufacturer name"},"refurbishment_year":{"type":"integer","nullable":true,"description":"Year of aircraft's latest refurbishment"},"id":{"type":"integer","readOnly":true},"serial_number":{"type":"string","readOnly":true,"nullable":true,"description":"Aircraft serial number"},"year_of_production":{"type":"integer","readOnly":true,"nullable":true,"description":"Aircraft YOM"},"is_for_charter":{"type":"boolean","readOnly":true,"nullable":true},"is_for_sale":{"type":"boolean","readOnly":true,"nullable":true},"slug":{"type":"string","readOnly":true,"nullable":true,"pattern":"^[-a-zA-Z0-9_]+$"},"cabin_crew":{"type":"boolean","nullable":true,"description":"Cabin crew availability"},"lavatory":{"type":"boolean","nullable":true,"description":"Lavatory availability"},"hot_meal":{"type":"boolean","nullable":true,"description":"Hot meal availability"},"wireless_internet":{"type":"boolean","nullable":true,"description":"Wireless internet availability"},"entertainment_system":{"type":"boolean","nullable":true,"description":"Entertainment system availability"},"medical_ramp":{"type":"boolean","nullable":true,"description":"Medical ramp availability"},"adult_critical_care":{"type":"boolean","nullable":true,"description":"Adult critical care availability"},"pediatric_critical_care":{"type":"boolean","nullable":true,"description":"Pediatric critical care availability"},"smoking":{"type":"boolean","nullable":true,"description":"Smoking availability"},"pets_allowed":{"type":"boolean","nullable":true,"description":"Pets allowed"},"shower":{"type":"boolean","nullable":true,"description":"Shower availability"},"satellite_phone":{"type":"boolean","nullable":true,"description":"Satellite phone availability"},"owners_approval_required":{"type":"boolean","nullable":true,"description":"Owner's approval required"},"divan_seats":{"type":"integer","nullable":true,"description":"Number of divan seats"},"beds":{"type":"integer","nullable":true,"description":"Number of beds"},"sleeping_places":{"type":"integer","nullable":true,"description":"Number of sleeping places"},"cabin_height":{"type":"number","format":"double","nullable":true,"description":"Cabin height in meters"},"cabin_length":{"type":"number","format":"double","nullable":true,"description":"Cabin length in meters"},"cabin_width":{"type":"number","format":"double","nullable":true,"description":"Cabin width in meters"},"luggage_volume":{"type":"number","format":"double","nullable":true,"description":"Luggage volume in cubic meters"}},"required":["home_base","id","images","is_for_charter","is_for_sale","max_passengers","serial_number","slug","year_of_production"]},"OfferCompany":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Company identifier"},"name":{"type":"string","description":"Company name","maxLength":200},"slug":{"type":"string","description":"slug on Aviapages website: aviapages.com/company/slug/","maxLength":200},"company_extension":{"allOf":[{"$ref":"#/components/schemas/CompanyExtension"}],"readOnly":true}},"required":["company_extension","id","name","slug"]},"OfferStateEnum":{"enum":["OK","Not available","Removed"],"type":"string","description":"* `OK` - OK\n* `Not available` - Not available\n* `Removed` - Removed"},"OperatorQuoteMessage":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"state":{"allOf":[{"$ref":"#/components/schemas/StateBa0Enum"}],"readOnly":true},"quote_request_id":{"type":"integer","readOnly":true},"account":{"allOf":[{"$ref":"#/components/schemas/QuoteMessageAccount"}],"readOnly":true,"description":"Account what created quote"},"legs":{"type":"array","items":{"$ref":"#/components/schemas/QuoteFlightLeg"},"readOnly":true},"channel":{"type":"string","readOnly":true},"aircraft":{"type":"array","items":{"$ref":"#/components/schemas/QuoteAircraft"},"readOnly":true,"nullable":true},"comment":{"type":"string","nullable":true,"maxLength":1000},"quote_hash":{"type":"string","nullable":true,"maxLength":200}},"required":["account","aircraft","channel","created_at","id","legs","quote_hash","quote_request_id","state"]},"OperatorQuoteReply":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"nullable":true,"description":"Offer price"},"state":{"$ref":"#/components/schemas/OfferStateEnum"},"comment":{"type":"string","nullable":true,"maxLength":4000},"manager_name":{"type":"string","nullable":true,"maxLength":100},"reaction":{"allOf":[{"$ref":"#/components/schemas/ReactionEnum"}],"readOnly":true},"reject_reason":{"type":"string","nullable":true},"external_reply_id":{"type":"string","nullable":true,"maxLength":200},"quote_request_id":{"type":"integer","minimum":0,"readOnly":true,"description":"Quote identifier"},"quote_message_id":{"type":"integer","minimum":0,"description":"Quote message identifier"},"aircraft":{"allOf":[{"$ref":"#/components/schemas/OfferAircraft"}],"nullable":true},"currency_code":{"type":"string","nullable":true,"description":"Price currency (3 digit currency code)","maxLength":3},"manager_account":{"allOf":[{"$ref":"#/components/schemas/ManagerAccount"}],"readOnly":true,"nullable":true}},"required":["created_at","id","manager_account","quote_message_id","quote_request_id","reaction","state"]},"PaginatedAircraftClassMainList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/AircraftClassMain"}}}},"PaginatedAircraftProfileMainList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/AircraftProfileMain"}}}},"PaginatedAircraftTypeList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":500},"results":{"type":"array","items":{"$ref":"#/components/schemas/AircraftType"}}}},"PaginatedAirportList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/Airport"}}}},"PaginatedAvailabilityList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/Availability"}}}},"PaginatedCharterAircraftList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/CharterAircraft"}}}},"PaginatedCharterCompanyList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/CharterCompany"}}}},"PaginatedCityList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/City"}}}},"PaginatedCountryList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/Country"}}}},"PaginatedEmptyLegList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/EmptyLeg"}}}},"PaginatedFBOList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/FBO"}}}},"PaginatedFlightList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/Flight"}}}},"PaginatedMROList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/MRO"}}}},"PaginatedOperatorQuoteMessageList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/OperatorQuoteMessage"}}}},"PaginatedOperatorQuoteReplyList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/OperatorQuoteReply"}}}},"PaginatedQuoteReplyList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/QuoteReply"}}}},"PaginatedQuoteRequestList":{"type":"object","properties":{"count":{"type":"integer","example":123},"next":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=4"},"previous":{"type":"string","nullable":true,"format":"uri","example":"http://api.example.org/example_page/?page=2"},"per_page":{"type":"integer","example":20},"results":{"type":"array","items":{"$ref":"#/components/schemas/QuoteRequest"}}}},"PatchedAccountToken":{"type":"object","properties":{"token":{"type":"string","readOnly":true},"name":{"type":"string","pattern":"^[-a-zA-Z0-9_]+$"},"created_at":{"type":"string","format":"date-time","readOnly":true,"nullable":true},"is_active":{"type":"boolean","default":true}}},"PatchedAvailability":{"type":"object","description":"Availability serializer with deprecated fields support","properties":{"id":{"type":"integer","readOnly":true},"registration_number":{"type":"string","nullable":true,"description":"Aircraft registration number","maxLength":10,"minLength":3},"aircraft_type":{"type":"string","readOnly":true,"nullable":true},"company":{"type":"string","readOnly":true,"nullable":true,"description":"Company name"},"from_date_utc":{"type":"string","format":"date-time","description":"From date available in format \"yyyy-mm-ddThh:mm\""},"to_date_utc":{"type":"string","format":"date-time","description":"To date available in format \"yyyy-mm-ddThh:mm\""},"comment":{"type":"string","nullable":true,"description":"Commentary about availability record","maxLength":100},"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"nullable":true,"description":"Flight price"},"currency_code":{"type":"string","nullable":true,"description":"Price currency (3 digit currency code)","maxLength":3},"dep_airport":{"$ref":"#/components/schemas/ScheduleAirport"},"arr_airport":{"allOf":[{"$ref":"#/components/schemas/ScheduleAirport"}],"nullable":true},"availability_id":{"type":"integer","readOnly":true,"description":"ID of availability record","deprecated":true},"dep_airport_icao":{"type":"string","description":"Departure airport ICAO code","maxLength":4,"minLength":4,"deprecated":true},"arrival_airport_icao":{"type":"string","nullable":true,"description":"Arrival airport ICAO code","maxLength":4,"minLength":4,"deprecated":true}}},"PatchedEmptyLeg":{"type":"object","description":"Empty Leg serializer without deprecated fields","properties":{"id":{"type":"integer","readOnly":true},"registration_number":{"type":"string","nullable":true,"description":"Aircraft registration number","maxLength":10,"minLength":3},"aircraft_type":{"type":"string","readOnly":true,"nullable":true},"company":{"type":"string","readOnly":true,"nullable":true,"description":"Company name"},"from_date_utc":{"type":"string","format":"date-time","description":"From date available in format \"yyyy-mm-ddThh:mm\""},"to_date_utc":{"type":"string","format":"date-time","description":"To date available in format \"yyyy-mm-ddThh:mm\""},"comment":{"type":"string","nullable":true,"description":"Commentary about availability record","maxLength":100},"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"nullable":true,"description":"Flight price"},"currency_code":{"type":"string","nullable":true,"description":"Price currency (3 digit currency code)","maxLength":3},"dep_airport":{"$ref":"#/components/schemas/ScheduleAirport"},"arr_airport":{"allOf":[{"$ref":"#/components/schemas/ScheduleAirport"}],"nullable":true}}},"PatchedFlight":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"flight_id":{"type":"integer","readOnly":true,"description":"ID of created flight record","deprecated":true},"registration_number":{"type":"string","description":"Aircraft registration number","maxLength":10,"minLength":3},"dep_airport_icao":{"type":"string","description":"Departure airport ICAO code. DEPRECATED: use 'dep_airport' instead","maxLength":4,"minLength":4,"deprecated":true},"arrival_airport_icao":{"type":"string","description":"Arrival airport ICAO code. DEPRECATED: use 'arr_airport' instead","maxLength":4,"minLength":4,"deprecated":true},"dep_date_utc":{"type":"string","format":"date-time","description":"Departure date in format \"yyyy-mm-ddThh:mm\" (needs to be earlier than \"arr_date_utc\")"},"arr_date_utc":{"type":"string","format":"date-time","description":"Arrival date in format \"yyyy-mm-ddThh:mm\""},"comment":{"type":"string","nullable":true,"description":"Commentary about flight record (should be less than 100 symbols)","maxLength":100},"dep_airport":{"$ref":"#/components/schemas/ScheduleAirport"},"arr_airport":{"$ref":"#/components/schemas/ScheduleAirport"}}},"PatchedOperatorQuoteReply":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"created_at":{"type":"string","format":"date-time","readOnly":true},"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"nullable":true,"description":"Offer price"},"state":{"$ref":"#/components/schemas/OfferStateEnum"},"comment":{"type":"string","nullable":true,"maxLength":4000},"manager_name":{"type":"string","nullable":true,"maxLength":100},"reaction":{"allOf":[{"$ref":"#/components/schemas/ReactionEnum"}],"readOnly":true},"reject_reason":{"type":"string","nullable":true},"external_reply_id":{"type":"string","nullable":true,"maxLength":200},"quote_request_id":{"type":"integer","minimum":0,"readOnly":true,"description":"Quote identifier"},"quote_message_id":{"type":"integer","minimum":0,"description":"Quote message identifier"},"aircraft":{"allOf":[{"$ref":"#/components/schemas/OfferAircraft"}],"nullable":true},"currency_code":{"type":"string","nullable":true,"description":"Price currency (3 digit currency code)","maxLength":3},"manager_account":{"allOf":[{"$ref":"#/components/schemas/ManagerAccount"}],"readOnly":true,"nullable":true}}},"PatchedQuoteReply":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Offer identifier"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"Creation date, UTC"},"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"readOnly":true,"nullable":true,"description":"Offer price"},"state":{"allOf":[{"$ref":"#/components/schemas/OfferStateEnum"}],"readOnly":true,"description":"Offer state\n\n* `OK` - OK\n* `Not available` - Not available\n* `Removed` - Removed"},"comment":{"type":"string","readOnly":true,"nullable":true},"manager_name":{"type":"string","readOnly":true,"nullable":true},"reaction":{"allOf":[{"$ref":"#/components/schemas/ReactionEnum"}],"description":"Buyer's reaction to this offer\n\n* `New` - New\n* `Seen` - Seen\n* `Favorite` - Favorite\n* `Accept` - Accept\n* `Reject` - Reject\n* `Costly` - Costly"},"external_reply_id":{"type":"string","readOnly":true,"nullable":true},"quote_request_id":{"type":"integer","minimum":0,"readOnly":true,"description":"Quote identifier"},"quote_message_id":{"type":"integer","minimum":0,"readOnly":true,"description":"Quote message identifier"},"currency_code":{"type":"string","readOnly":true,"nullable":true,"default":"EUR","description":"3 digit currency code. Available currencies: CAD, GBP, RUB, EUR, USD.","maxLength":3},"aircraft":{"allOf":[{"$ref":"#/components/schemas/OfferAircraft"}],"readOnly":true,"nullable":true,"description":"Offered aircraft"},"company":{"allOf":[{"$ref":"#/components/schemas/OfferCompany"}],"readOnly":true,"nullable":true,"description":"Seller company"},"manager_account":{"allOf":[{"$ref":"#/components/schemas/ManagerAccount"}],"readOnly":true,"nullable":true,"description":"Selling manager account information"}}},"PatchedUpdateQuoteRequest":{"type":"object","properties":{"channels":{"type":"array","items":{"$ref":"#/components/schemas/ChannelsEnum"},"writeOnly":true},"post_to_trip_board":{"type":"boolean","default":false,"description":"Post this quote to Aviapages tripboard"},"comment":{"type":"string","nullable":true,"maxLength":4000}}},"QuoteAircraft":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"nullable":true,"description":"Aircraft identifier"},"tail_number":{"type":"string","nullable":true,"description":"Aircraft tail_number","maxLength":200},"ac_type":{"type":"string","nullable":true,"description":"Aircraft type"},"ac_class":{"type":"string","nullable":true,"description":"Aircraft_class"}}},"QuoteAirport":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"nullable":true,"description":"airport identifier"},"icao":{"type":"string","nullable":true,"description":"airport ICAO code","maxLength":4},"iata":{"type":"string","nullable":true,"description":"airport IATA code","maxLength":3},"lid":{"type":"string","nullable":true,"description":"Local Identifier","maxLength":5},"name":{"type":"string","nullable":true,"description":"airport name"},"slug":{"type":"string","nullable":true,"maxLength":200},"city":{"allOf":[{"$ref":"#/components/schemas/QuoteAirportCity"}],"readOnly":true,"nullable":true}},"required":["city"]},"QuoteAirportCity":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"City identifier"},"name":{"type":"string","description":"City name","maxLength":200}},"required":["id","name"]},"QuoteExtension":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"client_given_name":{"type":"string","nullable":true},"client_family_name":{"type":"string","nullable":true},"client_email":{"type":"string","nullable":true},"client_phone":{"type":"string","nullable":true}},"required":["id"]},"QuoteFlightLeg":{"type":"object","properties":{"departure_airport":{"allOf":[{"$ref":"#/components/schemas/QuoteAirport"}],"description":"ICAO, IATA, LID, airport name or airport id (at least one of) is required for airport identification"},"arrival_airport":{"allOf":[{"$ref":"#/components/schemas/QuoteAirport"}],"description":"ICAO, IATA, LID, airport name or airport id (at least one of) is required for airport identification"},"pax":{"type":"integer","maximum":32767,"minimum":0,"description":"Number of passengers"},"departure_datetime":{"type":"string","format":"date-time","nullable":true,"description":"Departure datetime, UTC. Input format (ISO 8601): YYYY-MM-DDThh:mm[:ss[.uuuuuu]][+HH:MM|-HH:MM|Z]."},"departure_datetime_local":{"type":"string","format":"date-time","nullable":true,"description":"Departure datetime, local. Input format YYYY-MM-DDThh:mm"}},"required":["arrival_airport","departure_airport","pax"]},"QuoteMessage":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"state":{"allOf":[{"$ref":"#/components/schemas/StateBa0Enum"}],"readOnly":true},"channels":{"allOf":[{"$ref":"#/components/schemas/ChannelsEnum"}],"readOnly":true},"company":{"$ref":"#/components/schemas/QuoteMessageCompany"}},"required":["channels","company","id","state"]},"QuoteMessageAccount":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"given_name":{"type":"string","nullable":true,"maxLength":100},"family_name":{"type":"string","nullable":true,"maxLength":100},"email":{"type":"string","format":"email","nullable":true,"maxLength":100},"phone":{"type":"string","nullable":true,"maxLength":100},"company":{"allOf":[{"$ref":"#/components/schemas/QuoteMessageAccountCompany"}],"readOnly":true,"nullable":true},"account_extension":{"allOf":[{"$ref":"#/components/schemas/QuoteMessageAccountExtension"}],"readOnly":true,"nullable":true}},"required":["account_extension","company","id"]},"QuoteMessageAccountCompany":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"slug":{"type":"string","maxLength":200}},"required":["id","name","slug"]},"QuoteMessageAccountExtension":{"type":"object","properties":{"trust_score":{"type":"number","format":"double","nullable":true}}},"QuoteMessageCompany":{"type":"object","properties":{"id":{"type":"integer","nullable":true},"name":{"type":"string","nullable":true,"maxLength":200},"slug":{"type":"string","readOnly":true},"company_extension":{"allOf":[{"$ref":"#/components/schemas/CompanyExtension"}],"readOnly":true}},"required":["company_extension","slug"]},"QuoteReply":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Offer identifier"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"Creation date, UTC"},"price":{"type":"number","format":"double","maximum":1000000000,"minimum":0,"readOnly":true,"nullable":true,"description":"Offer price"},"state":{"allOf":[{"$ref":"#/components/schemas/OfferStateEnum"}],"readOnly":true,"description":"Offer state\n\n* `OK` - OK\n* `Not available` - Not available\n* `Removed` - Removed"},"comment":{"type":"string","readOnly":true,"nullable":true},"manager_name":{"type":"string","readOnly":true,"nullable":true},"reaction":{"allOf":[{"$ref":"#/components/schemas/ReactionEnum"}],"description":"Buyer's reaction to this offer\n\n* `New` - New\n* `Seen` - Seen\n* `Favorite` - Favorite\n* `Accept` - Accept\n* `Reject` - Reject\n* `Costly` - Costly"},"external_reply_id":{"type":"string","readOnly":true,"nullable":true},"quote_request_id":{"type":"integer","minimum":0,"readOnly":true,"description":"Quote identifier"},"quote_message_id":{"type":"integer","minimum":0,"readOnly":true,"description":"Quote message identifier"},"currency_code":{"type":"string","readOnly":true,"nullable":true,"default":"EUR","description":"3 digit currency code. Available currencies: CAD, GBP, RUB, EUR, USD.","maxLength":3},"aircraft":{"allOf":[{"$ref":"#/components/schemas/OfferAircraft"}],"readOnly":true,"nullable":true,"description":"Offered aircraft"},"company":{"allOf":[{"$ref":"#/components/schemas/OfferCompany"}],"readOnly":true,"nullable":true,"description":"Seller company"},"manager_account":{"allOf":[{"$ref":"#/components/schemas/ManagerAccount"}],"readOnly":true,"nullable":true,"description":"Selling manager account information"}},"required":["aircraft","comment","company","created_at","currency_code","external_reply_id","id","manager_account","manager_name","price","quote_message_id","quote_request_id","reaction","state"]},"QuoteRequest":{"type":"object","properties":{"id":{"type":"integer","readOnly":true,"description":"Quotation identifier"},"created_at":{"type":"string","format":"date-time","readOnly":true,"description":"Datetime of quote creation, UTC. Format \"%Y-%m-%dT%H:%M\""},"state":{"allOf":[{"$ref":"#/components/schemas/QuoteRequestStateEnum"}],"minimum":-2147483648,"maximum":2147483647},"comment":{"type":"string","nullable":true,"maxLength":4000},"legs":{"type":"array","items":{"$ref":"#/components/schemas/QuoteFlightLeg"},"description":"At least one leg is required. Maximum is 10 legs."},"quote_messages":{"type":"array","items":{"$ref":"#/components/schemas/QuoteMessage"},"description":"At least one company must be set (use charter_search for finding valid ones). Use company id or name."},"quote_extension":{"allOf":[{"$ref":"#/components/schemas/QuoteExtension"}],"nullable":true,"description":"Additional information for quote"},"aircraft":{"type":"array","items":{"$ref":"#/components/schemas/QuoteAircraft"},"description":"At least one of these aircraft parameters is required for quote"},"post_to_trip_board":{"type":"boolean","default":false,"description":"Post this quote to Aviapages trip board"},"channels":{"type":"array","items":{"$ref":"#/components/schemas/ChannelsEnum"},"writeOnly":true},"send_to_self":{"type":"boolean","writeOnly":true,"default":false,"description":"Send an email to your address"}},"required":["aircraft","channels","created_at","id","legs","quote_messages"]},"QuoteRequestStateEnum":{"enum":[0,1,5,7,11],"type":"integer","description":"* `0` - OK\n* `1` - Archived\n* `5` - Error\n* `7` - Rejected\n* `11` - Validation required"},"ReactionEnum":{"enum":["New","Seen","Favorite","Accept","Reject","Costly"],"type":"string","description":"* `New` - New\n* `Seen` - Seen\n* `Favorite` - Favorite\n* `Accept` - Accept\n* `Reject` - Reject\n* `Costly` - Costly"},"Runway":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":10},"length":{"type":"string","nullable":true,"maxLength":20},"type":{"type":"string","nullable":true,"maxLength":10},"lights":{"type":"string","nullable":true,"maxLength":10}},"required":["id","name"]},"ScheduleAirport":{"type":"object","description":"Airport. For create/update use one of the fields: 'id', 'name', 'iata', 'icao', 'lid'. Fields are case-insensitive.","properties":{"id":{"type":"integer","minimum":0,"nullable":true,"description":"airport identifier"},"name":{"type":"string","nullable":true,"description":"airport name"},"iata":{"type":"string","nullable":true,"description":"airport IATA code","maxLength":3},"icao":{"type":"string","nullable":true,"description":"airport ICAO code","maxLength":4},"lid":{"type":"string","nullable":true,"description":"Local Identifier","maxLength":5},"slug":{"type":"string","nullable":true,"maxLength":200},"city":{"allOf":[{"$ref":"#/components/schemas/ScheduleCity"}],"readOnly":true,"nullable":true}},"required":["city"]},"ScheduleCity":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200},"country":{"allOf":[{"$ref":"#/components/schemas/ScheduleCountry"}],"readOnly":true,"nullable":true}},"required":["country","id","name"]},"ScheduleCountry":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":500},"iso_alpha2":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-2","maxLength":3},"iso_alpha3":{"type":"string","nullable":true,"title":"Code","description":"ISO 3166-1 alpha-3","maxLength":3}},"required":["id","name"]},"SearchAircraft":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"nullable":true,"description":"Aircraft identifier"},"tail_number":{"type":"string","nullable":true,"description":"Aircraft tail_number","maxLength":200},"ac_type":{"type":"string","nullable":true,"description":"Aircraft type"},"ac_class":{"type":"string","nullable":true,"description":"Aircraft_class"}}},"SearchAirport":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"nullable":true,"description":"airport identifier"},"icao":{"type":"string","nullable":true,"description":"airport ICAO code","maxLength":4},"iata":{"type":"string","nullable":true,"description":"airport IATA code","maxLength":3},"lid":{"type":"string","nullable":true,"description":"Local Identifier","maxLength":5},"name":{"type":"string","nullable":true,"description":"airport name"},"slug":{"type":"string","nullable":true,"maxLength":200},"city":{"allOf":[{"$ref":"#/components/schemas/QuoteAirportCity"}],"readOnly":true,"nullable":true}},"required":["city"]},"SearchFlightLeg":{"type":"object","properties":{"departure_airport":{"$ref":"#/components/schemas/SearchAirport"},"arrival_airport":{"$ref":"#/components/schemas/SearchAirport"},"pax":{"type":"integer","maximum":9999,"minimum":0,"default":2,"description":"Number of passengers"},"departure_datetime":{"type":"string","format":"date-time","description":"Departure date UTC in format \"yyyy-mm-ddThh:mm\""}}},"SearchRequestedCompany":{"type":"object","properties":{"id":{"type":"integer","nullable":true},"name":{"type":"string","nullable":true,"maxLength":200}}},"SearchResponseAircraft":{"type":"object","properties":{"id":{"type":"integer","minimum":0},"ac_type":{"type":"string","maxLength":200},"year_of_production":{"type":"integer"},"tail_number":{"type":"string","maxLength":9},"location":{"type":"string","nullable":true,"maxLength":4,"minLength":2},"images":{"type":"array","items":{"$ref":"#/components/schemas/AircraftImage"},"nullable":true},"max_passengers":{"type":"integer","maximum":32767,"minimum":0}},"required":["ac_type","id","location","max_passengers","tail_number","year_of_production"]},"SearchResponseCity":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":200}},"required":["id","name"]},"SearchResponseCompany":{"type":"object","properties":{"id":{"type":"integer","minimum":0},"name":{"type":"string","maxLength":200},"slug":{"type":"string","pattern":"^[-\\w]+$"},"city":{"$ref":"#/components/schemas/SearchResponseCity"},"country":{"$ref":"#/components/schemas/SearchResponseCountry"},"aircraft":{"type":"array","items":{"$ref":"#/components/schemas/SearchResponseAircraft"},"nullable":true}},"required":["aircraft","city","country","id","name","slug"]},"SearchResponseCountry":{"type":"object","properties":{"id":{"type":"integer","readOnly":true},"name":{"type":"string","maxLength":500}},"required":["id","name"]},"SearchSorting":{"type":"object","properties":{"approach_distance_weight":{"type":"number","format":"double","maximum":9999999,"minimum":0},"range_redundancy_weight":{"type":"number","format":"double","maximum":9999999,"minimum":0},"cabin_redundancy_weight":{"type":"number","format":"double","maximum":9999999,"minimum":0},"operator_response_rate_weight":{"type":"number","format":"double","maximum":9999999,"minimum":0},"aviapages_validation_weight":{"type":"number","format":"double","maximum":9999999,"minimum":0},"schedule_integration_weight":{"type":"number","format":"double","maximum":9999999,"minimum":0},"aircraft_has_images_weight":{"type":"number","format":"double","maximum":9999999,"minimum":0}},"required":["aircraft_has_images_weight","approach_distance_weight","aviapages_validation_weight","cabin_redundancy_weight","operator_response_rate_weight","range_redundancy_weight","schedule_integration_weight"]},"StateBa0Enum":{"enum":["Created","Sending","Sent","Delivered","Resending","Error","Partially delivered","Open","Spam","Unsubscribe","Test message","Blocked","Other"],"type":"string","description":"* `Created` - Created\n* `Sending` - Sending\n* `Sent` - Sent\n* `Delivered` - Delivered\n* `Resending` - Resending\n* `Error` - Error\n* `Partially delivered` - Partially delivered\n* `Open` - Open\n* `Spam` - Spam\n* `Unsubscribe` - Unsubscribe\n* `Test message` - Test message\n* `Blocked` - Blocked\n* `Other` - Other"},"TAFs":{"type":"object","properties":{"icao":{"type":"array","items":{"type":"string"},"nullable":true}},"required":["icao"]},"ThrottleError":{"type":"object","properties":{"detail":{"type":"string","description":"throttle explanation text"}},"required":["detail"]},"ValidationError":{"type":"object","properties":{"not_valid_field":{"type":"array","items":{"type":"string","description":"error text"}}},"required":["not_valid_field"]},"WebAircraftSummaryMediaImage":{"type":"object","properties":{"position":{"type":"integer","maximum":32767,"minimum":0},"url":{"type":"string","format":"uri","readOnly":true,"nullable":true},"image_type":{"type":"string","readOnly":true,"nullable":true}},"required":["image_type","position","url"]},"Coordinates":{"type":"object","properties":{"lo":{"type":"number","format":"double","maximum":180,"minimum":-180},"la":{"type":"number","format":"double","maximum":90,"minimum":-90}},"required":["la","lo"]},"FlightCalculatorRequest":{"type":"object","properties":{"departure_airport":{"type":"string","description":"Departure airport ICAO code / IATA code / Local identifier or coordinates.\ne.g. \"LSGG\", \"RIX\", \"39.7841944444 -104.537638889\"","maxLength":100,"minLength":3},"arrival_airport":{"type":"string","description":"Arrival airport ICAO code / IATA code / Local identifier or coordinates.\ne.g. \"KJFK\", \"BCA\", \"8.45991666667 48.5683611111","maxLength":100,"minLength":3},"aircraft":{"type":"string","description":"Aircraft profile name / ICAO code / type. Profile name is preferable.\ne.g. \"HondaJet (IASA regulations)\", \"CL60\", \"Global 6000\"","maxLength":100,"minLength":3},"aircraft_tail_number":{"type":"string","description":"Aircraft tail number. Helps find exact aircraft profile.\nOverrides 'aircraft' parameter if found in Aviapages database.","maxLength":10,"minLength":3},"departure_datetime":{"type":"string","format":"date-time","description":"Local time of departure in format \"YYYY-MM-DDThh:mm\". Default: current UTC datetime.\ne.g. \"2020-10-28T12:00\""},"pax":{"type":"integer","maximum":999,"minimum":0,"default":2,"description":"Number of passengers."},"aircraft_custom_payload":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom payload parameter, kg. Overrides pax parameter."},"arrival_datetime":{"type":"boolean","default":false,"description":"Display local arrival date & time depending on time calculation methods selected from above\n(\"airway_time\", \"airway_time_weather_impacted\", \"great_circle_time\", \"average_speed_time\" will return\n\"arrival_local_airway\", \"arrival_local_airway_weather_impacted\", \"arrival_local_great_circle\",\n\"arrival_local_average_speed\" respectively)"},"great_circle_route":{"type":"boolean","default":false,"description":"Calculate great circle route (shortest distance) as an array of coordinates between airports"},"great_circle_carbon_emissions":{"type":"boolean","default":false,"description":"Calculate carbon dioxide emissions via great circle using aircraft performance model, kg"},"airway_carbon_emissions":{"type":"boolean","default":false,"description":"Calculate carbon dioxide emissions via airways using aircraft performance model, kg"},"airway_carbon_emissions_weather_impacted":{"type":"boolean","default":false,"description":"Calculate carbon dioxide emissions via airways using aircraft performance model\nwith historical average wind, kg"},"great_circle_distance":{"type":"boolean","default":false,"description":"Calculate distance between airports via great circle (shortest distance)."},"great_circle_time":{"type":"boolean","default":false,"description":"Calculate flight time via great circle (shortest distance) using aircraft performance model."},"great_circle_fuel":{"type":"boolean","default":false,"description":"Calculate trip and block fuel via great circle using aircraft performance model."},"average_speed_time":{"type":"boolean","default":false,"description":"Calculate flight time via great circle using aircraft's average speed constant.\nSimplest and fastest calculations."},"airway_route":{"type":"boolean","default":false,"description":"Calculate airway route of coordinates between airports via airways."},"airway_time":{"type":"boolean","default":false,"description":"Calculate flight time via airways using aircraft performance model."},"airway_distance":{"type":"boolean","default":false,"description":"Calculate distance between airports via airways."},"airway_time_weather_impacted":{"type":"boolean","default":false,"description":"Calculate flight time via airways using aircraft performance model with historical\naverage wind impact. This is the recommended method for most accurate result."},"airway_fuel_weather_impacted":{"type":"boolean","default":false,"description":"Calculate trip and block fuel via great circle using aircraft performance model with\n         historical average wind."},"airway_fuel":{"type":"boolean","default":false,"description":"Calculate trip and block fuel via airways using aircraft performance model."},"advise_techstops":{"type":"boolean","default":false,"description":"Advise optimal airports for tech stop in case direct flight is not possible."},"ifr_route":{"type":"boolean","default":false,"description":"Calculate route as a sequence of airways and airway points used for en-route navigation."},"airway_fuel_weather_impacted_detailed":{"type":"boolean","default":false,"description":"Calculate and display detailed breakdown of fuel consumption via airways using\n         aircraft performance model with historical average wind."},"airway_fuel_detailed":{"type":"boolean","default":false,"description":"Calculate and display detailed breakdown of fuel consumption via airways using\n         aircraft performance model."},"great_circle_fuel_detailed":{"type":"boolean","default":false,"description":"Calculate and display detailed breakdown of fuel consumption via great circle using\n         aircraft performance model."},"airway_average_wind_historical":{"type":"boolean","default":false,"description":"Use historical average wind for airway calculations. This is the recommended method for most\n            accurate result."},"avoid_countries":{"type":"array","items":{"type":"string","maxLength":100,"minLength":2},"description":"List of countries to avoid in airway calculations. e.g.\n[\"Iran\", \"Syria\"], [\"UKR\", \"BLR\"] or [\"BY\", \"UA\"]"},"avoid_firs":{"type":"array","items":{"type":"string","maxLength":4,"minLength":4},"description":"List of FIR to avoid in airway calculations. e.g. [\"UKDV\", \"UKBV\"]"},"etops":{"type":"string","description":"Use ETOPS in airway calculations. Possible values: \"ETOPS90\", \"ETOPS120\", \"ETOPS180\".","maxLength":20,"minLength":7},"tag":{"type":"string","description":"Set custom user tag. Helpful for debugging or logging.","maxLength":100},"aircraft_degradation":{"type":"number","format":"double","maximum":100,"minimum":0,"description":"Aircraft's aerodynamic and flight characteristics degradation factor, percent."},"aircraft_oew":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's operating empty weight, kg."},"aircraft_mtow":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's maximum takeoff weight, kg."},"aircraft_zfw":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's zero fuel weight, kg."},"aircraft_max_fuel":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's max fuel weight, kg."},"aircraft_taxi_fuel":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's taxi fuel weight, kg."},"aircraft_alternate_fuel":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's alternate fuel weight, kg."},"aircraft_holding_fuel":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's holding fuel weight, kg."},"aircraft_contingency_fuel":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's contingency fuel weight, kg."},"aircraft_extra_fuel":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's extra fuel weight, kg."},"aircraft_optimal_flight_level":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's optimal flight level, m."},"aircraft_cruise_speed":{"type":"string","description":"Custom aircraft's cruise speed. e.g. \"M0.80\", \"M0.85\", \"M0.90\", \"M0.95\", \"M0.99\"","maxLength":100},"aircraft_mlw":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's maximum landing weight, kg."},"aircraft_mzfw":{"type":"integer","maximum":999999,"minimum":0,"description":"Custom aircraft's maximum zero fuel weight, kg."},"crossed_firs":{"type":"boolean","default":false,"description":"Show FIRs crossed during the route"},"crossed_countries":{"type":"boolean","default":false,"description":"Show countries crossed during the route"},"aircraft_taxi_time":{"type":"integer","maximum":999,"minimum":0,"description":"Total runway taxi time, minutes."},"fallback_eco_regime":{"type":"boolean","default":false,"description":"Automatic \"efficiency mode\": if the initial calculation fails due to weight or fuel constraints, the system recalculates the flight using the most fuel-efficient flight mode."},"force_eco_regime":{"type":"boolean","default":false,"description":"The calculation will be performed using the most efficient performance mode. Custom speed and altitude parameters will be ignored."}},"required":["aircraft","arrival_airport","departure_airport"]},"FlightCalculatorResponse":{"type":"object","properties":{"aircraft":{"type":"string","description":"Aircraft profile name."},"airport":{"$ref":"#/components/schemas/FlightCalculatorResponseAirport"},"distance":{"$ref":"#/components/schemas/FlightCalculatorResponseDistance"},"route":{"$ref":"#/components/schemas/FlightCalculatorResponseRoute"},"time":{"$ref":"#/components/schemas/FlightCalculatorResponseTime"},"fuel":{"$ref":"#/components/schemas/FlightCalculatorResponseFuel"},"great_circle_carbon_emissions":{"type":"integer","description":"Carbon dioxide emissions via great circle using aircraft performance model in kilograms."},"airway_carbon_emissions":{"type":"integer","description":"Carbon dioxide emissions via airways using aircraft performance model in kilograms."},"airway_carbon_emissions_weather_impacted":{"type":"integer","description":"Carbon dioxide emissions via airways using aircraft performance model with\nhistorical average wind in kilograms."},"errors":{"type":"array","items":{"$ref":"#/components/schemas/FlightCalculatorResponseErrors"},"description":"Sequence of error codes and messages caught during calculation."},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/FlightCalculatorResponseWarnings"},"description":"Sequence of warning codes and messages caught during calculation."}},"required":["aircraft","airport","airway_carbon_emissions","airway_carbon_emissions_weather_impacted","great_circle_carbon_emissions"]},"FlightCalculatorResponseAirport":{"type":"object","properties":{"departure":{"type":"string","description":"Departure airport ICAO code."},"arrival":{"type":"string","description":"Arrival airport ICAO code."},"techstops":{"type":"array","items":{"type":"string"},"description":"List of ICAO codes of recommended airports for techstop. Is displayed when \"advise_techstop\" is\n         set to true and non-stop flight is not possible."}},"required":["arrival","departure","techstops"]},"FlightCalculatorResponseDistance":{"type":"object","properties":{"great_circle":{"type":"number","format":"double","description":"distance via great_circle (shortest distance) in kilometers."},"airway":{"type":"number","format":"double","description":"distance via airways in kilometers."}},"required":["airway","great_circle"]},"FlightCalculatorResponseErrors":{"type":"object","properties":{"message":{"type":"string","description":"Error code."},"code":{"type":"integer","description":"Error description."}},"required":["code","message"]},"FlightCalculatorResponseFuel":{"type":"object","properties":{"airway":{"type":"integer","description":"Total amount of used fuel consumption via airways using aircraft performance model in kilograms."},"airway_weather_impacted":{"type":"integer","description":"Total amount of used fuel via airways using aircraft performance model with wind impact in\n         kilograms."},"great_circle":{"type":"integer","description":"Total amount of used fuel via great circle using aircraft performance model with wind impact in\n         kilograms."},"great_circle_detailed":{"type":"array","items":{"$ref":"#/components/schemas/FlightCalculatorResponseFuelGreatCircleDetailed"},"description":"Breakdown of fuel consumption via great circle using aircraft performance model."},"airway_detailed":{"type":"array","items":{"$ref":"#/components/schemas/FlightCalculatorResponseFuelAirwayDetailed"},"description":"Breakdown of fuel consumption via airways using aircraft performance model."},"airway_weather_impacted_detailed":{"type":"array","items":{"$ref":"#/components/schemas/FlightCalculatorResponseFuelairwayWeatherImpactedDetailed"},"description":"Breakdown of fuel consumption via airways using aircraft performance model with\n         historical average wind."},"airway_block":{"type":"integer","description":"Total fuel required for the flight via airways including all reserved and extra fuel"},"airway_weather_impacted_block":{"type":"integer","description":"Total fuel required for the flight via airways with historical average wind including all\n         reserved and extra fuel"},"great_circle_block":{"type":"integer","description":"Total fuel required for the flight via great_circle including all reserved and extra fuel"}},"required":["airway","airway_block","airway_detailed","airway_weather_impacted","airway_weather_impacted_block","airway_weather_impacted_detailed","great_circle","great_circle_block","great_circle_detailed"]},"FlightCalculatorResponseFuelAirwayDetailed":{"type":"object","properties":{"weight":{"type":"number","format":"double","description":"Weight of aircraft by the end of current operation, kg"},"distance":{"type":"number","format":"double","description":"Distance flown, km"},"duration":{"type":"number","format":"double","description":"Operation duration, min"},"fuel_used":{"type":"number","format":"double","description":"Fuel burned, kg"},"final_altitude":{"type":"integer","description":"Altitude by the end of current operation, m"},"operation":{"type":"string","description":"Type of the operation","maxLength":100}},"required":["distance","duration","final_altitude","fuel_used","operation","weight"]},"FlightCalculatorResponseFuelGreatCircleDetailed":{"type":"object","properties":{"weight":{"type":"number","format":"double","description":"Weight of aircraft by the end of current operation, kg"},"distance":{"type":"number","format":"double","description":"Distance flown, km"},"duration":{"type":"number","format":"double","description":"Operation duration, min"},"fuel_used":{"type":"number","format":"double","description":"Fuel burned, kg"},"final_altitude":{"type":"integer","description":"Altitude by the end of current operation, m"},"operation":{"type":"string","description":"Type of the operation","maxLength":100}},"required":["distance","duration","final_altitude","fuel_used","operation","weight"]},"FlightCalculatorResponseFuelairwayWeatherImpactedDetailed":{"type":"object","properties":{"weight":{"type":"number","format":"double","description":"Weight of aircraft by the end of current operation, kg"},"distance":{"type":"number","format":"double","description":"Distance flown, km"},"duration":{"type":"number","format":"double","description":"Operation duration, min"},"fuel_used":{"type":"number","format":"double","description":"Fuel burned, kg"},"final_altitude":{"type":"integer","description":"Altitude by the end of current operation, m"},"operation":{"type":"string","description":"Type of the operation","maxLength":100}},"required":["distance","duration","final_altitude","fuel_used","operation","weight"]},"FlightCalculatorResponseRoute":{"type":"object","properties":{"ifr_route":{"type":"array","items":{"type":"string"},"description":"Sequence of airway points codes and airway names. Starts and end with departure and\n         arrival airport ICAO codes respectively."},"great_circle":{"type":"array","items":{"$ref":"#/components/schemas/Coordinates"},"description":"Array of coordinates of great circle route."},"airway":{"type":"array","items":{"$ref":"#/components/schemas/Coordinates"},"description":"Array of coordinates of airway route."},"crossed_firs":{"type":"array","items":{"type":"string","maxLength":4,"minLength":4},"description":"List of FIRs crossed during the route.\n                                          Showed when \"crossed_firs\" is set to true."},"crossed_countries":{"type":"array","items":{"type":"string","maxLength":2,"minLength":2},"description":"List of countries crossed during the route.\n                                                  Showed when \"crossed_countries\" is set to true."}},"required":["airway","crossed_countries","crossed_firs","great_circle","ifr_route"]},"FlightCalculatorResponseTime":{"type":"object","properties":{"departure_local":{"type":"string","format":"date-time","description":"Local time at departure airport in format \"YYYY-MM-DDThh:mm\"."},"airway":{"type":"integer","description":"Flight time via airways using aircraft performance model in minutes."},"arrival_local_airway":{"type":"string","format":"date-time","description":"Local time at arrival airport for calculation via airways using aircraft\n         performance model in format \"YYYY-MM-DDThh:mm\"."},"airway_weather_impacted":{"type":"integer","description":"Flight time via airways using aircraft performance model with wind impact in minutes."},"arrival_local_airway_weather_impacted":{"type":"string","format":"date-time","description":"Local time at arrival airport for calculation via airways using aircraft performance model with\n         wind impact in format \"YYYY-MM-DDThh:mm\"."},"great_circle":{"type":"integer","description":"Flight time via great circle using aircraft performance model in minutes."},"arrival_local_great_circle":{"type":"string","format":"date-time","description":"Local time at arrival airport for calculation via great circle using aircraft performance model\n         in format \"YYYY-MM-DDThh:mm\"."},"average_speed":{"type":"integer","description":"Flight time via great circle using aircraft's average speed constant (simplified) in minutes."},"arrival_local_average_speed":{"type":"string","format":"date-time","description":"Local time at arrival airport for calculation via great circle using aircraft's average speed\n         constant in format \"YYYY-MM-DDThh:mm\"."}},"required":["airway","airway_weather_impacted","arrival_local_airway","arrival_local_airway_weather_impacted","arrival_local_average_speed","arrival_local_great_circle","average_speed","departure_local","great_circle"]},"FlightCalculatorResponseWarnings":{"type":"object","properties":{"message":{"type":"string","description":"Warning code."},"code":{"type":"integer","description":"Warning description."}},"required":["code","message"]},"PriceCalculatorRequest":{"type":"object","properties":{"aircraft":{"type":"string","description":"Aircraft tail number","maxLength":100,"minLength":3},"aircraft_id":{"type":"integer","maximum":999999,"minimum":0,"description":"Aircraft profile id. Helps find exact aircraft."},"aircraft_profile_id":{"type":"integer","maximum":999999,"minimum":0,"description":"Aircraft profile id. Helps find exact aircraft profile."},"quote_date_utc":{"type":"string","format":"date-time","description":"Quote date in UTC format \"YYYY-MM-DDThh:mm\""},"price_profile":{"type":"string","description":"Price profile name. Helps to use exact price profile.","maxLength":100},"use_schedule":{"type":"boolean","description":"Use schedule for price calculation."},"currency":{"type":"string","description":"Currency code. Format: \"USD\", \"EUR\" etc.","maxLength":3,"minLength":3},"flights":{"type":"array","items":{"$ref":"#/components/schemas/PriceCalculatorRequestFlight"},"description":"List of flights for price calculation."}},"required":["aircraft","flights"]},"PriceCalculatorRequestFlight":{"type":"object","properties":{"departure_airport":{"type":"string","description":"Departure airport ICAO code / IATA code / Local identifier.","maxLength":4,"minLength":3},"arrival_airport":{"type":"string","description":"Arrival airport ICAO code / IATA code / Local identifier.","maxLength":4,"minLength":3},"pax":{"type":"integer","maximum":400,"minimum":0,"description":"Number of passengers."},"departure_datetime_utc":{"type":"string","format":"date-time","description":"UTC datetime of departure in format \"YYYY-MM-DDThh:mm\"."},"flight_time":{"type":"integer","maximum":999999,"minimum":0,"description":"Flight time in minutes."},"flight_distance_km":{"type":"integer","maximum":999999,"minimum":0,"description":"Flight distance in kilometers."},"is_ferry":{"type":"boolean","description":"Is ferry flight."},"to_fuel_stop":{"type":"boolean","description":"Is fuel stop."},"return_policy":{"type":"string","description":"Return policy."},"include_ferry":{"type":"boolean","description":"Include ferry."},"crossed_countries":{"type":"array","items":{"type":"string","maxLength":2,"minLength":2},"description":"List of countries crossed during the flight. Format Alpha2, exp: [\"US\", \"CA\"]"}},"required":["arrival_airport","departure_airport"]},"PriceCalculatorResponse":{"type":"object","properties":{"price":{"type":"number","format":"double","minimum":0,"description":"Total price for the flight."},"operations":{"type":"array","items":{"$ref":"#/components/schemas/PriceCalculatorResponseOperations"},"description":"List of operations."}},"required":["price"]},"PriceCalculatorResponseOperations":{"type":"object","properties":{"name":{"type":"string","description":"Operation name."},"amount":{"type":"number","format":"double","minimum":0,"description":"Amount."}},"required":["amount","name"]},"ThrottleErrorResponse":{"type":"object","properties":{"detail":{"type":"string","description":"throttle explanation text"}},"required":["detail"]},"ValidationErrorResponse":{"type":"object","properties":{"not_valid_field":{"type":"array","items":{"type":"string","description":"error text"}}},"required":["not_valid_field"]}},"securitySchemes":{"tokenAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Token-based authentication with required prefix \"Token\""}}}}