Documentation

FlightAvailabilities
in package

A namespaced client for the "/v1/shopping/availability/flight-availabilities" endpoints.

Access via the Amadeus client object.

$amadeus = Amadeus::builder("clientId", "secret")->build(); $amadeus->getShopping()->getAvailability()->getFlightAvailabilities();

Table of Contents

$amadeus  : Amadeus
__construct()  : mixed
Constructor
post()  : array<string|int, FlightAvailability>
Flight Availabilities Search API:

Properties

Methods

post()

Flight Availabilities Search API:

public post(string $body) : array<string|int, FlightAvailability>

The Amadeus Flight Availability API provides a list of flights with seats for sale, and the quantity of seats available in different fare classes on a given itinerary. Additional information such as carrier and aircraft information, the departure and arrival terminals, schedule, and route are also provided.

 $amadeus->getShopping()->getAvailability()->getFlightAvailabilities()->post(body);
Parameters
$body : string

the parameters to send to the API as a JsonObject

Tags
link
https://developers.amadeus.com/self-service/category/air/api-doc/flight-availabilities-search/api-reference
throws
ResponseException

when an exception occurs

Return values
array<string|int, FlightAvailability>

an API resource

Search results