Flight Product
Departure Auto Complete Method
Last Update Date: | 02.05.2020 |
---|---|
Method Adress | /api/productservice/getdepartureautocomplete |
Method Type | POST |
Token Required | YES |
OneWay Request Sample
If service type is 1 it means one way.
{
"ProductType": "Flight",
"Query": "IST",
"ServiceType": 1,
"Culture": "en-US",
"currency": "EUR"
}
Roundtrip Request Sample
If service type is 2 it means round trip.
{
"ProductType": "Flight",
"Query": "IST",
"ServiceType": 2,
"Culture": "en-US",
"currency": "EUR"
}
Response Sample
The type in the response means Autocomplete Response Types
{
"header":{
"requestId":"925b2ff0-347b-40b0-8414-3f43f87359b7",
"success":true,
"messages":[
{
"id":10000000,
"code":"OperationCompleted",
"messageType":2,
"message":"Operation was completed successfully"
}
]
},
"body":{
"items":[
{
"type":1,
"geolocation":{
"longitude":"28.81460600",
"latitude":"40.97692200"
},
"city":{
"id":"-IST",
"name":"Istanbul, Turkey (All)"
},
"provider":3
},
{
"type":3,
"geolocation":{
"longitude":"28.81460600",
"latitude":"40.97692200"
},
"airport":{
"id":"IST",
"name":"Istanbul, Atatürk International Airport, Turkey (IST)"
},
"provider":3
},
{
"type":3,
"geolocation":{
"longitude":"29.30921900",
"latitude":"40.89855300"
},
"airport":{
"id":"SAW",
"name":"Istanbul, Sabiha Gökçen International Airport, Turkey (SAW)"
},
"provider":3
}
]
}
}
Arrival Auto Complate Method
Last Update Date: | 02.05.2020 |
---|---|
Method Adress | /api/productservice/getarrivalautocomplete |
Method Type | POST |
Token Required | YES |
OneWay Request Sample
If service type is 1 it means one way.
{
"ProductType": "Flight",
"Query": "AYT",
"ServiceType": 1,
<!--This values in Departure Auto Complete response.-->
"DepartureLocations": [
{
"type": 2,
"id": "-IST"
}
],
"Culture": "en-US",
"currency": "EUR"
}
Roundtrip Request Sample
If service type is 2 it means round trip.
{
"ProductType": "Flight",
"Query": "AYT",
"ServiceType": 2,
"DepartureLocations": [
{
"type": 2,
"id": "-IST"
}
],
"Culture": "en-US",
"currency": "EUR"
}
Response Sample
{
"header":{
"requestId":"a941165b-0480-4c0c-8b7a-7c7475e949ef",
"success":true,
"messages":[
{
"id":10000000,
"code":"OperationCompleted",
"messageType":2,
"message":"Operation was completed successfully"
}
]
},
"body":{
"items":[
{
"type":3,
"geolocation":{
"longitude":"30.80046100",
"latitude":"36.89873100"
},
"airport":{
"id":"AYT",
"name":"Antalya, Antalya International Airport, Turkey (AYT)"
},
"provider":3
}
]
}
}
Check In Dates Method
Last Update Date: | 02.05.2020 |
---|---|
Method Adress | /api/productservice/getcheckindates |
Method Type | POST |
Token Required | YES |
Request Sample
{
"ProductType": 3,
"DepartureLocations": [
{
"Type": 1,
"Id": "5"
}
],
"ArrivalLocations": []
}
Response Sample
{"dates": [
"2021-05-02T00:00:00+03:00",
"2021-05-03T00:00:00+03:00",
"2021-05-04T00:00:00+03:00",
"2021-05-05T00:00:00+03:00",
"2021-05-06T00:00:00+03:00",
"2021-05-07T00:00:00+03:00",
"2021-05-08T00:00:00+03:00",
"2021-05-09T00:00:00+03:00",
"2021-05-10T00:00:00+03:00",
"2021-05-11T00:00:00+03:00",
"2021-05-12T00:00:00+03:00",
"2021-05-13T00:00:00+03:00",
"2021-05-14T00:00:00+03:00",
"2021-05-15T00:00:00+03:00",
"2021-05-16T00:00:00+03:00",
"2021-05-17T00:00:00+03:00",
"2021-05-18T00:00:00+03:00",
"2021-05-19T00:00:00+03:00",
"2021-05-20T00:00:00+03:00",
"2021-05-21T00:00:00+03:00",
"2021-05-22T00:00:00+03:00",
"2021-05-23T00:00:00+03:00",
"2021-05-24T00:00:00+03:00",
"2021-05-25T00:00:00+03:00",
"2021-05-26T00:00:00+03:00",
"2021-05-27T00:00:00+03:00"
}
Price Search Method
Last Update Date: | 02.05.2020 |
---|---|
Method Adress | /api/productservice/pricesearch |
Method Type | POST |
Token Required | NO |
OneWay Request Sample
Click to reach the product types. If service type is 1 it means one way.
{
"ProductType": 3,
"ServiceTypes": [
"1"
],
"CheckIn": "2021-08-24",
"Passengers": [
{
"type": 1,
"count": 1
},
{
"type": 2,
"count": "1"
},
{
"type": 3,
"count": "1"
},
{
"type": 4,
"count": "1"
}
],
"DepartureLocations": [
{
"id": "-IST",
"type": 2
}
],
"ArrivalLocations": [
{
"id": "AYT",
"type": 5
}
],
"Culture": "en-US",
"Currency": "EUR"
}
OneWay Response Sample
{
"body": {
"searchId": "bc2c031f-fe2a-4eea-a49b-c137820a215f",
"expiresOn": "2019-12-09T07:15:10.4404848Z",
"flights": [
{
"provider": 3,
"id": "2fde6f3e-5885-4ac6-88a2-6ed722cce765",
"items": [
{
"flightNo": "TK2936",
"pnlName": "TK2936",
"flightDate": "2021-08-24T21:05:00",
"airline": {
"internationalCode": "TK",
"thumbnail": "/images/other/3/1/0/3/2/TK/turkish_airlines.jpg",
"logo": "/images/other/3/1/0/3/1/TK/turkish_airlines.jpg",
"id": "TK",
"name": "Turkish Airlines"
},
"duration": 75,
"dayChange": 0,
"departure": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Istanbul",
"internationalName": "Istanbul",
"countryId": "TR",
"provider": 3,
"isTopRegion": false,
"id": "IST"
},
"airport": {
"geolocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
},
"name": "Sabiha Gokcen International Airport",
"id": "SAW"
},
"date": "2021-08-24T21:05:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"arrival": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Antalya",
"internationalName": "Antalya",
"countryId": "TR",
"provider": 3,
"isTopRegion": false,
"id": "AYT"
},
"airport": {
"geolocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
},
"name": "Antalya International Airport",
"id": "AYT"
},
"date": "2021-08-24T22:20:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"flightClass": {
"id": "P",
"name": "Promosyon"
},
"route": 1,
"stopCount": 1,
"segments": [
{
"id": "1",
"flightNo": "TK2936",
"pnlName": "TK2936",
"flightClass": {
"id": "P",
"name": "Promosyon"
},
"airline": {
"internationalCode": "TK",
"thumbnail": "/images/other/3/1/0/3/2/TK/turkish_airlines.jpg",
"logo": "/images/other/3/1/0/3/1/TK/turkish_airlines.jpg",
"id": "TK",
"name": "Turkish Airlines"
},
"departure": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Istanbul",
"internationalName": "Istanbul",
"provider": 3,
"isTopRegion": false,
"id": "IST"
},
"airport": {
"geolocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
},
"name": "Sabiha Gokcen International Airport",
"id": "SAW"
},
"date": "2021-08-24T21:05:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"arrival": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Antalya",
"internationalName": "Antalya",
"provider": 3,
"isTopRegion": false,
"id": "AYT"
},
"airport": {
"geolocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
},
"name": "Antalya International Airport",
"id": "AYT"
},
"date": "2021-08-24T22:20:00",
"geoLocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
}
},
"duration": 75,
"baggageInformations": [
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 1
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 2
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 3
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 4
}
],
"services": [
{
"thumbnail": "/vectors/3/1/1/0/FS/free_seat_selection",
"id": "FS",
"name": "Free seat selection"
},
{
"thumbnail": "/vectors/3/1/1/0/FM/free_meals",
"id": "FM",
"name": "Free Meals"
}
],
"departureTerminal": ""
}
],
"flightProvider": {
"id": "PXMTK",
"name": "Paximum THY"
},
"baggageInformations": [
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 1
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 2
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 3
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 4
}
],
"passengers": [
{
"type": 1,
"count": 1
},
{
"type": 2,
"count": 1
},
{
"type": 3,
"count": 1
},
{
"type": 4,
"count": 1
}
],
"flightType": 0,
"provider": 3
}
],
"availableSeatCount": 9,
"availableSeatCountType": 0,
"offer": {
"singleAdultPrice": {
"amount": 25.03,
"currency": "EUR"
},
"serviceFee": {
"amount": 0,
"currency": "EUR"
},
"hasBrand": true,
"flightBrandInfo": {
"features": [
{
"commercialName": "Carry On Baggage 1X8KG",
"serviceGroup": 1,
"pricingType": 0
},
{
"commercialName": "Checked Baggage 1X15KG",
"serviceGroup": 1,
"pricingType": 0
},
{
"commercialName": "Changable",
"serviceGroup": 0,
"pricingType": 1
},
{
"commercialName": "Refundable",
"serviceGroup": 0,
"pricingType": 1
},
{
"commercialName": "ECONOMY CLASS MEAL",
"serviceGroup": 5,
"pricingType": 0
}
],
"id": "EF",
"name": "Eco Fly"
},
"expiresOn": "2019-12-09T07:15:10.4404848Z",
"offerId": "3$3$a82302e6-dbea-43e9-8aa7-77fdec1465d8|b1748778-6227-4346-a137-fe1b1feeaa52|05ff2e1e-3981-48dd-b82f-a6c8fb49060c|1|20200824|20200824|1$1|2$1|3$1|4$1",
"price": {
"amount": 80.41,
"currency": "EUR"
},
"provider": 3
},
"reservableInfo": {
"reservable": true
}
},
{
"provider": 3,
"id": "b5e458c0-b272-4b0e-a0eb-81d3a11806d0",
"items": [
{
"flightNo": "TK2988",
"pnlName": "TK2988",
"flightDate": "2021-08-24T08:15:00",
"airline": {
"internationalCode": "TK",
"thumbnail": "/images/other/3/1/0/3/2/TK/turkish_airlines.jpg",
"logo": "/images/other/3/1/0/3/1/TK/turkish_airlines.jpg",
"id": "TK",
"name": "Turkish Airlines"
},
"duration": 75,
"dayChange": 0,
"departure": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Istanbul",
"internationalName": "Istanbul",
"provider": 3,
"isTopRegion": false,
"id": "IST"
},
"airport": {
"geolocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
},
"name": "Sabiha Gokcen International Airport",
"id": "SAW"
},
"date": "2021-08-24T08:15:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"arrival": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Antalya",
"internationalName": "Antalya",
"provider": 3,
"isTopRegion": false,
"id": "AYT"
},
"airport": {
"geolocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
},
"name": "Antalya International Airport",
"id": "AYT"
},
"date": "2021-08-24T09:30:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"flightClass": {
"id": "V",
"name": "Promosyon"
},
"route": 1,
"stopCount": 1,
"segments": [
{
"id": "1",
"flightNo": "TK2988",
"pnlName": "TK2988",
"flightClass": {
"id": "V",
"name": "Promosyon"
},
"airline": {
"internationalCode": "TK",
"thumbnail": "/images/other/3/1/0/3/2/TK/turkish_airlines.jpg",
"logo": "/images/other/3/1/0/3/1/TK/turkish_airlines.jpg",
"id": "TK",
"name": "Turkish Airlines"
},
"departure": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Istanbul",
"internationalName": "Istanbul",
"provider": 3,
"isTopRegion": false,
"id": "IST"
},
"airport": {
"geolocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
},
"name": "Sabiha Gokcen International Airport",
"id": "SAW"
},
"date": "2021-08-24T08:15:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"arrival": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Antalya",
"internationalName": "Antalya",
"provider": 3,
"isTopRegion": false,
"id": "AYT"
},
"airport": {
"geolocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
},
"name": "Antalya International Airport",
"id": "AYT"
},
"date": "2021-08-24T09:30:00",
"geoLocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
}
},
"duration": 75,
"baggageInformations": [
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 1
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 2
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 3
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 4
}
],
"services": [
{
"thumbnail": "/vectors/3/1/1/0/FS/free_seat_selection",
"id": "FS",
"name": "Free seat selection"
},
{
"thumbnail": "/vectors/3/1/1/0/FM/free_meals",
"id": "FM",
"name": "Free Meals"
}
],
"departureTerminal": ""
}
],
"flightProvider": {
"id": "PXMTK",
"name": "Paximum THY"
},
"baggageInformations": [
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 1
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 2
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 3
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 4
}
],
"passengers": [
{
"type": 1,
"count": 1
},
{
"type": 2,
"count": 1
},
{
"type": 3,
"count": 1
},
{
"type": 4,
"count": 1
}
],
"flightType": 0,
"provider": 3
}
],
"availableSeatCount": 5,
"availableSeatCountType": 0,
"offer": {
"singleAdultPrice": {
"amount": 29.72,
"currency": "EUR"
},
"serviceFee": {
"amount": 0,
"currency": "EUR"
},
"hasBrand": true,
"flightBrandInfo": {
"features": [
{
"commercialName": "Carry On Baggage 1X8KG",
"serviceGroup": 1,
"pricingType": 0
},
{
"commercialName": "Checked Baggage 1X15KG",
"serviceGroup": 1,
"pricingType": 0
},
{
"commercialName": "Changable",
"serviceGroup": 0,
"pricingType": 1
},
{
"commercialName": "Refundable",
"serviceGroup": 0,
"pricingType": 1
},
{
"commercialName": "ECONOMY CLASS MEAL",
"serviceGroup": 5,
"pricingType": 0
}
],
"id": "EF",
"name": "Eco Fly"
},
"expiresOn": "2019-12-09T07:15:10.4404848Z",
"offerId": "3$3$b40c597e-b3de-4841-9913-2bfdc3146abd|b1748778-6227-4346-a137-fe1b1feeaa52|4fd01f66-864b-4617-9e82-a173acec623f|1|20200824|20200824|1$1|2$1|3$1|4$1",
"price": {
"amount": 94.49,
"currency": "EUR"
},
"provider": 3
},
"reservableInfo": {
"reservable": true
}
}
],
"details": {
"flightSearchType": 1,
"flightResponseListType": 1,
"flightResponseType": 4,
"enablePaging": false
}
},
"header": {
"requestId": "f5a062e2-b3de-4d50-aa72-8ae6da7abb2a",
"success": true,
"responseTime": "2019-12-09T06:46:09.3966442Z",
"messages": [
{
"id": 10000000,
"code": "OperationCompleted",
"messageType": 2,
"message": "Operation was completed successfully"
}
]
}
}
Roundtrip Request Sample
Click to reach the product types. If service type is 2 it means round trip.
{
"ProductType": 3,
"ServiceTypes": [
"2"
],
"CheckIn": "2021-08-16",
"Night": 3,
"Passengers": [
{
"type": 1,
"count": 1
},
{
"type": 2,
"count": "1"
},
{
"type": 3,
"count": "1"
},
{
"type": 4,
"count": "1"
}
],
"DepartureLocations": [
{
"id": "-IST",
"type": 2
}
],
"ArrivalLocations": [
{
"id": "AYT",
"type": 5,
"provider": 3
}
],
"Culture": "en-US",
"Currency": "EUR"
}
Roundtrip Response Sample
{
"body": {
"searchId": "202baea8-f3d2-4067-8a41-d9368ca71a4b",
"expiresOn": "2020-12-09T07:15:52.7773743Z",
"flights": [
{
"provider": 3,
"id": "95618ac4-9e3d-48ef-9390-0b02a139ec8c",
"items": [
{
"flightNo": "TK2936",
"pnlName": "TK2936",
"flightDate": "2021-08-24T21:05:00",
"airline": {
"internationalCode": "TK",
"thumbnail": "/images/other/3/1/0/3/2/TK/turkish_airlines.jpg",
"logo": "/images/other/3/1/0/3/1/TK/turkish_airlines.jpg",
"id": "TK",
"name": "Turkish Airlines"
},
"duration": 75,
"dayChange": 0,
"departure": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Istanbul",
"internationalName": "Istanbul",
"countryId": "TR",
"provider": 3,
"isTopRegion": false,
"id": "IST"
},
"airport": {
"geolocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
},
"name": "Sabiha Gokcen International Airport",
"id": "SAW"
},
"date": "2021-08-24T21:05:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"arrival": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Antalya",
"internationalName": "Antalya",
"countryId": "TR",
"provider": 3,
"isTopRegion": false,
"id": "AYT"
},
"airport": {
"geolocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
},
"name": "Antalya International Airport",
"id": "AYT"
},
"date": "2021-08-24T22:20:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"flightClass": {
"id": "P",
"name": "Promosyon"
},
"route": 1,
"stopCount": 1,
"segments": [
{
"id": "1",
"flightNo": "TK2936",
"pnlName": "TK2936",
"flightClass": {
"id": "P",
"name": "Promosyon"
},
"airline": {
"internationalCode": "TK",
"thumbnail": "/images/other/3/1/0/3/2/TK/turkish_airlines.jpg",
"logo": "/images/other/3/1/0/3/1/TK/turkish_airlines.jpg",
"id": "TK",
"name": "Turkish Airlines"
},
"departure": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Istanbul",
"internationalName": "Istanbul",
"provider": 3,
"isTopRegion": false,
"id": "IST"
},
"airport": {
"geolocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
},
"name": "Sabiha Gokcen International Airport",
"id": "SAW"
},
"date": "2021-08-24T21:05:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"arrival": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Antalya",
"internationalName": "Antalya",
"provider": 3,
"isTopRegion": false,
"id": "AYT"
},
"airport": {
"geolocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
},
"name": "Antalya International Airport",
"id": "AYT"
},
"date": "2021-08-24T22:20:00",
"geoLocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
}
},
"duration": 75,
"baggageInformations": [
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 1
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 2
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 3
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 4
}
],
"services": [
{
"thumbnail": "/vectors/3/1/1/0/FS/free_seat_selection",
"id": "FS",
"name": "Free seat selection"
},
{
"thumbnail": "/vectors/3/1/1/0/FM/free_meals",
"id": "FM",
"name": "Free Meals"
}
],
"departureTerminal": ""
}
],
"flightProvider": {
"id": "PXMTK",
"name": "Paximum THY"
},
"baggageInformations": [
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 1
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 2
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 3
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 4
}
],
"passengers": [
{
"type": 1,
"count": 1
},
{
"type": 2,
"count": 1
},
{
"type": 3,
"count": 1
},
{
"type": 4,
"count": 1
}
],
"flightType": 0,
"provider": 3
}
],
"availableSeatCount": 9,
"availableSeatCountType": 0,
"offer": {
"singleAdultPrice": {
"amount": 25.03,
"currency": "EUR"
},
"serviceFee": {
"amount": 0,
"currency": "EUR"
},
"hasBrand": true,
"flightBrandInfo": {
"features": [
{
"commercialName": "Carry On Baggage 1X8KG",
"serviceGroup": 1,
"pricingType": 0
},
{
"commercialName": "Checked Baggage 1X15KG",
"serviceGroup": 1,
"pricingType": 0
},
{
"commercialName": "Changable",
"serviceGroup": 0,
"pricingType": 1
},
{
"commercialName": "Refundable",
"serviceGroup": 0,
"pricingType": 1
},
{
"commercialName": "ECONOMY CLASS MEAL",
"serviceGroup": 5,
"pricingType": 0
}
],
"id": "EF",
"name": "Eco Fly"
},
"expiresOn": "2019-12-09T07:15:52.7773743Z",
"offerId": "3$3$bef7e555-a2c1-4fd8-a97b-56c55bf3ffaf|fc476e19-a01c-48de-8b26-5944f6e0eac1|35c26d5e-c0d1-46cc-9b3c-c186f8261d2e|2|20200824|20200824|1$1|2$1|3$1|4$1",
"price": {
"amount": 80.41,
"currency": "EUR"
},
"provider": 3
},
"reservableInfo": {
"reservable": true
}
},
{
"provider": 3,
"id": "0ceee674-2c88-4f1a-842b-1646b78cb7e0",
"items": [
{
"flightNo": "TK2925",
"pnlName": "TK2925",
"flightDate": "2021-08-27T07:10:00",
"airline": {
"internationalCode": "TK",
"thumbnail": "/images/other/3/1/0/3/2/TK/turkish_airlines.jpg",
"logo": "/images/other/3/1/0/3/1/TK/turkish_airlines.jpg",
"id": "TK",
"name": "Turkish Airlines"
},
"duration": 70,
"dayChange": 0,
"departure": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Antalya",
"internationalName": "Antalya",
"provider": 3,
"isTopRegion": false,
"id": "AYT"
},
"airport": {
"geolocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
},
"name": "Antalya International Airport",
"id": "AYT"
},
"date": "2021-08-27T07:10:00",
"geoLocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
}
},
"arrival": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Istanbul",
"internationalName": "Istanbul",
"provider": 3,
"isTopRegion": false,
"id": "IST"
},
"airport": {
"geolocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
},
"name": "Sabiha Gokcen International Airport",
"id": "SAW"
},
"date": "2021-08-27T08:20:00",
"geoLocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
}
},
"flightClass": {
"id": "P",
"name": "Promosyon"
},
"route": 2,
"stopCount": 1,
"segments": [
{
"id": "1",
"flightNo": "TK2925",
"pnlName": "TK2925",
"flightClass": {
"id": "P",
"name": "Promosyon"
},
"airline": {
"internationalCode": "TK",
"thumbnail": "/images/other/3/1/0/3/2/TK/turkish_airlines.jpg",
"logo": "/images/other/3/1/0/3/1/TK/turkish_airlines.jpg",
"id": "TK",
"name": "Turkish Airlines"
},
"departure": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Antalya",
"internationalName": "Antalya",
"provider": 3,
"isTopRegion": false,
"id": "AYT"
},
"airport": {
"geolocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
},
"name": "Antalya International Airport",
"id": "AYT"
},
"date": "2021-08-27T07:10:00",
"geoLocation": {
"longitude": "30.80000000",
"latitude": "36.89000000"
}
},
"arrival": {
"country": {
"name": "Turkey",
"internationalName": "Turkey",
"provider": 3,
"isTopRegion": false,
"id": "TR"
},
"city": {
"name": "Istanbul",
"internationalName": "Istanbul",
"provider": 3,
"isTopRegion": false,
"id": "IST"
},
"airport": {
"geolocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
},
"name": "Sabiha Gokcen International Airport",
"id": "SAW"
},
"date": "2021-08-27T08:20:00",
"geoLocation": {
"longitude": "29.30921900",
"latitude": "40.89855300"
}
},
"duration": 70,
"baggageInformations": [
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 1
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 2
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 3
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 4
}
],
"services": [
{
"thumbnail": "/vectors/3/1/1/0/FS/free_seat_selection",
"id": "FS",
"name": "Free seat selection"
},
{
"thumbnail": "/vectors/3/1/1/0/FM/free_meals",
"id": "FM",
"name": "Free Meals"
}
],
"departureTerminal": ""
}
],
"flightProvider": {
"id": "PXMTK",
"name": "Paximum THY"
},
"baggageInformations": [
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 1
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 2
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 3
},
{
"weight": 15,
"piece": 1,
"baggageType": 1,
"unitType": 0,
"passengerType": 4
}
],
"passengers": [
{
"type": 1,
"count": 1
},
{
"type": 2,
"count": 1
},
{
"type": 3,
"count": 1
},
{
"type": 4,
"count": 1
}
],
"flightType": 0,
"provider": 3
}
],
"availableSeatCount": 9,
"availableSeatCountType": 0,
"offer": {
"singleAdultPrice": {
"amount": 25.03,
"currency": "EUR"
},
"serviceFee": {
"amount": 0,
"currency": "EUR"
},
"hasBrand": true,
"flightBrandInfo": {
"features": [
{
"commercialName": "Carry On Baggage 1X8KG",
"serviceGroup": 1,
"pricingType": 0
},
{
"commercialName": "Checked Baggage 1X15KG",
"serviceGroup": 1,
"pricingType": 0
},
{
"commercialName": "Changable",
"serviceGroup": 0,
"pricingType": 1
},
{
"commercialName": "Refundable",
"serviceGroup": 0,
"pricingType": 1
},
{
"commercialName": "ECONOMY CLASS MEAL",
"serviceGroup": 5,
"pricingType": 0
}
],
"id": "EF",
"name": "Eco Fly"
},
"expiresOn": "2019-12-09T07:15:52.7773743Z",
"offerId": "3$3$ee4ac861-51a6-4cb2-9fdc-29b722938d52|fc476e19-a01c-48de-8b26-5944f6e0eac1|a1d56f86-d741-4612-8f7a-f04d4865a50c|2|20200827|20200827|1$1|2$1|3$1|4$1",
"price": {
"amount": 80.41,
"currency": "EUR"
},
"provider": 3
},
"reservableInfo": {
"reservable": true
}
}
],
"details": {
"flightSearchType": 2,
"flightResponseListType": 1,
"flightResponseType": 2,
"enablePaging": false
}
},
"header": {
"requestId": "5dad4812-eb99-42b6-896d-438f6bcc9485",
"success": true,
"responseTime": "2019-12-09T06:46:52.1427404Z",
"messages": [
{
"id": 10000000,
"code": "OperationCompleted",
"messageType": 2,
"message": "Operation was completed successfully"
}
]
}
}