get https://api.aerocrs.com/v4/getDeepLink
The method will allow you to receive the list of destinations served by AeroCRS airlines.
- Mandatory parameters
Response
The method will response with a list of destinations, including country and additional information.
Parameter | Type | Description |
---|---|---|
count | Number | Number of results |
fltid | Number / Array | Flight ID. Array for connection flights |
airlineDesignator | String | Airline Designator |
airlineICAOcode | String | Airline 3 letter ICAO code |
airlineName | String | Airline name |
fltnum | String | Flight number |
fromcode | String | Destination FROM code |
tocode | String | Destination TO code |
via | String | If this flight is via another destination. (Not a connection flight) |
STD | String | YYYY/MM/DD HH:MM departure time |
STDinUTC | String | YYYY/MM/DD HH:MM departure time in UTC |
STA | String | YYYY/MM/DD HH:MM arrival time |
STAinUTC | String | YYYY/MM/DD HH:MM arrival time in UTC |
airlineLogo | Link | Link to the airline logo |
CompanyChildAgeStart | Number | Applicable child start age according to airline rules |
CompanyChildAgeEnd | Number | Applicable chid start end (inclusive) according to airline rules |
companyINFchargeTAX | Boolean | Airline charge tax on infant |
deeplink | Link | The "deeplink" to the website itinerary page, you can redirect the customer to this page for continuation of his booking on the airline IBE |
direction | String | Direction of the flight (outbound/inbound) |
classes | Array | Array of class codes and their details |
freeseats | Number | Number of free seats for this class |
currency | String | The currency used in the fare |
chargeType | String | Charge type (e.g citizen, foreigner) |
chargeTypeCode | String | IATA code for charge type |
baggageAllowance | Number | Baggage weight allowed on the flight |
baggageUnit | String | Weight unit (e.g Kg) |
fare | Element | Details about the fare related to this class |
rackFare | Element | Details about the rack fare |
adultFare | Money | Fare for adult |
childFare | Money | Fare for child |
infantFare | Money | Fare for infant |
tax | Money | Tax rate |
websiteDiscount | Money | Discount for web bookings. If you are redirecting to company's website, you should multiply this number to the fare |
flighttype | text | Trip type(Direct / Connection) |
numberOfLegs | number | Number of legs for connection trip |
flights | array | Will appear on connections |
services | array | Available options by the airline for this fare: Baggage on flight, etc. |
classCode | string | Class code |
className | string | Class name |
cabinClass | string | Cabin class |
cabinCode | string | Cabin code |
minimumPassengersForBooking | number | Minimum passengers required for this flight |
rules | Array | Array of flight rules, length between 0 to 4 Please note that it is encoded. That means you will need to decode the HTML entities when showing this on your site. |
notification (in classes) | string | Fare notification submitted by the airline. Please note that it is encoded. That means you will need to decode the HTML entities when showing this on your site. |
Connection flight structure
Parameter | Type | Description |
---|---|---|
airlineName | String | Name of the airline |
fltnum | String | Flight Number |
fromcode | String | Departure destination code |
tocode | String | Arrival destination code |
STD | String | YYYY/MM/DD HH:MM departure time |
STA | String | YYYY/MM/DD HH:MM arrival time |
airlineLogo | text | Link to airline logo |
legNumber | number | Leg number in flight |
More understanding of chargetype usage can be found here: https://docs.aerocrs.com/v4.0/reference#available-charge-types