post https://api.aerocrs.com/v4/getFlightLoads
Important
Both parameters are mandatory
Request parameters
Parameter | Type | Description |
---|---|---|
flightnumber | String* | Number of flight |
flightdate | Date* | Date of flight |
- Mandatory parameters
Response
The method will response with all the information about the loads of flights according to the legs of each flight in the requested dates.
Parameter | Type | Description |
---|---|---|
flightnumber | String | Flight number |
actype | String | The aircraft type |
serviceloadqty | Number | The service load quantity |
rules | Element | Each rule of a flight will be represented in a element, all rules per flight are represented within element |
legs | Element | The following elements are within which represents a leg within |
leg | Element | The following parameters are within leg |
legSTD | Time | Departure leg |
legSTA | Time | Arrival leg |
from | String | Destination βfromβ code |
to | String | Destination βtoβ code |
classes | Element | The following elements are within which represents a leg within |
class | Element | The following parameters are within leg |
classcode | String | Class Code |
paxqty | Number | number of passengers |
genderqty | Element | Element containing the passenger' gender breakdown |
Male | Number | Number of male passengers |
Female | Number | Number of female passengers |
Child | Number | Number of children |
Infant | Number | Number of infants |
totalpaxqty | Number | Total number of passengers on the flight |
totalgenderqty | Element | Element containing the passenger' gender breakdown, the same as for each leg |
cabins | Element | The following parameters are within cabins |
name | String | Cabin name |
code | String | Cabin code |
iatacode | String | IATA code |
qty | Number | Cabin quantity |
childqty | Number | Max children |
infqty | Number | Max infants |