post
https://api.aerocrs.com/v4/getFares
This method will return the current fares for the selected route and date
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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 |
ActivationThis 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 |
| class | String | The class code |
| type | String | The brand name |
| currency | String | The currency used in the fare |
| websiteDiscount | Money | Discount for web bookings. If you are redirecting to company's website, you should multiply this number to the fare |
| chargeType | String | Charge type (e.g citizen, foreigner) |
| chargeTypeCode | String | IATA code for charge type |
| faretype | String | Trip type (Direct / Connection) |
| OWfare | Boolean | Fare use OW fields |
| RTfare | Boolean | Fare use RT fields |
| 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) |
| 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 |
| 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) |
| notification | String | Fare notification |

