SearchTourPackages - Basic version
Version 8.1 by Giorgi Mdivnishvili on 2024/04/11 11:21
Contents
Method Description
Tour package mean, tour with hotel and flight together. Using this method gives data about full package availability with flight and hotel options.
It's possible to receive data as current dates, also in date ranges using parameter "stayDays": 0, "stayDaysTo": 0. the maximum difference between the days can be 7. Below you can see examples.
Endpoint URL - [POST]
Request Parameters
Request example
{
"departureCountryCode": "KZ",
"departureCityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8",
"arrivalCountryCode": "AE",
"adults": 2,
"children": 0,
"departureDate": "2024-05-25T00:00:00",
"returnDate": "2024-06-01T00:00:00",
"departureAndReturnDaysCount": 7,
"checkInDate": "2024-05-25T00:00:00",
"checkOutDate": "2024-06-01T00:00:00",
"checkInAndCheckOutDaysCount": 7,
"directFlightsOnly": true,
"pageRowCount": 25,
"searchCurrency": "USD"
}
"departureCountryCode": "KZ",
"departureCityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8",
"arrivalCountryCode": "AE",
"adults": 2,
"children": 0,
"departureDate": "2024-05-25T00:00:00",
"returnDate": "2024-06-01T00:00:00",
"departureAndReturnDaysCount": 7,
"checkInDate": "2024-05-25T00:00:00",
"checkOutDate": "2024-06-01T00:00:00",
"checkInAndCheckOutDaysCount": 7,
"directFlightsOnly": true,
"pageRowCount": 25,
"searchCurrency": "USD"
}
Request example 2Adults 2Child
{
"departureCountryCode": "KZ",
"departureCityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8",
"arrivalCountryCode": "AE",
"adults": 2,
"children": 2,
"childrenAges": [
4,
8
],
"departureDate": "2024-05-26T00:00:00",
"returnDate": "2024-06-02T00:00:00",
"departureAndReturnDaysCount": 7,
"checkInDate": "2024-05-26T00:00:00",
"checkOutDate": "2024-06-02T00:00:00",
"checkInAndCheckOutDaysCount": 7,
"directFlightsOnly": true,
"searchCurrency": "USD",
"pagingId": "",
"pageNumber": 1,
"pageRowCount":5
}
"departureCountryCode": "KZ",
"departureCityUID": "f0ba6324-f337-405c-8cc7-23d62cf664e8",
"arrivalCountryCode": "AE",
"adults": 2,
"children": 2,
"childrenAges": [
4,
8
],
"departureDate": "2024-05-26T00:00:00",
"returnDate": "2024-06-02T00:00:00",
"departureAndReturnDaysCount": 7,
"checkInDate": "2024-05-26T00:00:00",
"checkOutDate": "2024-06-02T00:00:00",
"checkInAndCheckOutDaysCount": 7,
"directFlightsOnly": true,
"searchCurrency": "USD",
"pagingId": "",
"pageNumber": 1,
"pageRowCount":5
}
Response Body
{
"error": true,
"errorCode": "string",
"errorDescription": "string",
"userErrorDescription": "string",
"packages": [
{
"cacheKey": "string",
"id": "string",
"priceCurrency": "string",
"totalPrice": 0,
"agentCommissionPercent": 0,
"agentCommissionAmount": 0,
"includedExtrasAmount": 0,
"priceDifference": 0,
"hotel": {
"hotelPriceId": "string",
"providerId": 0,
"hotelName": "string",
"hotelCode": "string",
"nigths": 0,
"mealPlan": "string",
"hotelClass": "string",
"availabilityType": "OnRequest",
"availableRoomsCount": 0,
"fewRooms": true,
"roomCategoryCode": "string",
"roomCategoryName": "string",
"placementTypeName": "string",
"placementDescription": "string",
"checkInDate": "2023-12-14T13:47:13.396Z",
"checkOutDate": "2023-12-14T13:47:13.396Z",
"adults": 0,
"children": 0,
"districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"districtName": "string",
"cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"cityName": "string",
"countryCode": "string",
"countryName": "string",
"hasAlcohol": true,
"hasFreeWifi": true,
"hasMetro": true,
"hasPool": true,
"hasMall": true,
"cancellationPolicyDescription": "string",
"cancellationPolicy": {
"cancellationPolicyCode": "string",
"noShowChargeValue": 0,
"noShowChargeValueType": "string",
"earlyDepartureChargeValue": 0,
"earlyDepartureChargeValueType": "string",
"conditions": [
{
"timeunits": 0,
"timeunitType": "string",
"timeOffsetTypeName": "string",
"chargeValue": 0,
"chargeValueType": "string"
}
]
}
},
"flight": {
"id": "string",
"departureDate": "2023-12-14T13:47:13.396Z",
"returnDate": "2023-12-14T13:47:13.396Z",
"departureTicketsLeft": 0,
"returnTicketsLeft": 0,
"departureAvailabilityType": "OnRequest",
"returnAvailabilityType": "OnRequest",
"isTwoWay": true,
"departureSegments": [
{
"airlineCode": "string",
"airlineName": "string",
"flightCode": "string",
"class": "string",
"lugageWeight": 0,
"handLugageWeight": 0,
"departureFlightDate": "2023-12-14T13:47:13.396Z",
"departureCountryName": "string",
"departureCityName": "string",
"departureAirportCode": "string",
"departureAirportName": "string",
"departureTerminalCode": "string",
"arrivalFlightDate": "2023-12-14T13:47:13.396Z",
"arrivalCountryName": "string",
"arrivalCityName": "string",
"arrivalAirportCode": "string",
"arrivalAirportName": "string",
"arrivalTerminalCode": "string",
"flightDuration": "string",
"baggages": [
{
"baggageCode": "string",
"description": "string",
"price": 0,
"currency": "string",
"included": true
}
]
}
],
"returnSegments": [
{
"airlineCode": "string",
"airlineName": "string",
"flightCode": "string",
"class": "string",
"lugageWeight": 0,
"handLugageWeight": 0,
"departureFlightDate": "2023-12-14T13:47:13.396Z",
"departureCountryName": "string",
"departureCityName": "string",
"departureAirportCode": "string",
"departureAirportName": "string",
"departureTerminalCode": "string",
"arrivalFlightDate": "2023-12-14T13:47:13.396Z",
"arrivalCountryName": "string",
"arrivalCityName": "string",
"arrivalAirportCode": "string",
"arrivalAirportName": "string",
"arrivalTerminalCode": "string",
"flightDuration": "string",
"baggages": [
{
"baggageCode": "string",
"description": "string",
"price": 0,
"currency": "string",
"included": true
}
]
}
]
},
"extraServices": [
{
"extraServiceCode": "string",
"extraServiceTypeCode": "string",
"isMandatory": 0,
"extraServiceName": "string",
"minimalServiceAmount": 0,
"includedPriceCode": "string",
"prices": [
{
"extraServicePriceCode": "string",
"displayName": "string",
"restrictionInfo": "string",
"additionalInfo": "string",
"price": 0,
"extraPrice": 0,
"currency": "string"
}
]
}
],
"insurancePrice": {
"name": "string",
"price": 0,
"priceSurcarge": 0,
"actualStartDate": "2023-12-14T13:47:13.396Z",
"actualEndDate": "2023-12-14T13:47:13.396Z",
"optional": true,
"includedInPackagePrice": true
}
}
],
"pagingId": "string",
"pageNumber": 0,
"pageCount": 0
}
"error": true,
"errorCode": "string",
"errorDescription": "string",
"userErrorDescription": "string",
"packages": [
{
"cacheKey": "string",
"id": "string",
"priceCurrency": "string",
"totalPrice": 0,
"agentCommissionPercent": 0,
"agentCommissionAmount": 0,
"includedExtrasAmount": 0,
"priceDifference": 0,
"hotel": {
"hotelPriceId": "string",
"providerId": 0,
"hotelName": "string",
"hotelCode": "string",
"nigths": 0,
"mealPlan": "string",
"hotelClass": "string",
"availabilityType": "OnRequest",
"availableRoomsCount": 0,
"fewRooms": true,
"roomCategoryCode": "string",
"roomCategoryName": "string",
"placementTypeName": "string",
"placementDescription": "string",
"checkInDate": "2023-12-14T13:47:13.396Z",
"checkOutDate": "2023-12-14T13:47:13.396Z",
"adults": 0,
"children": 0,
"districtUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"districtName": "string",
"cityUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"cityName": "string",
"countryCode": "string",
"countryName": "string",
"hasAlcohol": true,
"hasFreeWifi": true,
"hasMetro": true,
"hasPool": true,
"hasMall": true,
"cancellationPolicyDescription": "string",
"cancellationPolicy": {
"cancellationPolicyCode": "string",
"noShowChargeValue": 0,
"noShowChargeValueType": "string",
"earlyDepartureChargeValue": 0,
"earlyDepartureChargeValueType": "string",
"conditions": [
{
"timeunits": 0,
"timeunitType": "string",
"timeOffsetTypeName": "string",
"chargeValue": 0,
"chargeValueType": "string"
}
]
}
},
"flight": {
"id": "string",
"departureDate": "2023-12-14T13:47:13.396Z",
"returnDate": "2023-12-14T13:47:13.396Z",
"departureTicketsLeft": 0,
"returnTicketsLeft": 0,
"departureAvailabilityType": "OnRequest",
"returnAvailabilityType": "OnRequest",
"isTwoWay": true,
"departureSegments": [
{
"airlineCode": "string",
"airlineName": "string",
"flightCode": "string",
"class": "string",
"lugageWeight": 0,
"handLugageWeight": 0,
"departureFlightDate": "2023-12-14T13:47:13.396Z",
"departureCountryName": "string",
"departureCityName": "string",
"departureAirportCode": "string",
"departureAirportName": "string",
"departureTerminalCode": "string",
"arrivalFlightDate": "2023-12-14T13:47:13.396Z",
"arrivalCountryName": "string",
"arrivalCityName": "string",
"arrivalAirportCode": "string",
"arrivalAirportName": "string",
"arrivalTerminalCode": "string",
"flightDuration": "string",
"baggages": [
{
"baggageCode": "string",
"description": "string",
"price": 0,
"currency": "string",
"included": true
}
]
}
],
"returnSegments": [
{
"airlineCode": "string",
"airlineName": "string",
"flightCode": "string",
"class": "string",
"lugageWeight": 0,
"handLugageWeight": 0,
"departureFlightDate": "2023-12-14T13:47:13.396Z",
"departureCountryName": "string",
"departureCityName": "string",
"departureAirportCode": "string",
"departureAirportName": "string",
"departureTerminalCode": "string",
"arrivalFlightDate": "2023-12-14T13:47:13.396Z",
"arrivalCountryName": "string",
"arrivalCityName": "string",
"arrivalAirportCode": "string",
"arrivalAirportName": "string",
"arrivalTerminalCode": "string",
"flightDuration": "string",
"baggages": [
{
"baggageCode": "string",
"description": "string",
"price": 0,
"currency": "string",
"included": true
}
]
}
]
},
"extraServices": [
{
"extraServiceCode": "string",
"extraServiceTypeCode": "string",
"isMandatory": 0,
"extraServiceName": "string",
"minimalServiceAmount": 0,
"includedPriceCode": "string",
"prices": [
{
"extraServicePriceCode": "string",
"displayName": "string",
"restrictionInfo": "string",
"additionalInfo": "string",
"price": 0,
"extraPrice": 0,
"currency": "string"
}
]
}
],
"insurancePrice": {
"name": "string",
"price": 0,
"priceSurcarge": 0,
"actualStartDate": "2023-12-14T13:47:13.396Z",
"actualEndDate": "2023-12-14T13:47:13.396Z",
"optional": true,
"includedInPackagePrice": true
}
}
],
"pagingId": "string",
"pageNumber": 0,
"pageCount": 0
}
Response example
{
"packages": [
{
"id": "tour:556ce3c2-4062-4181-9970-f41e1aeb3b8b:ce81c22f-7d91-4237-9a2a-43c4c4bcb62f:1d8793e6-346e-4b5c-933f-3d8637684d7e",
"priceCurrency": "USD",
"totalPrice": 909.78,
"agentCommissionPercent": 0.0,
"agentCommissionAmount": 0.0,
"includedExtrasAmount": 0,
"priceDifference": 0,
"hotel": {
"hotelPriceId": "ce81c22f-7d91-4237-9a2a-43c4c4bcb62f",
"hotelName": "CityMax Sharjah",
"hotelCode": "CMAXBSHJNUG",
"nigths": 7,
"mealPlan": "BB",
"hotelClass": "3",
"hotelColor": "#228B22",
"availabilityType": "FreeSale",
"availableRoomsCount": 0,
"fewRooms": true,
"roomCategoryCode": "DBL",
"roomCategoryName": "Standard Room",
"placementTypeName": "2 Adults",
"placementDescription": "MARPROMDMC02/RUS",
"checkInDate": "2024-05-25T00:00:00.000",
"checkOutDate": "2024-06-01T00:00:00.000",
"adults": 2,
"children": 0,
"districtUID": "7ac1bbc8-59ea-4977-b272-ed8553f94f9b",
"districtName": "Sharjah",
"cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6",
"cityName": "Sharjah",
"countryCode": "AE",
"countryName": "United Arab Emirates",
"hasAlcohol": false,
"hasFreeWifi": true,
"hasMetro": false,
"hasPool": false,
"hasMall": true,
"infantMaxAge": 4.99,
"childMinAge": 5.0,
"childMaxAge": 11.99,
"teenMinAge": 0.0,
"teenMaxAge": 0.0,
"adultMinAge": 12.0,
"cancellationPolicyDescription": "Cancellation Policy: 2 Day Before Arrival: 1.00 Night, Early Departure: 1.00 Night, NoShow: 1.00 Night",
"cancellationPolicy": {
"noShowChargeValue": 1.0,
"noShowChargeValueType": "Night",
"earlyDepartureChargeValue": 1.0,
"earlyDepartureChargeValueType": "Night",
"conditions": [
{
"timeunits": 2,
"timeunitType": "Day",
"timeOffsetTypeName": "Before Arrival",
"chargeValue": 1.0,
"chargeValueType": "Night"
}
]
}
},
"flight": {
"id": "1d8793e6-346e-4b5c-933f-3d8637684d7e",
"departureDate": "2024-05-25T00:00:00.000",
"returnDate": "2024-06-01T00:00:00.000",
"departureTicketsLeft": 48,
"returnTicketsLeft": 33,
"departureAvailabilityType": "FreeSale",
"returnAvailabilityType": "FreeSale",
"isTwoWay": true,
"sameBaggageForAll": false,
"totalBaggage": false,
"isBlock": true,
"class": "Economy",
"departureSegments": [
{
"airlineCode": "FZ",
"airlineName": "Fly Dubai",
"flightCode": "FZ1722",
"class": "Economy",
"lugageWeight": 20,
"handLugageWeight": 6,
"departureFlightDate": "2024-05-25T03:35:00.000",
"departureCountryName": "Kazakhstan",
"departureCityName": "Almaty",
"departureAirportCode": "ALA",
"departureAirportName": "Almaty Intl Airport",
"departureTerminalCode": "ALA",
"arrivalFlightDate": "2024-05-25T07:10:00.000",
"arrivalCountryName": "United Arab Emirates",
"arrivalCityName": "Dubai",
"arrivalAirportCode": "DXB",
"arrivalAirportName": "Dubai Intl Airport",
"arrivalTerminalCode": "DXB3",
"flightDuration": "5h 35m"
}
],
"returnSegments": [
{
"airlineCode": "FZ",
"airlineName": "Fly Dubai",
"flightCode": "FZ1721",
"class": "Economy",
"lugageWeight": 20,
"handLugageWeight": 6,
"departureFlightDate": "2024-06-01T21:25:00.000",
"departureCountryName": "United Arab Emirates",
"departureCityName": "Dubai",
"departureAirportCode": "DXB",
"departureAirportName": "Dubai Intl Airport",
"departureTerminalCode": "DXB3",
"arrivalFlightDate": "2024-06-02T02:35:00.000",
"arrivalCountryName": "Kazakhstan",
"arrivalCityName": "Almaty",
"arrivalAirportCode": "ALA",
"arrivalAirportName": "Almaty Intl Airport",
"arrivalTerminalCode": "ALA",
"flightDuration": "3h 10m"
}
],
"passengers": [
{
"id": "1d8793e6-346e-4b5c-933f-3d8637684d7e-A1",
"isAdult": true,
"selectedForwardBaggageCode": "INCLUDED",
"selectedBackwardBaggageCode": "INCLUDED",
"forwardBaggages": [
{
"baggageCode": "INCLUDED",
"description": "20 Kg Included",
"price": 0.0,
"currency": "USD",
"included": true
}
],
"backwardBaggages": [
{
"baggageCode": "INCLUDED",
"description": "20 Kg Included",
"price": 0.0,
"currency": "USD",
"included": true
}
]
},
{
"id": "1d8793e6-346e-4b5c-933f-3d8637684d7e-A2",
"isAdult": true,
"selectedForwardBaggageCode": "INCLUDED",
"selectedBackwardBaggageCode": "INCLUDED",
"forwardBaggages": [
{
"baggageCode": "INCLUDED",
"description": "20 Kg Included",
"price": 0.0,
"currency": "USD",
"included": true
}
],
"backwardBaggages": [
{
"baggageCode": "INCLUDED",
"description": "20 Kg Included",
"price": 0.0,
"currency": "USD",
"included": true
}
]
}
]
},
"extraServices": [],
"insurancePrice": {
"name": "Medical INS (N10000)",
"price": 35.84,
"actualStartDate": "2024-05-25T00:00:00.000",
"actualEndDate": "2024-06-01T00:00:00.000",
"optional": false,
"includedInPackagePrice": true
},
"cacheKey": "bd7e9a28fb744528a2deb043f05e0502602ea56f943a4dc9805321db85d51137:{9}:i:1",
"sortCheckInOut": "25.05.2024-01.06.2024",
"sortAirline": "fly dubai",
"sortHotelName": "citymax sharjah",
"sortDetails": "bb",
"sortPlacement": "standard room 2 adults"
}
],
"pagingId": "9",
"pageNumber": 1,
"pageCount": 883,
"totalCount": 883,
"error": false
}
"packages": [
{
"id": "tour:556ce3c2-4062-4181-9970-f41e1aeb3b8b:ce81c22f-7d91-4237-9a2a-43c4c4bcb62f:1d8793e6-346e-4b5c-933f-3d8637684d7e",
"priceCurrency": "USD",
"totalPrice": 909.78,
"agentCommissionPercent": 0.0,
"agentCommissionAmount": 0.0,
"includedExtrasAmount": 0,
"priceDifference": 0,
"hotel": {
"hotelPriceId": "ce81c22f-7d91-4237-9a2a-43c4c4bcb62f",
"hotelName": "CityMax Sharjah",
"hotelCode": "CMAXBSHJNUG",
"nigths": 7,
"mealPlan": "BB",
"hotelClass": "3",
"hotelColor": "#228B22",
"availabilityType": "FreeSale",
"availableRoomsCount": 0,
"fewRooms": true,
"roomCategoryCode": "DBL",
"roomCategoryName": "Standard Room",
"placementTypeName": "2 Adults",
"placementDescription": "MARPROMDMC02/RUS",
"checkInDate": "2024-05-25T00:00:00.000",
"checkOutDate": "2024-06-01T00:00:00.000",
"adults": 2,
"children": 0,
"districtUID": "7ac1bbc8-59ea-4977-b272-ed8553f94f9b",
"districtName": "Sharjah",
"cityUID": "f78ac3bc-f040-46d0-8319-2c52083080a6",
"cityName": "Sharjah",
"countryCode": "AE",
"countryName": "United Arab Emirates",
"hasAlcohol": false,
"hasFreeWifi": true,
"hasMetro": false,
"hasPool": false,
"hasMall": true,
"infantMaxAge": 4.99,
"childMinAge": 5.0,
"childMaxAge": 11.99,
"teenMinAge": 0.0,
"teenMaxAge": 0.0,
"adultMinAge": 12.0,
"cancellationPolicyDescription": "Cancellation Policy: 2 Day Before Arrival: 1.00 Night, Early Departure: 1.00 Night, NoShow: 1.00 Night",
"cancellationPolicy": {
"noShowChargeValue": 1.0,
"noShowChargeValueType": "Night",
"earlyDepartureChargeValue": 1.0,
"earlyDepartureChargeValueType": "Night",
"conditions": [
{
"timeunits": 2,
"timeunitType": "Day",
"timeOffsetTypeName": "Before Arrival",
"chargeValue": 1.0,
"chargeValueType": "Night"
}
]
}
},
"flight": {
"id": "1d8793e6-346e-4b5c-933f-3d8637684d7e",
"departureDate": "2024-05-25T00:00:00.000",
"returnDate": "2024-06-01T00:00:00.000",
"departureTicketsLeft": 48,
"returnTicketsLeft": 33,
"departureAvailabilityType": "FreeSale",
"returnAvailabilityType": "FreeSale",
"isTwoWay": true,
"sameBaggageForAll": false,
"totalBaggage": false,
"isBlock": true,
"class": "Economy",
"departureSegments": [
{
"airlineCode": "FZ",
"airlineName": "Fly Dubai",
"flightCode": "FZ1722",
"class": "Economy",
"lugageWeight": 20,
"handLugageWeight": 6,
"departureFlightDate": "2024-05-25T03:35:00.000",
"departureCountryName": "Kazakhstan",
"departureCityName": "Almaty",
"departureAirportCode": "ALA",
"departureAirportName": "Almaty Intl Airport",
"departureTerminalCode": "ALA",
"arrivalFlightDate": "2024-05-25T07:10:00.000",
"arrivalCountryName": "United Arab Emirates",
"arrivalCityName": "Dubai",
"arrivalAirportCode": "DXB",
"arrivalAirportName": "Dubai Intl Airport",
"arrivalTerminalCode": "DXB3",
"flightDuration": "5h 35m"
}
],
"returnSegments": [
{
"airlineCode": "FZ",
"airlineName": "Fly Dubai",
"flightCode": "FZ1721",
"class": "Economy",
"lugageWeight": 20,
"handLugageWeight": 6,
"departureFlightDate": "2024-06-01T21:25:00.000",
"departureCountryName": "United Arab Emirates",
"departureCityName": "Dubai",
"departureAirportCode": "DXB",
"departureAirportName": "Dubai Intl Airport",
"departureTerminalCode": "DXB3",
"arrivalFlightDate": "2024-06-02T02:35:00.000",
"arrivalCountryName": "Kazakhstan",
"arrivalCityName": "Almaty",
"arrivalAirportCode": "ALA",
"arrivalAirportName": "Almaty Intl Airport",
"arrivalTerminalCode": "ALA",
"flightDuration": "3h 10m"
}
],
"passengers": [
{
"id": "1d8793e6-346e-4b5c-933f-3d8637684d7e-A1",
"isAdult": true,
"selectedForwardBaggageCode": "INCLUDED",
"selectedBackwardBaggageCode": "INCLUDED",
"forwardBaggages": [
{
"baggageCode": "INCLUDED",
"description": "20 Kg Included",
"price": 0.0,
"currency": "USD",
"included": true
}
],
"backwardBaggages": [
{
"baggageCode": "INCLUDED",
"description": "20 Kg Included",
"price": 0.0,
"currency": "USD",
"included": true
}
]
},
{
"id": "1d8793e6-346e-4b5c-933f-3d8637684d7e-A2",
"isAdult": true,
"selectedForwardBaggageCode": "INCLUDED",
"selectedBackwardBaggageCode": "INCLUDED",
"forwardBaggages": [
{
"baggageCode": "INCLUDED",
"description": "20 Kg Included",
"price": 0.0,
"currency": "USD",
"included": true
}
],
"backwardBaggages": [
{
"baggageCode": "INCLUDED",
"description": "20 Kg Included",
"price": 0.0,
"currency": "USD",
"included": true
}
]
}
]
},
"extraServices": [],
"insurancePrice": {
"name": "Medical INS (N10000)",
"price": 35.84,
"actualStartDate": "2024-05-25T00:00:00.000",
"actualEndDate": "2024-06-01T00:00:00.000",
"optional": false,
"includedInPackagePrice": true
},
"cacheKey": "bd7e9a28fb744528a2deb043f05e0502602ea56f943a4dc9805321db85d51137:{9}:i:1",
"sortCheckInOut": "25.05.2024-01.06.2024",
"sortAirline": "fly dubai",
"sortHotelName": "citymax sharjah",
"sortDetails": "bb",
"sortPlacement": "standard room 2 adults"
}
],
"pagingId": "9",
"pageNumber": 1,
"pageCount": 883,
"totalCount": 883,
"error": false
}
Schema
Definitions
Request Parameters
Key | Type | Nullable | Description |
---|---|---|---|
departureCountryCode | String | No | The ISO 3166-1 alpha-2 code of the departure country. For example, "KZ" for Kazakhstan. |
departureCityUID | String (UUID) | No | The unique identifier of the departure city. This is a UUID, such as "f0ba6324-f337-405c-8cc7-23d62cf664e8". |
arrivalCountryCode | String | No | The ISO 3166-1 alpha-2 code of the arrival country. For example, "AE" for United Arab Emirates. |
adults | Integer | No | The number of adults for the trip. For example, 2 for two adults. |
children | Integer | No | The number of children for the trip. For example, 0 for no children. |
departureDate | String (date-time) | No | The departure date in ISO 8601 format. For example, "2024-05-25T00:00:00" for May 25, 2024. |
returnDate | String (date-time) | No | The return date in ISO 8601 format. For example, "2024-06-01T00:00:00" for June 1, 2024. |
departureAndReturnDaysCount | Integer | No | The total number of days for the departure and return trip. For example, 7 for a week-long trip. |
checkInDate | String (date-time) | No | The check-in date at the hotel in ISO 8601 format. For example, "2024-05-25T00:00:00" for May 25, 2024. |
checkOutDate | String (date-time) | No | The check-out date from the hotel in ISO 8601 format. For example, "2024-06-01T00:00:00" for June 1, 2024. |
checkInAndCheckOutDaysCount | Integer | No | The total number of days for the hotel stay. For example, 7 for a week-long stay. |
directFlightsOnly | Boolean | No | Whether to search for direct flights only. For example, true to only search for direct flights. |
pageRowCount | Integer | No | The number of results to return per page. For example, 1 to return 1 result per page. |
searchCurrency | String | No | The currency in which the search results should be displayed. For example, "USD" for United States Dollar. |
Response Parameters
Key | Type | Description |
---|---|---|
packages | Array | An array of travel packages. Each package includes various details about the package. |
packages[].id | String | A unique identifier for the package. This is used to uniquely identify each package. |
packages[].priceCurrency | String | The currency in which the price is denoted. This could be USD, EUR, etc. |
packages[].totalPrice | Number | The total price of the package. This includes all costs associated with the package. |
packages[].agentCommissionPercent | Number | The commission percentage for the agent. This is the percentage of the total price that the agent receives as commission. |
packages[].agentCommissionAmount | Number | The commission amount for the agent. This is the actual amount the agent receives as commission. |
packages[].includedExtrasAmount | Number | The amount for the included extras. This is the cost of any extra services included in the package. |
packages[].priceDifference | Number | The price difference. This could be a discount or a price increase. |
packages[].hotel | Object | An object containing details about the hotel included in the package. This includes information like the hotel name, class, availability, etc. |
packages[].hotel.hotelPriceId | String | The price ID of the hotel. This is used to uniquely identify the price for the hotel. |
packages[].hotel.hotelName | String | The name of the hotel. This is the actual name of the hotel. |
packages[].hotel.hotelCode | String | The code of the hotel. This is a unique code used to identify the hotel. |
packages[].hotel.nights | Number | The number of nights for the stay. This is the duration of the stay at the hotel. |
packages[].hotel.mealPlan | String | The meal plan for the stay. This could be breakfast included, all inclusive, etc. |
packages[].hotel.hotelClass | String | The class of the hotel. This could be 3-star, 4-star, 5-star, etc. |
packages[].hotel.hotelColor | String | The color associated with the hotel. This could be used for categorization or visualization purposes. |
packages[].hotel.availabilityType | String | The availability type of the hotel. This could be available, sold out, etc. |
packages[].hotel.availableRoomsCount | Number | The count of available rooms. This is the number of rooms that are currently available at the hotel. |
packages[].hotel.fewRooms | Boolean | A boolean indicating if there are few rooms left. If true, it means that there are only a few rooms left. |
packages[].hotel.roomCategoryCode | String | The code of the room category. This is a unique code used to identify the room category. |
packages[].hotel.roomCategoryName | String | The name of the room category. This is the actual name of the room category. |
packages[].hotel.placementTypeName | String | The name of the placement type. This could be sea view, garden view, etc. |
packages[].hotel.placementDescription | String | The description of the placement. This provides more details about the placement type. |
packages[].hotel.checkInDate | String | The check-in date. This is the date when the stay at the hotel begins. |
packages[].hotel.checkOutDate | String | The check-out date. This is the date when the stay at the hotel ends. |
packages[].hotel.adults | Number | The number of adults. This is the number of adults that will be staying at the hotel. |
packages[].hotel.children | Number | The number of children. This is the number of children that will be staying at the hotel. |
packages[].hotel.districtUID | String | The UID of the district. This is a unique identifier for the district where the hotel is located. |
packages[].hotel.districtName | String | The name of the district. This is the actual name of the district where the hotel is located. |
packages[].hotel.cityUID | String | The UID of the city. This is a unique identifier for the city where the hotel is located. |
packages[].hotel.cityName | String | The name of the city. This is the actual name of the city where the hotel is located. |
packages[].hotel.countryCode | String | The code of the country. This is a unique code used to identify the country where the hotel is located. |
packages[].hotel.countryName | String | The name of the country. This is the actual name of the country where the hotel is located. |
packages[].hotel.hasAlcohol | Boolean | A boolean indicating if alcohol is available. If true, it means that alcohol is available at the hotel. |
packages[].hotel.hasFreeWifi | Boolean | A boolean indicating if free Wi-Fi is available. If true, it means that free Wi-Fi is available at the hotel. |
packages[].hotel.hasMetro | Boolean | A boolean indicating if metro is available. If true, it means that there is a metro station near the hotel. |
packages[].hotel.hasPool | Boolean | A boolean indicating if a pool is available. If true, it means that the hotel has a pool. |
packages[].hotel.hasMall | Boolean | A boolean indicating if a mall is available. If true, it means that there is a mall near the hotel. |
packages[].hotel.infantMaxAge | Number | The maximum age for an infant. This is the maximum age at which a person is considered an infant. |
packages[].hotel.childMinAge | Number | The minimum age for a child. This is the minimum age at which a person is considered a child. |
packages[].hotel.childMaxAge | Number | The maximum age for a child. This is the maximum age at which a person is considered a child. |
packages[].hotel.teenMinAge | Number | The minimum age for a teen. This is the minimum age at which a person is considered a teen. |
packages[].hotel.teenMaxAge | Number | The maximum age for a teen. This is the maximum age at which a person is considered a teen. |
packages[].hotel.adultMinAge | Number | The minimum age for an adult. This is the minimum age at which a person is considered an adult. |
packages[].hotel.cancellationPolicyDescription | String | The description of the cancellation policy. This provides more details about the cancellation policy of the hotel. |
packages[].hotel.cancellationPolicy | Object | An object containing details about the cancellation policy. This includes information like the cancellation deadline, cancellation fee, etc. |
packages[].flight | Object | An object containing details about the flight included in the package. This includes information like the flight ID, departure date, return date, etc. |
packages[].flight.id | String | The ID of the flight. This is used to uniquely identify the flight. |
packages[].flight.departureDate | String | The departure date of the flight. This is the date when the flight departs. |
packages[].flight.returnDate | String | The return date of the flight. This is the date when the flight returns. |
packages[].flight.departureTicketsLeft | Number | The number of departure tickets left. This is the number of tickets that are still available for the departure flight. |
packages[].flight.returnTicketsLeft | Number | The number of return tickets left. This is the number of tickets that are still available for the return flight. |
packages[].flight.departureAvailabilityType | String | The availability type of the departure flight. This could be available, sold out, etc. |
packages[].flight.returnAvailabilityType | String | The availability type of the return flight. This could be available, sold out, etc. |
packages[].flight.isTwoWay | Boolean | A boolean indicating if the flight is two-way. If true, it means that the flight includes both departure and return. |
packages[].flight.sameBaggageForAll | Boolean | A boolean indicating if the same baggage is for all. If true, it means that the same baggage allowance applies to all passengers. |
packages[].flight.totalBaggage | Boolean | A boolean indicating if total baggage is included. If true, it means that the total baggage allowance is included in the price. |
packages[].flight.isBlock | Boolean | A boolean indicating if the flight is blocked. If true, it means that the flight is currently blocked and cannot be booked. |
packages[].flight.class | String | The class of the flight. This could be economy, business, first class, etc. |
packages[].flight.departureSegments | Array | An array containing details about the departure segments. Each segment includes information like the departure airport, arrival airport, departure time, arrival time, etc. |
packages[].flight.returnSegments | Array | An array containing details about the return segments. Each segment includes information like the departure airport, arrival airport, departure time, arrival time, etc. |
packages[].flight.passengers | Array | An array containing details about the passengers. Each passenger includes information like the passenger type, baggage allowance, etc. |
packages[].extraServices | Array | An array of any extra services included in the package. Each service includes information like the service name, service price, etc. |
packages[].insurancePrice | Object | An object containing details about the insurance price included in the package. This includes information like the insurance type, insurance price, etc. |
packages[].cacheKey | String | The cache key. This is used to cache the package details for faster retrieval. |
packages[].sortCheckInOut | String | The check-in and check-out dates for sorting. This is used to sort the packages based on the check-in and check-out dates. |
packages[].sortAirline | String | The airline for sorting. This is used to sort the packages based on the airline. |
packages[].sortHotelName | String | The hotel name for sorting. This is used to sort the packages based on the hotel name. |
packages[].sortDetails | String | The details for sorting. This is used to sort the packages based on various details. |
packages[].sortPlacement | String | The placement for sorting. This is used to sort the packages based on the placement. |
pagingId | String | An identifier for the page. This is used to uniquely identify each page of results. |
pageNumber | Number | The current page number. This is the number of the current page of results. |
pageCount | Number | The total number of pages. This is the total number of pages of results. |
totalCount | Number | The total count of packages. This is the total number of packages in all pages of results. |
error | Boolean | A boolean indicating whether there was an error. If true, it means that there was an error in retrieving the packages. |
first request
{
"pagingId": "",
"pageNumber": 1,
"pageRowCount":10
}
"pagingId": "",
"pageNumber": 1,
"pageRowCount":10
}
Request with caching
as we receive response, in the end we can see pagingId- number, chich we can use for caching, and then just switch pagenumbers. for cleaning cache, it's important to make new request without pagingID
{
"pagingId": "80",
"pageNumber": 1,
"pageRowCount":10
}
"pagingId": "80",
"pageNumber": 1,
"pageRowCount":10
}
search parameter options
in the request body it's available to filter search results with parameters. parameter examples:
{ "totalPriceFrom": 500,
"totalPriceTo": 10000,
"hotelTypes": [
"CityHotel",
"BeachHotel",
"SecondLineBeach"
],
"hotelClasses": [
"1",
"2",
"3",
"4",
"5",
"6"
],
"hotelServices": [
"HasAlcohol",
"HasFreeWifi",
"HasMetro",
"HasPool",
"HasMall"
],
"mealPlans": [
"RO",
"BB",
"HB",
"FB",
"AL"
]
}
"totalPriceTo": 10000,
"hotelTypes": [
"CityHotel",
"BeachHotel",
"SecondLineBeach"
],
"hotelClasses": [
"1",
"2",
"3",
"4",
"5",
"6"
],
"hotelServices": [
"HasAlcohol",
"HasFreeWifi",
"HasMetro",
"HasPool",
"HasMall"
],
"mealPlans": [
"RO",
"BB",
"HB",
"FB",
"AL"
]
}