SearchTourPackages - Basic version

Version 10.1 by Giorgi Mdivnishvili on 2024/04/11 11:32

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

None  

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"
}

Request example for 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
}

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
}

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
}

Schema

Success

SearchTourPackagesResponse{

errorboolean
errorCodestring
nullable: true
errorDescriptionstring
nullable: true
userErrorDescriptionstring
nullable: true
packages[
nullable: trueTourPackage{
cacheKeystring
nullable: true
idstring
nullable: true
priceCurrencystring
nullable: true
totalPricenumber($double)
agentCommissionPercentnumber($double)
agentCommissionAmountnumber($double)
includedExtrasAmountnumber($double)
priceDifferencenumber($double)
hotelPackageHotel{
hotelPriceIdstring
nullable: true
providerIdinteger($int32)
hotelNamestring
nullable: true
hotelCodestring
nullable: true
nigthsinteger($int32)
mealPlanstring
nullable: true
hotelClassstring
nullable: true
availabilityTypeRoomAvailabilityTypeEnumstringEnum:
[ OnRequest, FreeSale, StopSale ]
availableRoomsCountinteger($int32)
fewRoomsboolean
roomCategoryCodestring
nullable: true
roomCategoryNamestring
nullable: true
placementTypeNamestring
nullable: true
placementDescriptionstring
nullable: true
checkInDatestring($date-time)
checkOutDatestring($date-time)
adultsinteger($int32)
childreninteger($int32)
districtUIDstring($uuid)
nullable: true
districtNamestring
nullable: true
cityUIDstring($uuid)
nullable: true
cityNamestring
nullable: true
countryCodestring
nullable: true
countryNamestring
nullable: true
hasAlcoholboolean
hasFreeWifiboolean
hasMetroboolean
hasPoolboolean
hasMallboolean
cancellationPolicyDescriptionstring
nullable: true
cancellationPolicyCancellationPolicyExchange{
cancellationPolicyCodestring
nullable: true
noShowChargeValuenumber($double)
nullable: true
noShowChargeValueTypestring
nullable: true
earlyDepartureChargeValuenumber($double)
nullable: true
earlyDepartureChargeValueTypestring
nullable: true
conditions[
nullable: trueCancellationPolicyConditionExchange{
timeunitsinteger($int32)
timeunitTypestring
nullable: true
timeOffsetTypeNamestring
nullable: true
chargeValuenumber($double)
nullable: true
chargeValueTypestring
nullable: true

}]

}

}

flightPackageFlight{
idstring
nullable: true
departureDatestring($date-time)
returnDatestring($date-time)
nullable: true
departureTicketsLeftinteger($int32)
returnTicketsLeftinteger($int32)
departureAvailabilityTypeFlightAvailabilityTypestringEnum:
[ OnRequest, FreeSale, FewPlaces, StopSale ]
returnAvailabilityTypeFlightAvailabilityTypestringEnum:
[ OnRequest, FreeSale, FewPlaces, StopSale ]
isTwoWayboolean
departureSegments[
nullable: trueFlightSegment{
airlineCodestring
nullable: true
airlineNamestring
nullable: true
flightCodestring
nullable: true
classstring
nullable: true
lugageWeightnumber($double)
handLugageWeightnumber($double)
departureFlightDatestring($date-time)
departureCountryNamestring
nullable: true
departureCityNamestring
nullable: true
departureAirportCodestring
nullable: true
departureAirportNamestring
nullable: true
departureTerminalCodestring
nullable: true
arrivalFlightDatestring($date-time)
arrivalCountryNamestring
nullable: true
arrivalCityNamestring
nullable: true
arrivalAirportCodestring
nullable: true
arrivalAirportNamestring
nullable: true
arrivalTerminalCodestring
nullable: true
flightDurationstring
nullable: true
baggages[
nullable: trueBaggage{
baggageCodestring
nullable: true
descriptionstring
nullable: true
pricenumber($double)
currencystring
nullable: true
includedboolean

}]

}]

returnSegments[
nullable: trueFlightSegment{
airlineCodestring
nullable: true
airlineNamestring
nullable: true
flightCodestring
nullable: true
classstring
nullable: true
lugageWeightnumber($double)
handLugageWeightnumber($double)
departureFlightDatestring($date-time)
departureCountryNamestring
nullable: true
departureCityNamestring
nullable: true
departureAirportCodestring
nullable: true
departureAirportNamestring
nullable: true
departureTerminalCodestring
nullable: true
arrivalFlightDatestring($date-time)
arrivalCountryNamestring
nullable: true
arrivalCityNamestring
nullable: true
arrivalAirportCodestring
nullable: true
arrivalAirportNamestring
nullable: true
arrivalTerminalCodestring
nullable: true
flightDurationstring
nullable: true
baggages[
nullable: trueBaggage{
baggageCodestring
nullable: true
descriptionstring
nullable: true
pricenumber($double)
currencystring
nullable: true
includedboolean

}]

}]

}

extraServices[
nullable: trueHotelExtraServiceBase{
extraServiceCodestring
nullable: true
extraServiceTypeCodestring
nullable: true
isMandatoryinteger($int32)
extraServiceNamestring
nullable: true
minimalServiceAmountnumber($double)
includedPriceCodestring
nullable: true
prices[
nullable: trueHotelExtraServicePriceBase{
extraServicePriceCodestring
nullable: true
displayNamestring
nullable: true
restrictionInfostring
nullable: true
additionalInfostring
nullable: true
pricenumber($double)
extraPricenumber($double)
currencystring
nullable: true

}]

}]

insurancePriceInsurancePrice{
namestring
nullable: true
pricenumber($double)
priceSurcargenumber($double)
actualStartDatestring($date-time)
actualEndDatestring($date-time)
optionalboolean
includedInPackagePriceboolean

}

}]

pagingIdstring
nullable: true
pageNumberinteger($int64)
pageCountinteger($int64)

}

Definitions

Request Parameters 

KeyTypeNullableDescription
departureCountryCodeStringNoThe ISO 3166-1 alpha-2 code of the departure country. For example, "KZ" for Kazakhstan.
departureCityUIDString (UUID)NoThe unique identifier of the departure city. This is a UUID, such as "f0ba6324-f337-405c-8cc7-23d62cf664e8".
arrivalCountryCodeStringNoThe ISO 3166-1 alpha-2 code of the arrival country. For example, "AE" for United Arab Emirates.
adultsIntegerNoThe number of adults for the trip. For example, 2 for two adults.
childrenIntegerNoThe number of children for the trip. For example, 0 for no children.
departureDateString (date-time)NoThe departure date in ISO 8601 format. For example, "2024-05-25T00:00:00" for May 25, 2024.
returnDateString (date-time)NoThe return date in ISO 8601 format. For example, "2024-06-01T00:00:00" for June 1, 2024.
departureAndReturnDaysCountIntegerNoThe total number of days for the departure and return trip. For example, 7 for a week-long trip.
checkInDateString (date-time)NoThe check-in date at the hotel in ISO 8601 format. For example, "2024-05-25T00:00:00" for May 25, 2024.
checkOutDateString (date-time)NoThe check-out date from the hotel in ISO 8601 format. For example, "2024-06-01T00:00:00" for June 1, 2024.
checkInAndCheckOutDaysCountIntegerNoThe total number of days for the hotel stay. For example, 7 for a week-long stay.
directFlightsOnlyBooleanNoWhether to search for direct flights only. For example, true to only search for direct flights.
pageRowCountIntegerNoThe number of results to return per page. For example, 1 to return 1 result per page.
searchCurrencyStringNoThe currency in which the search results should be displayed. For example, "USD" for United States Dollar.

Response Parameters

KeyTypeDescription
packagesArrayAn array of travel packages. Each package includes various details about the package.
packages[].idStringA unique identifier for the package. This is used to uniquely identify each package.
packages[].priceCurrencyStringThe currency in which the price is denoted. This could be USD, EUR, etc.
packages[].totalPriceNumberThe total price of the package. This includes all costs associated with the package.
packages[].agentCommissionPercentNumberThe commission percentage for the agent. This is the percentage of the total price that the agent receives as commission.
packages[].agentCommissionAmountNumberThe commission amount for the agent. This is the actual amount the agent receives as commission.
packages[].includedExtrasAmountNumberThe amount for the included extras. This is the cost of any extra services included in the package.
packages[].priceDifferenceNumberThe price difference. This could be a discount or a price increase.
packages[].hotelObjectAn object containing details about the hotel included in the package. This includes information like the hotel name, class, availability, etc.
packages[].hotel.hotelPriceIdStringThe price ID of the hotel. This is used to uniquely identify the price for the hotel.
packages[].hotel.hotelNameStringThe name of the hotel. This is the actual name of the hotel.
packages[].hotel.hotelCodeStringThe code of the hotel. This is a unique code used to identify the hotel.
packages[].hotel.nightsNumberThe number of nights for the stay. This is the duration of the stay at the hotel.
packages[].hotel.mealPlanStringThe meal plan for the stay. This could be breakfast included, all inclusive, etc.
packages[].hotel.hotelClassStringThe class of the hotel. This could be 3-star, 4-star, 5-star, etc.
packages[].hotel.hotelColorStringThe color associated with the hotel. This could be used for categorization or visualization purposes.
packages[].hotel.availabilityTypeStringThe availability type of the hotel. This could be available, sold out, etc.
packages[].hotel.availableRoomsCountNumberThe count of available rooms. This is the number of rooms that are currently available at the hotel.
packages[].hotel.fewRoomsBooleanA boolean indicating if there are few rooms left. If true, it means that there are only a few rooms left.
packages[].hotel.roomCategoryCodeStringThe code of the room category. This is a unique code used to identify the room category.
packages[].hotel.roomCategoryNameStringThe name of the room category. This is the actual name of the room category.
packages[].hotel.placementTypeNameStringThe name of the placement type. This could be sea view, garden view, etc.
packages[].hotel.placementDescriptionStringThe description of the placement. This provides more details about the placement type.
packages[].hotel.checkInDateStringThe check-in date. This is the date when the stay at the hotel begins.
packages[].hotel.checkOutDateStringThe check-out date. This is the date when the stay at the hotel ends.
packages[].hotel.adultsNumberThe number of adults. This is the number of adults that will be staying at the hotel.
packages[].hotel.childrenNumberThe number of children. This is the number of children that will be staying at the hotel.
packages[].hotel.districtUIDStringThe UID of the district. This is a unique identifier for the district where the hotel is located.
packages[].hotel.districtNameStringThe name of the district. This is the actual name of the district where the hotel is located.
packages[].hotel.cityUIDStringThe UID of the city. This is a unique identifier for the city where the hotel is located.
packages[].hotel.cityNameStringThe name of the city. This is the actual name of the city where the hotel is located.
packages[].hotel.countryCodeStringThe code of the country. This is a unique code used to identify the country where the hotel is located.
packages[].hotel.countryNameStringThe name of the country. This is the actual name of the country where the hotel is located.
packages[].hotel.hasAlcoholBooleanA boolean indicating if alcohol is available. If true, it means that alcohol is available at the hotel.
packages[].hotel.hasFreeWifiBooleanA boolean indicating if free Wi-Fi is available. If true, it means that free Wi-Fi is available at the hotel.
packages[].hotel.hasMetroBooleanA boolean indicating if metro is available. If true, it means that there is a metro station near the hotel.
packages[].hotel.hasPoolBooleanA boolean indicating if a pool is available. If true, it means that the hotel has a pool.
packages[].hotel.hasMallBooleanA boolean indicating if a mall is available. If true, it means that there is a mall near the hotel.
packages[].hotel.infantMaxAgeNumberThe maximum age for an infant. This is the maximum age at which a person is considered an infant.
packages[].hotel.childMinAgeNumberThe minimum age for a child. This is the minimum age at which a person is considered a child.
packages[].hotel.childMaxAgeNumberThe maximum age for a child. This is the maximum age at which a person is considered a child.
packages[].hotel.teenMinAgeNumberThe minimum age for a teen. This is the minimum age at which a person is considered a teen.
packages[].hotel.teenMaxAgeNumberThe maximum age for a teen. This is the maximum age at which a person is considered a teen.
packages[].hotel.adultMinAgeNumberThe minimum age for an adult. This is the minimum age at which a person is considered an adult.
packages[].hotel.cancellationPolicyDescriptionStringThe description of the cancellation policy. This provides more details about the cancellation policy of the hotel.
packages[].hotel.cancellationPolicyObjectAn object containing details about the cancellation policy. This includes information like the cancellation deadline, cancellation fee, etc.
packages[].flightObjectAn object containing details about the flight included in the package. This includes information like the flight ID, departure date, return date, etc.
packages[].flight.idStringThe ID of the flight. This is used to uniquely identify the flight.
packages[].flight.departureDateStringThe departure date of the flight. This is the date when the flight departs.
packages[].flight.returnDateStringThe return date of the flight. This is the date when the flight returns.
packages[].flight.departureTicketsLeftNumberThe number of departure tickets left. This is the number of tickets that are still available for the departure flight.
packages[].flight.returnTicketsLeftNumberThe number of return tickets left. This is the number of tickets that are still available for the return flight.
packages[].flight.departureAvailabilityTypeStringThe availability type of the departure flight. This could be available, sold out, etc.
packages[].flight.returnAvailabilityTypeStringThe availability type of the return flight. This could be available, sold out, etc.
packages[].flight.isTwoWayBooleanA boolean indicating if the flight is two-way. If true, it means that the flight includes both departure and return.
packages[].flight.sameBaggageForAllBooleanA boolean indicating if the same baggage is for all. If true, it means that the same baggage allowance applies to all passengers.
packages[].flight.totalBaggageBooleanA boolean indicating if total baggage is included. If true, it means that the total baggage allowance is included in the price.
packages[].flight.isBlockBooleanA boolean indicating if the flight is blocked. If true, it means that the flight is currently blocked and cannot be booked.
packages[].flight.classStringThe class of the flight. This could be economy, business, first class, etc.
packages[].flight.departureSegmentsArrayAn array containing details about the departure segments. Each segment includes information like the departure airport, arrival airport, departure time, arrival time, etc.
packages[].flight.returnSegmentsArrayAn array containing details about the return segments. Each segment includes information like the departure airport, arrival airport, departure time, arrival time, etc.
packages[].flight.passengersArrayAn array containing details about the passengers. Each passenger includes information like the passenger type, baggage allowance, etc.
packages[].extraServicesArrayAn array of any extra services included in the package. Each service includes information like the service name, service price, etc.
packages[].insurancePriceObjectAn object containing details about the insurance price included in the package. This includes information like the insurance type, insurance price, etc.
packages[].cacheKeyStringThe cache key. This is used to cache the package details for faster retrieval.
packages[].sortCheckInOutStringThe 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[].sortAirlineStringThe airline for sorting. This is used to sort the packages based on the airline.
packages[].sortHotelNameStringThe hotel name for sorting. This is used to sort the packages based on the hotel name.
packages[].sortDetailsStringThe details for sorting. This is used to sort the packages based on various details.
packages[].sortPlacementStringThe placement for sorting. This is used to sort the packages based on the placement.
pagingIdStringAn identifier for the page. This is used to uniquely identify each page of results.
pageNumberNumberThe current page number. This is the number of the current page of results.
pageCountNumberThe total number of pages. This is the total number of pages of results.
totalCountNumberThe total count of packages. This is the total number of packages in all pages of results.
errorBooleanA 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
 }

While making first search request, paging id should be empty,  "pageNumber":  and  "pageRowCount":10 means that, in response there will be returned maximum 10 packages per page. 

Request with caching

after receiving response from first search request, in the end we can see pagingId- number, wchich we can use for caching, and (pageinatoin) for switch pagenumbers, and displaying results as we whant. For cleaning cache, it's important to make new request without cllear pagingID, like this  "pagingId": "",

 {
 "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"
    ]
}

Important

Error

It's Important to in every other request header, put Auth token

Key - Authorization

Value - Bearer Token what is given in this response.

also note in headers that:

Content-Type - application/json

Key - X-nugios-timezone

Value - 240