getFareRules

Rules for flight and or class

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Request parameters

ParameterTypeDescription
fromcodeStringDeparture airport code. All flights needs to depart from the same airport
tocodeStringDeparture airport code. All flights needs to depart from the same airport
flightsElementAn array of flights
flightidintThe flightid from getDeepLink response
flightidintFlightid from getDeepLink
❗️

*Mandatory

All of the request parameters are mandatory

Results parameters

ParameterTypeDescription
FlightsElementHolds all the responses and rules
flightcodeintCode of the flight
rulesElementHolds all the rules applicable for this flight
typeStringSpecifies if this is a destination notification, fare notification or flight notification
textStringThe rule
fareidNumberThe fareid of the requested fare (Applicable for brands)
🚧

Response explaination

If you will not get any response, it means there are no rules applicable for this flight

Body Params
json

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers
string

ID provided to you by AeroCRS

string

Password provided to you by AeroCRS

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json
application/xml