SearchTourPackages - Basic version

Version 5.1 by Giorgi Mdivnishvili on 2024/04/11 09:45

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

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

Packages

FieldTypeDescription
idstringUnique identifier for the package
priceCurrencystringCurrency for the price
totalPricenumberTotal price of the package
agentCommissionPercentnumberCommission percentage for the agent
agentCommissionAmountnumberCommission amount for the agent
includedExtrasAmountintegerAmount of included extras
priceDifferenceintegerPrice difference
hotelobjectDetails about the hotel
flightobjectDetails about the flight
extraServicesarrayExtra services included in the package
insurancePriceobjectDetails about the insurance price
cacheKeystringCache key
sortCheckInOutstringSorting parameter based on check-in and check-out dates
sortAirlinestringSorting parameter based on airline
sortHotelNamestringSorting parameter based on hotel name
sortDetailsstringSorting parameter based on details
sortPlacementstringSorting parameter based on placement

Hotel

FieldTypeDescription
hotelPriceIdstringUnique identifier for the hotel price
hotelNamestringName of the hotel
hotelCodestringCode of the hotel
nightsintegerNumber of nights
mealPlanstringMeal plan
hotelClassstringClass of the hotel
hotelColorstringColor associated with the hotel
availabilityTypestringAvailability type of the hotel
availableRoomsCountintegerNumber of available rooms
fewRoomsbooleanWhether there are few rooms left
roomCategoryCodestringCode of the room category
roomCategoryNamestringName of the room category
placementTypeNamestringName of the placement type
placementDescriptionstringDescription of the placement
checkInDatestringCheck-in date
checkOutDatestringCheck-out date
adultsintegerNumber of adults
childrenintegerNumber of children
districtUIDstringUnique identifier for the district
districtNamestringName of the district
cityUIDstringUnique identifier for the city
cityNamestringName of the city
countryCodestringCountry code
countryNamestringName of the country
hasAlcoholbooleanWhether the hotel has alcohol
hasFreeWifibooleanWhether the hotel has free Wi-Fi
hasMetrobooleanWhether the hotel is near a metro
hasPoolbooleanWhether the hotel has a pool
hasMallbooleanWhether the hotel is near a mall
infantMaxAgenumberMaximum age for an infant
childMinAgenumberMinimum age for a child
childMaxAgenumberMaximum age for a child
teenMinAgenumberMinimum age for a teen
teenMaxAgenumberMaximum age for a teen
adultMinAgenumberMinimum age for an adult
cancellationPolicyDescriptionstringDescription of the cancellation policy
cancellationPolicyobjectDetails about the cancellation policy

Flight

FieldTypeDescription
idstringUnique identifier for the flight
departureDatestringDeparture date
returnDatestringReturn date
departureTicketsLeftintegerNumber of departure tickets left
returnTicketsLeftintegerNumber of return tickets left
departureAvailabilityTypestringAvailability type for the departure
returnAvailabilityTypestringAvailability type for the return
isTwoWaybooleanWhether the flight is two-way
sameBaggageForAllbooleanWhether the same baggage is for all
totalBaggagebooleanWhether the total baggage is included
isBlockbooleanWhether the flight is blocked
classstringClass of the flight
departureSegmentsarrayDetails about the departure segments
returnSegmentsarrayDetails about the return segments
passengersarrayDetails about the passengers

InsurancePrice

FieldTypeDescription
namestringName of the insurance
pricenumberPrice of the insurance
actualStartDatestringStart date of the insurance
actualEndDatestringEnd date of the insurance
optionalbooleanWhether the insurance is optional
includedInPackagePricebooleanWhether the insurance is included in the package price

Paging

FieldTypeDescription
pagingIdstringUnique identifier for the paging
pageNumberintegerCurrent page number
pageCountintegerTotal number of pages
totalCountintegerTotal count of items
errorbooleanWhether there is an error

Paging and Caching

During the first request, Paging id must be  empty like this  ( "pagingId": "",)  pagenumber is the number of the page, pagerowcount means number of the given result in one page. So in the first request we can search like this:

first request

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

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