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

flightcode

int

Code of the flight

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

fareid

Number

The 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

Language
Credentials