post https://api.aerocrs.com/v5/getLoads
This request will give you a list of loads on flights according to the legs of each flight
ImportantRange of dates must be up to a week.
Request parameters
| Parameter | Type | Description |
|---|---|---|
| fromdate | Date* | Start date of flight requested |
| todate | Date* | End date of flight requested |
* 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 |
|---|---|---|
| flightid | Number | Flight internal code |
| flightnumber | String | Flight number |
| actype | String | The aircraft type |
| serviceloadname | String | Service Load name |
| serviceloadqty | Number | The service load quantity |
| rules | Element | Each rule of a flight will be represented in a <rule> element, all rules per flight are represented within <rules> element |
| rule | String | Free text of flight specific rule |
| legs | Element | The following elements are within <leg> which represents a leg within <legs> |
| 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 |
| paxqty | Number | Passengers quantity of current leg |
| legRestrict | Number | Quantity restrict of current leg |
