@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Flight Availibilities Search
@base https://test.api.amadeus.com/v1
@version 1.0.2
@endpoints 1
@toc shopping(1)

@endpoint POST /shopping/availability/flight-availabilities
@desc Return list of Flight Availabilities based on posted searching criteria.
@required {X-HTTP-Method-Override: any # the HTTP method to apply, getFlightAvailabilitiesBody: any # list of criteria to retrieve a list of flight availabilities}
@returns(200) Successful Operation
@errors {400: code    | title                                  ------- | -------------------------------------  425     | INVALID DATE 477     | INVALID FORMAT 572     | INVALID OPTION 2668    | PARAMETER COMBINATION INVALID/RESTRICTED 2781    | INVALID LENGTH 4926    | INVALID DATA RECEIVED 9880    | SELECTED DATE IS TOO FAR IN THE FUTURE 10661   | MAXIMUM NUMBER OF OCCURRENCES EXCEEDED  32171   | MANDATORY DATA MISSING}

@end
