Flight Availability Response
Response Parameters
# | Parameter | Data Type | Required | Description | Example |
---|---|---|---|---|---|
1 | DirectionInd | string | Yes | It specifies the type of travel. | OneWay |
2 | IsPassportMandatory | Boolean | No | It specifies whether the passport details are needed when a Booking is made | True / False |
3 | SequenceNumber | string | No | It specifies the Sequence Number. | |
4 | TicketType | string | Yes | It specifies that the ticket can be e- ticketable | eTicket |
5 | OriginDestinationOptions | Nested Array | Yes | Contains the origin and Destination Itinerary wise details details. | |
5.1 | TotalStops | Int | Yes | It specifies the total number of stops of the itinerary. | 1 |
5.2 | OriginDestinationOption | Nested Array | Yes | Contains the origin and Destination Segment wise details details. | |
5.2.1 | FlightSegment | Sub Array | Yes | Contains the basic details of Flighs. | |
5.2.1.1 | ArrivalAirportLocationCode | string | Yes | Arrival Airport code. | BOM |
5.2.1.2 | ArrivalDateTime | DateTime | Yes | It specific the arrival date & time. | 2024-10-07 03:58:23 |
5.2.1.3 | CabinClassCode | string | Yes | It specifies the selected cabin class. (Y-Economy, S-Premium Economy, C-Business, F- First). | Y |
5.2.1.4 | CabinClassText | string | No | It returns the cabin class type only in case of LCC / WebFares. | REGULAR FARE |
5.2.1.5 | DepartureAirportLocationCode | string | Yes | Departure Airport code. | DEL |
5.2.1.6 | DepartureDateTime | DateTime | Yes | It specifies flight departure date & time. | 2024-10-06 03:58:23 |
5.2.1.7 | Eticket | Boolean | Yes | It specifies whether the flight segment is e-ticketable or not. | True / False |
5.2.1.8 | JourneyDuration | Int | Yes | It specifies the total journey duration in minutes. | 400 |
5.2.1.9 | FlightNumber | string | Yes | It specifies the flight number. | 6278 |
5.2.1.10 | MarketingAirlineCode | string | Yes | It specifies the Marketing Airline Code. | 6E |
5.2.1.11 | MarriageGroup | string | No | It specifies the marriage group indicator | O |
5.2.1.12 | MealCode | string | No | It specifies the meal preference selected. | S |
5.2.1.13 | OperatingAirline | Sub Array | Yes | Contain the Operating airline details. | - |
5.2.1.13.1 | Code | string | Yes | OperatingOperating airline code. | 6E |
5.2.1.13.2 | Equipment | string | Yes | It specifies the Operating aircraft equipment number | M90 |
5.2.1.13.3 | FlightNumber | string | Yes | It specifies the Operating flight number. | 6278 |
5.2.2 | ResBookDesigCode | string | No | It specifies the Booking class. | E |
5.2.3 | ResBookDesigText | string | No | It returns the fare type only in case of LCC / WebFares. | Lowest Fare |
5.2.4 | StopQuantity | Int | Yes | It specifies the number of stops. | 1 |
5.2.5 | StopQuantityInfo | Sub Array | Yes | ||
5.2.6 | SeatsRemaining | Sub Array | Yes | ||
5.2.6.1 | Number | string | Yes | It specifies the number of seats remaining. | 8 |
5.2.6.2 | BelowMinimum | Boolean | Yes | It is used to specify if the seats are < or = zero | True / False |
6 | AirItineraryFareInfo | Sub Array | Yes | Contains the fare details. | |
6.1 | DivideInPartyIndicator | Boolean | Yes | It is used to alert if passenger types have different Booking code | True / False |
6.2 | FareSourceCode | string | Yes | It specifies the unique code provided for the itinerary selected | MzAwMiYzN 1MyJjF |
6.3 | FareType | string | Yes | It specifies the type of fare selected, ((Private-Private Fares, Public- Public fares, WebFare- LCC) | Private |
6.4 | IsRefundable | Boolean | Yes | It specifies whether the selected fare is valid or not. | True / False |
6.5 | ItinTotalFares | Sub Array | Yes | ||
6.5.1 | BaseFare | Sub Array | Yes | Contain the base fare details. | |
6.5.2 | EquivFare | Sub Array | Yes | Contain the base fare details. | |
6.5.3 | ServiceTax | Sub Array | Yes | Contain the base service tax details. | |
6.5.4 | TotalTax | Sub Array | Yes | Contain the base total tax details. | |
6.5.5 | TotalFare | Sub Array | Yes | Contain the total fare details. | |
6.6 | FareBreakdown | Nested Array | Yes | Contain the passenger wise fare and baggage details. | |
6.6.1 | PassengerTypeQuantity | Sub Array | Yes | ||
6.6.1.1 | Code | String | Yes | It specifies the passenger type. (ADT-Adult, CHD-Child, INF-Infant). | ADT |
6.6.1.2 | Quantity | Int | Yes | It specifies the number of passengers. | 2 |
6.6.2 | PassengerFare | Sub Array | Yes | ||
6.6.2.1 | BaseFare | Sub Array | Yes | Contain the base fare details. | |
6.6.2.2 | EquivFare | Sub Array | Yes | Contain the base fare details. | |
6.6.2.3 | ServiceTax | Sub Array | Yes | Contain the base service tax details. | |
6.6.2.4 | Surcharges | Sub Array | Yes | Contain the base Surcharges details. | |
6.6.2.5 | Taxes | Nested Array | Yes | Contain the base tax details. | |
6.6.2.6 | TotalFare | Sub Array | Yes | Contain the total fare details. | |
6.6.3 | Baggage | Sub Array | Yes | Contain the airline wise Cabbage details. | |
6.6.4 | CabinBaggage | Sub Array | Yes | Contain the airline wise Cabin Cabbage details. | |
7 | ValidatingAirlineCode | string | Yes | It specifies the validating airline. | BA |
Important Notes
- • Türkiye Domestic RoundTrip Search - In case of Türkiye domestic round trip search, the Outbound & Inbound itinerary details will be available separately. The Outbound results will be available in the AirSearchResult parameter and the Inbound results will be available in the AirSearchResultInbound parameter.
- • ResBookDesigCode - Denotes RBD (Reservation Booking Designator). RBD is the code used in reservation transactions to identify the Booking class. RBD is used in reservations transactions to identify a compartment on an aircraft and/or a special inventory control. We advise you to read the Booking class returned in the ResBookDesigCode Json and show it in the flight result page.
- • ResBookDesigText - This is returned only in case of LCC (WebFares). In case of LCC fares there is no RBD. By default Flight API returns economy class in the search results. We advise you to read ResBookDesigText which denotes the Booking class / type in case of LCC fares. Also we suggest you to read CabinClassText & ResBookDesignCode Json returned.
- • IsPassportMandatory - It specifies whether the passport details are needed when a Booking is made. The value may be different in the Revalidate API and that should consider while Booking.
Error Response
{ "Errors": { "ErrorCode": "FLSEARCHVAL", "ErrorMessage": "Invalid ip_address supplied" } }
Success Response
{ "AirSearchResponse": { "session_id": "MTY2ODE1NzgyMl8yNjA4NDg=", "supplier": "supplier1", "AirSearchResult": { "FareItineraries": [ { "FareItinerary": { "DirectionInd": "Return", "AirItineraryFareInfo": { "DivideInPartyIndicator": false, "FareSourceCode": "aklPR2dlWXIwcHlQMDRjYTY5ZnRYSGxlYjI3WEo2QlV6U29NRU0vZjBnZHNYVFhLd1FMT0xXVkZzSzk5YkRBZjNiMXJFUHNSbE5ST2pMSi9rQmtveGJWY2x5VG1qMnZicEN2SWl0ODBDcVNDQkt3QXFmcjRTQ3pCQ0R5UG5qa1o4c0JhVm5ocHovTkdGWkxzZEtmSHp3PT0=", "FareInfos": [], "FareType": "Private", "ResultIndex": "", "IsRefundable": false, "ItinTotalFares": { "BaseFare": { "Amount": "399.15", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "399.15", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "TotalTax": { "Amount": "133.79", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "TotalFare": { "Amount": "532.92", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "FareBreakdown": [ { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "242.02", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "242.02", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "TR", "Amount": "29.32", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "TR", "Amount": "29.29", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "1.65", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "302.27", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "ADT", "Quantity": 2 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] }, { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "121.01", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "121.01", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "TR", "Amount": "14.66", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "TR", "Amount": "14.65", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "0.82", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "151.14", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "CHD", "Quantity": 1 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] }, { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "36.12", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "36.12", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "XT", "Amount": "21.67", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "XT", "Amount": "21.67", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "0.06", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "79.51", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "INF", "Quantity": 1 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] } ], "SplitItinerary": false }, "OriginDestinationOptions": [ { "OriginDestinationOption": [ { "FlightSegment": { "ArrivalAirportLocationCode": "BOM", "ArrivalDateTime": "2024-10-07 03:58:23", "CabinClassCode": "Y", "CabinClassText": "REGULAR FARE", "DepartureAirportLocationCode": "DEL", "DepartureDateTime": "2024-10-06 03:58:23", "Eticket": true, "JourneyDuration": 130, "FlightNumber": "6278", "MarketingAirlineCode": "6E", "MarketingAirlineName": "Indigo Airlines", "MarriageGroup": "", "MealCode": "", "OperatingAirline": { "Code": "6E", "Name": "Indigo Airlines", "Equipment": "320", "FlightNumber": "6278" } }, "ResBookDesigCode": "", "ResBookDesigText": "", "SeatsRemaining": { "BelowMinimum": false, "Number": 4 }, "StopQuantity": 0, "StopQuantityInfo": { "ArrivalDateTime": "", "DepartureDateTime": "", "Duration": "", "LocationCode": "" } } ], "TotalStops": 0 }, { "OriginDestinationOption": [ { "FlightSegment": { "ArrivalAirportLocationCode": "DEL", "ArrivalDateTime": "2024-10-07 03:58:23", "CabinClassCode": "Y", "CabinClassText": "REGULAR FARE", "DepartureAirportLocationCode": "BOM", "DepartureDateTime": "2024-10-06 03:58:23", "Eticket": true, "JourneyDuration": 130, "FlightNumber": "168", "MarketingAirlineCode": "6E", "MarketingAirlineName": "Indigo Airlines", "MarriageGroup": "", "MealCode": "", "OperatingAirline": { "Code": "6E", "Name": "Indigo Airlines", "Equipment": "320", "FlightNumber": "168" } }, "ResBookDesigCode": "", "ResBookDesigText": "", "SeatsRemaining": { "BelowMinimum": false, "Number": 4 }, "StopQuantity": 0, "StopQuantityInfo": { "ArrivalDateTime": "", "DepartureDateTime": "", "Duration": "", "LocationCode": "" } } ], "TotalStops": 0 } ], "IsPassportMandatory": "", "SequenceNumber": "", "TicketType": "", "ValidatingAirlineCode": "6E" } }, { "FareItinerary": { "DirectionInd": "Return", "AirItineraryFareInfo": { "DivideInPartyIndicator": false, "FareSourceCode": "bXBqNWJNdjBPMStaamJpNldLY1hVUzNCM3k0cnN0YlNhREdVUi9kaGtvSSs1WUMwZW9XR3E4dUx0alBkM25PTm92emRwSGpnMTNidmxrR0twdXFCeDFPdC9heENqcWlDVmwybFFTeVNNOVNyczFDbkVJT0VSZXZLbjFDMG5MOXVYUkxGVTFubENWZE9RMFVPMUt5YUVnPT0=", "FareInfos": [], "FareType": "Private", "ResultIndex": "", "IsRefundable": false, "ItinTotalFares": { "BaseFare": { "Amount": "399.15", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "399.15", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "TotalTax": { "Amount": "133.79", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "TotalFare": { "Amount": "532.92", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "FareBreakdown": [ { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "242.02", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "242.02", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "TR", "Amount": "29.32", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "TR", "Amount": "29.29", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "1.65", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "302.27", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "ADT", "Quantity": 2 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] }, { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "121.01", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "121.01", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "TR", "Amount": "14.66", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "TR", "Amount": "14.65", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "0.82", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "151.14", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "CHD", "Quantity": 1 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] }, { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "36.12", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "36.12", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "XT", "Amount": "21.67", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "XT", "Amount": "21.67", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "0.06", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "79.51", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "INF", "Quantity": 1 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] } ], "SplitItinerary": false }, "OriginDestinationOptions": [ { "OriginDestinationOption": [ { "FlightSegment": { "ArrivalAirportLocationCode": "BOM", "ArrivalDateTime": "2024-10-07 03:58:23", "CabinClassCode": "Y", "CabinClassText": "REGULAR FARE", "DepartureAirportLocationCode": "DEL", "DepartureDateTime": "2024-10-06 03:58:23", "Eticket": true, "JourneyDuration": 135, "FlightNumber": "2176", "MarketingAirlineCode": "6E", "MarketingAirlineName": "Indigo Airlines", "MarriageGroup": "", "MealCode": "", "OperatingAirline": { "Code": "6E", "Name": "Indigo Airlines", "Equipment": "320", "FlightNumber": "2176" } }, "ResBookDesigCode": "", "ResBookDesigText": "", "SeatsRemaining": { "BelowMinimum": false, "Number": 4 }, "StopQuantity": 0, "StopQuantityInfo": { "ArrivalDateTime": "", "DepartureDateTime": "", "Duration": "", "LocationCode": "" } } ], "TotalStops": 0 }, { "OriginDestinationOption": [ { "FlightSegment": { "ArrivalAirportLocationCode": "DEL", "ArrivalDateTime": "2024-10-07 03:58:23", "CabinClassCode": "Y", "CabinClassText": "REGULAR FARE", "DepartureAirportLocationCode": "BOM", "DepartureDateTime": "2024-10-06 03:58:23", "Eticket": true, "JourneyDuration": 130, "FlightNumber": "2172", "MarketingAirlineCode": "6E", "MarketingAirlineName": "Indigo Airlines", "MarriageGroup": "", "MealCode": "", "OperatingAirline": { "Code": "6E", "Name": "Indigo Airlines", "Equipment": "320", "FlightNumber": "2172" } }, "ResBookDesigCode": "", "ResBookDesigText": "", "SeatsRemaining": { "BelowMinimum": false, "Number": 4 }, "StopQuantity": 0, "StopQuantityInfo": { "ArrivalDateTime": "", "DepartureDateTime": "", "Duration": "", "LocationCode": "" } } ], "TotalStops": 0 } ], "IsPassportMandatory": "", "SequenceNumber": "", "TicketType": "", "ValidatingAirlineCode": "6E" } } ] } } }
Uçuş Müsaitlik Yanıtı
Yanıt Parametreleri
# | Parametre | Veri Tipi | Zorunlu | Açıklama | Örnek |
---|---|---|---|---|---|
1 | DirectionInd | string | Yes | Seyahat tipini belirtir. | OneWay |
2 | IsPassportMandatory | Boolean | No | Bir rezervasyon yapıldığında pasaport bilgilerinin gerekli olup olmadığını belirtir | True / False |
3 | SequenceNumber | string | No | Sıra Numarasını belirtir. | |
4 | TicketType | string | Yes | Biletin e-biletli olabileceğini belirtir | eTicket |
5 | OriginDestinationOptions | Nested Array | Yes | Başlangıç ve Varış Noktası Seyahat Programı açısından ayrıntıları içerir. | |
5.1 | TotalStops | Int | Yes | Güzergahın toplam durak sayısını belirtir. | 1 |
5.2 | OriginDestinationOption | Nested Array | Yes | Başlangıç ve Varış segment bazında ayrıntıları içerir. | |
5.2.1 | FlightSegment | Sub Array | Yes | Uçuşların temel detaylarını içerir. | |
5.2.1.1 | ArrivalAirportLocationCode | string | Yes | Varış Havalimanı kodu. | BOM |
5.2.1.2 | ArrivalDateTime | DateTime | Yes | Varış tarihi ve saatini belirtir. | 2024-10-07 03:58:23 |
5.2.1.3 | CabinClassCode | string | Yes | Seçilen kabin sınıfını belirtir. (Y-Economy, S-Premium Economy, C-Business, F- First). | Y |
5.2.1.4 | CabinClassText | string | No | Yalnızca LCC / WebFares durumunda kabin sınıfı türünü döndürür. | REGULAR FARE |
5.2.1.5 | DepartureAirportLocationCode | string | Yes | Kalkış Havalimanı kodu. | DEL |
5.2.1.6 | DepartureDateTime | DateTime | Yes | Uçuş kalkış tarihi ve saatini belirtir. | 2024-10-06 03:58:23 |
5.2.1.7 | Eticket | Boolean | Yes | Uçuş segmentinin e-biletlenebilir olup olmadığını belirtir. | True / False |
5.2.1.8 | JourneyDuration | Int | Yes | Toplam yolculuk süresini dakika cinsinden belirtir. | 400 |
5.2.1.9 | FlightNumber | string | Yes | Uçuş numarasını belirtir. | 6278 |
5.2.1.10 | MarketingAirlineCode | string | Yes | Pazarlama Havayolu Kodunu belirtir. | 6E |
5.2.1.11 | MarriageGroup | string | No | Evlilik grubu göstergesini belirtir | O |
5.2.1.12 | MealCode | string | No | Seçilen öğün tercihini belirtir. | S |
5.2.1.13 | OperatingAirline | Sub Array | Yes | İşleten havayolu ayrıntılarını içerir. | - |
5.2.1.13.1 | Code | string | Yes | İşleten havayolu kodu. | 6E |
5.2.1.13.2 | Equipment | string | Yes | İşleten hava aracı ekipman numarasını belirtir. | M90 |
5.2.1.13.3 | FlightNumber | string | Yes | İşleten uçuş numarasını belirtir. | 6278 |
5.2.2 | ResBookDesigCode | string | No | Rezervasyon sınıfını belirtir. | E |
5.2.3 | ResBookDesigText | string | No | Yalnızca LCC / WebFares durumunda ücret türünü döndürür. | Lowest Fare |
5.2.4 | StopQuantity | Int | Yes | Durak sayısını belirtir. | 1 |
5.2.5 | StopQuantityInfo | Sub Array | Yes | ||
5.2.6 | SeatsRemaining | Sub Array | Yes | ||
5.2.6.1 | Number | string | Yes | Kalan koltuk sayısını belirtir. | 8 |
5.2.6.2 | BelowMinimum | Boolean | Yes | Koltukların < veya = zero olup olmadığını belirtmek için kullanılır | True / False |
6 | AirItineraryFareInfo | Sub Array | Yes | Ücret detaylarını içerir. | |
6.1 | DivideInPartyIndicator | Boolean | Yes | Yolcu tiplerinin farklı rezervasyon koduna sahip olması durumunda uyarı vermek için kullanılır | True / False |
6.2 | FareSourceCode | string | Yes | Seçilen güzergah için sağlanan benzersiz kodu belirtir | MzAwMiYzN 1MyJjF |
6.3 | FareType | string | Yes | Seçilen ücret tipini belirtir, ((Private -Private Fares, Public - Public fares, WebFare - LCC) | Private |
6.4 | IsRefundable | Boolean | Yes | Seçilen ücretin geçerli olup olmadığını belirtir. | True / False |
6.5 | ItinTotalFares | Sub Array | Yes | ||
6.5.1 | BaseFare | Sub Array | Yes | Temel ücret detaylarını içerir. | |
6.5.2 | EquivFare | Sub Array | Yes | Temel ücret detaylarını içerir. | |
6.5.3 | ServiceTax | Sub Array | Yes | Temel hizmet vergisi detaylarını içerir. | |
6.5.4 | TotalTax | Sub Array | Yes | Temel toplam vergi detaylarını içerir. | |
6.5.5 | TotalFare | Sub Array | Yes | Toplam ücret detaylarını içerir. | |
6.6 | FareBreakdown | Nested Array | Yes | Yolcu bazında ücret ve bagaj detaylarını içerir. | |
6.6.1 | PassengerTypeQuantity | Sub Array | Yes | ||
6.6.1.1 | Code | String | Yes | Yolcu tipini belirtir. (ADT-Yetişkin, CHD-Çocuk, INF-Bebek). | ADT |
6.6.1.2 | Quantity | Int | Yes | Yolcuların sayısını belirtir. | 2 |
6.6.2 | PassengerFare | Sub Array | Yes | ||
6.6.2.1 | BaseFare | Sub Array | Yes | Temel ücret detaylarını içerir. | |
6.6.2.2 | EquivFare | Sub Array | Yes | Temel ücret detaylarını içerir. | |
6.6.2.3 | ServiceTax | Sub Array | Yes | Temel hizmet vergisi detaylarını içerir. | |
6.6.2.4 | Surcharges | Sub Array | Yes | Temel Ek Ücret detaylarını içerir. | |
6.6.2.5 | Taxes | Nested Array | Yes | Temel vergi detaylarını içerir. | |
6.6.2.6 | TotalFare | Sub Array | Yes | Toplam ücret detaylarını içerir. | |
6.6.3 | Baggage | Sub Array | Yes | Havayolu bazında bagaj ayrıntılarını içerir. | |
6.6.4 | CabinBaggage | Sub Array | Yes | Havayolu bazında kabin bagajı ayrıntılarını içerir. | |
7 | ValidatingAirlineCode | string | Yes | Doğrulayıcı havayolunu belirtir. | BA |
Önemli Notlar
- • Türkiye Yurtiçi Gidiş Dönüş Arama - Türkiye iç hat gidiş-dönüş araması durumunda, Gidiş ve Dönüş seyahat ayrıntıları ayrı olarak sunulacaktır. Gidiş sonuçları AirSearchResult parametresinde ve Dönüş sonuçları AirSearchResultInbound parametresinde bulunacaktır.
- • ResBookDesigCode - RBD'yi (Rezervasyon Kitaplama Tanımlayıcısı) belirtir. RBD, rezervasyon işlemlerinde rezervasyon sınıfını tanımlamak için kullanılan koddur. RBD, bir uçağın bölmesini ve/veya özel bir envanter kontrolünü tanımlamak için kullanılır. Dönen ResBookDesigCode JSON'undaki rezervasyon sınıfını okumanızı ve uçuş sonuçları sayfasında göstermeyi tavsiye ederiz.
- • ResBookDesigText - Bu yalnızca LCC (WebFares) durumunda döner. LCC tarifelerinde RBD bulunmaz. Varsayılan olarak, Flight API arama sonuçlarında ekonomi sınıfı döner. LCC tarifelerinde rezervasyon sınıfını / türünü belirten ResBookDesigText'i okumanızı öneririz. Ayrıca, dönen CabinClassText ve ResBookDesignCode JSON'larını da okumanızı tavsiye ederiz.
- • IsPassportMandatory - Bir rezervasyon yapıldığında pasaport bilgilerine ihtiyaç olup olmadığını belirtir. Değer, yeniden doğrulama API'sinde farklı olabilir ve rezervasyon yaparken buna dikkat edilmelidir.
Hata Yanıtı
{ "Errors": { "ErrorCode": "FLSEARCHVAL", "ErrorMessage": "Invalid ip_address supplied" } }
Başarı Yanıtı
{ "AirSearchResponse": { "session_id": "MTY2ODE1NzgyMl8yNjA4NDg=", "supplier": "supplier1", "AirSearchResult": { "FareItineraries": [ { "FareItinerary": { "DirectionInd": "Return", "AirItineraryFareInfo": { "DivideInPartyIndicator": false, "FareSourceCode": "aklPR2dlWXIwcHlQMDRjYTY5ZnRYSGxlYjI3WEo2QlV6U29NRU0vZjBnZHNYVFhLd1FMT0xXVkZzSzk5YkRBZjNiMXJFUHNSbE5ST2pMSi9rQmtveGJWY2x5VG1qMnZicEN2SWl0ODBDcVNDQkt3QXFmcjRTQ3pCQ0R5UG5qa1o4c0JhVm5ocHovTkdGWkxzZEtmSHp3PT0=", "FareInfos": [], "FareType": "Private", "ResultIndex": "", "IsRefundable": false, "ItinTotalFares": { "BaseFare": { "Amount": "399.15", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "399.15", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "TotalTax": { "Amount": "133.79", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "TotalFare": { "Amount": "532.92", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "FareBreakdown": [ { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "242.02", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "242.02", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "TR", "Amount": "29.32", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "TR", "Amount": "29.29", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "1.65", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "302.27", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "ADT", "Quantity": 2 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] }, { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "121.01", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "121.01", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "TR", "Amount": "14.66", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "TR", "Amount": "14.65", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "0.82", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "151.14", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "CHD", "Quantity": 1 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] }, { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "36.12", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "36.12", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "XT", "Amount": "21.67", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "XT", "Amount": "21.67", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "0.06", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "79.51", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "INF", "Quantity": 1 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] } ], "SplitItinerary": false }, "OriginDestinationOptions": [ { "OriginDestinationOption": [ { "FlightSegment": { "ArrivalAirportLocationCode": "BOM", "ArrivalDateTime": "2024-10-07 03:58:23", "CabinClassCode": "Y", "CabinClassText": "REGULAR FARE", "DepartureAirportLocationCode": "DEL", "DepartureDateTime": "2024-10-06 03:58:23", "Eticket": true, "JourneyDuration": 130, "FlightNumber": "6278", "MarketingAirlineCode": "6E", "MarketingAirlineName": "Indigo Airlines", "MarriageGroup": "", "MealCode": "", "OperatingAirline": { "Code": "6E", "Name": "Indigo Airlines", "Equipment": "320", "FlightNumber": "6278" } }, "ResBookDesigCode": "", "ResBookDesigText": "", "SeatsRemaining": { "BelowMinimum": false, "Number": 4 }, "StopQuantity": 0, "StopQuantityInfo": { "ArrivalDateTime": "", "DepartureDateTime": "", "Duration": "", "LocationCode": "" } } ], "TotalStops": 0 }, { "OriginDestinationOption": [ { "FlightSegment": { "ArrivalAirportLocationCode": "DEL", "ArrivalDateTime": "2024-10-07 03:58:23", "CabinClassCode": "Y", "CabinClassText": "REGULAR FARE", "DepartureAirportLocationCode": "BOM", "DepartureDateTime": "2024-10-06 03:58:23", "Eticket": true, "JourneyDuration": 130, "FlightNumber": "168", "MarketingAirlineCode": "6E", "MarketingAirlineName": "Indigo Airlines", "MarriageGroup": "", "MealCode": "", "OperatingAirline": { "Code": "6E", "Name": "Indigo Airlines", "Equipment": "320", "FlightNumber": "168" } }, "ResBookDesigCode": "", "ResBookDesigText": "", "SeatsRemaining": { "BelowMinimum": false, "Number": 4 }, "StopQuantity": 0, "StopQuantityInfo": { "ArrivalDateTime": "", "DepartureDateTime": "", "Duration": "", "LocationCode": "" } } ], "TotalStops": 0 } ], "IsPassportMandatory": "", "SequenceNumber": "", "TicketType": "", "ValidatingAirlineCode": "6E" } }, { "FareItinerary": { "DirectionInd": "Return", "AirItineraryFareInfo": { "DivideInPartyIndicator": false, "FareSourceCode": "bXBqNWJNdjBPMStaamJpNldLY1hVUzNCM3k0cnN0YlNhREdVUi9kaGtvSSs1WUMwZW9XR3E4dUx0alBkM25PTm92emRwSGpnMTNidmxrR0twdXFCeDFPdC9heENqcWlDVmwybFFTeVNNOVNyczFDbkVJT0VSZXZLbjFDMG5MOXVYUkxGVTFubENWZE9RMFVPMUt5YUVnPT0=", "FareInfos": [], "FareType": "Private", "ResultIndex": "", "IsRefundable": false, "ItinTotalFares": { "BaseFare": { "Amount": "399.15", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "399.15", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "TotalTax": { "Amount": "133.79", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "TotalFare": { "Amount": "532.92", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "FareBreakdown": [ { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "242.02", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "242.02", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "TR", "Amount": "29.32", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "TR", "Amount": "29.29", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "1.65", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "302.27", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "ADT", "Quantity": 2 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] }, { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "121.01", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "121.01", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "TR", "Amount": "14.66", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "TR", "Amount": "14.65", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "0.82", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "151.14", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "CHD", "Quantity": 1 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] }, { "FareBasisCode": [], "Baggage": [ "SB", "SB" ], "CabinBaggage": [ "SB", "SB" ], "PassengerFare": { "BaseFare": { "Amount": "36.12", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "EquivFare": { "Amount": "36.12", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "ServiceTax": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Surcharges": { "Amount": "0.00", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, "Taxes": [ { "TaxCode": "XT", "Amount": "21.67", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "XT", "Amount": "21.67", "CurrencyCode": "TRY", "DecimalPlaces": "2" }, { "TaxCode": "GST", "Amount": "0.06", "CurrencyCode": "TRY", "DecimalPlaces": "2" } ], "TotalFare": { "Amount": "79.51", "CurrencyCode": "TRY", "DecimalPlaces": "2" } }, "PassengerTypeQuantity": { "Code": "INF", "Quantity": 1 }, "PenaltyDetails": [ { "Currency": "TRY", "RefundAllowed": false, "RefundPenaltyAmount": "0.00", "ChangeAllowed": false, "ChangePenaltyAmount": "0.00" } ] } ], "SplitItinerary": false }, "OriginDestinationOptions": [ { "OriginDestinationOption": [ { "FlightSegment": { "ArrivalAirportLocationCode": "BOM", "ArrivalDateTime": "2024-10-07 03:58:23", "CabinClassCode": "Y", "CabinClassText": "REGULAR FARE", "DepartureAirportLocationCode": "DEL", "DepartureDateTime": "2024-10-06 03:58:23", "Eticket": true, "JourneyDuration": 135, "FlightNumber": "2176", "MarketingAirlineCode": "6E", "MarketingAirlineName": "Indigo Airlines", "MarriageGroup": "", "MealCode": "", "OperatingAirline": { "Code": "6E", "Name": "Indigo Airlines", "Equipment": "320", "FlightNumber": "2176" } }, "ResBookDesigCode": "", "ResBookDesigText": "", "SeatsRemaining": { "BelowMinimum": false, "Number": 4 }, "StopQuantity": 0, "StopQuantityInfo": { "ArrivalDateTime": "", "DepartureDateTime": "", "Duration": "", "LocationCode": "" } } ], "TotalStops": 0 }, { "OriginDestinationOption": [ { "FlightSegment": { "ArrivalAirportLocationCode": "DEL", "ArrivalDateTime": "2024-10-07 03:58:23", "CabinClassCode": "Y", "CabinClassText": "REGULAR FARE", "DepartureAirportLocationCode": "BOM", "DepartureDateTime": "2024-10-06 03:58:23", "Eticket": true, "JourneyDuration": 130, "FlightNumber": "2172", "MarketingAirlineCode": "6E", "MarketingAirlineName": "Indigo Airlines", "MarriageGroup": "", "MealCode": "", "OperatingAirline": { "Code": "6E", "Name": "Indigo Airlines", "Equipment": "320", "FlightNumber": "2172" } }, "ResBookDesigCode": "", "ResBookDesigText": "", "SeatsRemaining": { "BelowMinimum": false, "Number": 4 }, "StopQuantity": 0, "StopQuantityInfo": { "ArrivalDateTime": "", "DepartureDateTime": "", "Duration": "", "LocationCode": "" } } ], "TotalStops": 0 } ], "IsPassportMandatory": "", "SequenceNumber": "", "TicketType": "", "ValidatingAirlineCode": "6E" } } ] } } }