post https://api.aerocrs.com/v4/getFareRules
Rules for flight and or class
Request parameters
Parameter | Type | Description |
---|---|---|
fromcode | String | Departure airport code. All flights needs to depart from the same airport |
tocode | String | Departure airport code. All flights needs to depart from the same airport |
flights | Element | An array of flights |
flightid | int | The flightid from getDeepLink response |
flightid | int | Flightid from getDeepLink |
*Mandatory
All of the request parameters are mandatory
Results parameters
Parameter | Type | Description |
---|---|---|
Flights | Element | Holds all the responses and rules |
flightid | int | Same as the requested parameter |
rules | Element | Holds all the rules applicable for this flight |
type | String | Specifies if this is a destination notification, fare notification or flight notification |
text | String | The rule |
Response explaination
If you will not get any response, it means there are no rules applicable for this flight