post https://api.aerocrs.com/v5/getFares
This method will return the current fares for the selected route and date
Request parameters
Parameter | Type | Description |
---|---|---|
start | Date | Begging of date range |
end | Date | End of date range |
from | String | (Optional) - Departure destination code |
to | String | (Optional) - Arrival destinaion code |
chargetype | String | (Optional) The iataCode chargetype |
currency | String | (optional) The currency short code. This will force prices to be in this requested currency |
Activation
This method will be available starting August 1st, 2018.
Response
The method will response with a list of fares sellable as on the time of the request.
Parameter | Type | Description |
---|---|---|
count | Number | number of fares found |
airlineDesignator | String | Airline Designator |
airlineICAOcode | String | Airline 3 letter ICAO code |
airlinename | String | Airline name |
fromCode | String | Destination FROM code |
toCode | String | Destination TO code |
fromDate | String | Fare flight date range start |
toDate | String | Fare flight date range end |
classes | Array | List of class codes and the quantity available for each one |
adultFareRT | Money | Fare for Adult (Round trip) |
childFareRT | Money | Fare for Child (Round trip) |
infantFareRT | Money | Fare for Infant (Round trip) |
tax1RT | Money | Tax (Round trip) |
tax2RT | Money | Tax (Round trip) |
tax3RT | Money | Tax (Round trip) |
tax4RT | Money | Tax (Round trip) |
adultFareOW | Money | Fare for Adult (One Way) |
childFareOW | Money | Fare for Child (One Way) |
infantFareOW | Money | Fare for Infant (One Way) |
tax1OW | Money | Tax (One Way) |
tax2OW | Money | Tax (One Way) |
tax3OW | Money | Tax (One Way) |
tax4OW | Money | Tax (One Way) |
chargeTaxOnReturnTrip | String | When searching for a RT, this will state if we charge the tax on both legs, first leg only or second leg only |
notification | String | Fare notification |