post https://api.aerocrs.com/v5/getAllFlightsFromOrigin
This method allows you to get all flights departing from an origin
Request parameters
Parameter | Type | Description |
---|---|---|
origin | String | Destination code |
startdate | Date* | From date |
enddate | Date* | To date |
- Mandatory parameters
Response parameters
The method will response with a list of segments departing from the given origin.
Parameter | Type | Description |
---|---|---|
flights | Element | The following elements are within which represents a flight within |
flight | Element | The following parameters are within flight |
flightid | Number | The flight id |
flightnumber | String | The flight number |
flightdate | Date | The flight date |
flightequipment | String | Aircraft used |
tailnumber | String | The tail number |
seat_plan_reference | String | type of aircraft seat plan |
opsremarks | String | Operational remarks (future use) |
flightlegs | Element | The following elements are within which represents a leg within |
leg | Element | The following parameters are within leg |
origin | String | The origin code |
destination | String | The destination code |
STD | Time | Departure leg |
STA | Time | Arrival leg |
daydiff | number | Returns 1 if flight lands on a different day. |