Search


HotelSearch

Last Update Date: 06.03.2017
Method Adress /api/Search/HotelSearch
Method Type POST
Token Required YES

Request Parameters

CheckInDate: [required]
Night: [required]
HoneyMoon: (boolean)
OnlyAvailable: (boolean)
Currency: (string)
HotelCode: (string)
RegionCode: (string)
CategoryCode: (string)
RoomCode: (string)
RoomTypeCode: (string)
BoardCode: (string)
CalculateHandlingFee: (boolean)
HandFeeType: (string)
CalculateTransfer: (boolean)
TransferCriteria: (class type)(list)
TransferCriteria Properties:
CalculateArrivalTransfer: (boolean)
ArrivalTransferType: (string)
ArrivalDestinationCode: (string)
CalculateDepartureTransfer: (boolean)
DepartureTransferType: (string)
DepartureDestinationCode: (string)
FlightCriteria Properties:
FromCode: (string)
ToCode: (string)
RoomCriteria Properties:
Adult: (int)[required]
AdultAges: (int)[array]
Child: (int)
ChildAges: (int)[array]

Response Parameters

PublishDate: (datetime)
RoomOffers: [array]
RoomSpoInfo: (dynamic)[array]
ChildAges: (int)[array]
SejourRoomOffers: Price Search Schema 1
OfferID: (int)
RoomNumber: (int)
RoomOfferID: (int)
Night: (int)
CheckInDate: (datetime)
CheckOutDate: (datetime)
Adult: (byte)
Child: (byte)
TourOperatorCode: (string)
HotelCode: (string)
HotelName: (string)
RoomCode: (string)
RoomName: (string)
RoomTypeCode: (string)
RoomTypeName: (string)
BoardCode: (string)
BoardName: (string)
CategoryCode: (string)
Currency: (string)
RegionCode: (string)
RegionName: (string)
TrfRegionCode: (string)
TrfRegionName: (string)
AvailabilityStatus: (string)
AvailabilityStatusDesc: (string)
AvailabilityInfo: (dynamic)
HotelNetPrice: (double)
HotelPrice: (double)
TotalPrice: (double)
AllotmentType: (string)
ExtraPrice: (double)
KickbackPrice: (double)
HandlingFeePrice: (double)
TransferPrice: (double)
HotelWebSite: (string)
NewCancelRules: (boolean)
AvailableRoomCount: (int)
AllotmentBaseRoom: (string)
AllotmentBaseRoomType: (string)
Rates: (string)[array]
DailyRate: Price Search Response Schema 2
RateID: (int)
Date: (datetime)
Amount: (double)
Night: (int)
Room: (string)
RoomType: (string)
Board: (string)
PriceType: (string)
AdultPrice: (double)
Currency: (string)
PeriodInfo: (class type)(list)
PeriodInfo: Price Search Response Schema 3
Extrabed: (int32)(nullable)
ExtrabedPrice: (double)
ApartPrice: (double)
AllotmentType: (string)
Chd1Price: (double)
Chd2Price: (double)
Chd3Price: (double)
Chd4Price: (double)
WeekendPrice: (boolean)
SPOBoardDifference: (double)
SPOExtBedDifference: (double)
SpoInfos: (class type)[array]
SpoInfos: Price Search Response Schema 4
PriceTourOperator: (string)
AccomodationPrice: (double)
ExtraPrice: (double)
KickBackPrice: (double)
DailyTotalPrice: (double)
DayPromotionAppliedType: (byte)
EbExtPercent: (double)
KbDayPromotionApplyType: (boolean)

Request Sample

    Authorization:Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJEQk5hbWUiOiJEVUJBSTIwMTEiLCJVQ29kZSI6IlRFU1QiLCJVVHlwZSI6IjEiLCJPcHIiOiJBTFNIQU0iLCJXQ29kZSI6IldFQiIsIlNyYyI6IjExIiwiTGFuZyI6ImVuLVVTIiwiV2lkIjoiMSIsIlJvbGUiOlsiMCIsIjEiLCIyIiwiMyIsIjQiLCI1IiwiNiIsIjciLCI4IiwiOSIsIjEwIiwiMTEiLCIxMiIsIjEzIiwiMTQiLCIxNSIsIjE2IiwiMTciLCIxOCIsIjE5IiwiMjAiLCIyMSIsIjIyIiwiMjMiLCIyNCIsIjI1IiwiMjYiLCIyNyIsIjI4IiwiMjkiLCIzMCIsIjMxIiwiMzIiLCIzMyIsIjM1Il0sIkFkZFJvbGUiOlsiMTAwMCIsIjEwMDEiLCIxMDAyIl0sIlRpZCI6IjUxMjA4MSIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3QvIiwiYXVkIjoiaHR0cDovL2xvY2FsaG9zdC8iLCJleHAiOjE0Mzg2MTg2MjUsIm5iZiI6MTQzODYxNTAyNn0.jZ7_ufaLwi7VSlbTF5XZcqP2XHtRSMjVb51-LK9kLUE 
Content-Type:application/json 

Request Content:{  
   CheckInDate:"2015-09-01",
   Night:7,
   HotelCode:"ALBSFT",
   RoomCriterias:[  
      {  
         Adult:2,
         Child:2,
         ChildAges:[  
            5,
            8
         ]
      }
   ]
}

Response Sample

{  
   "Body":{  
      "PublishDate":"2015-08-03T00:00:00+03:00",
      "RoomOffers":[  
         {  
            "OfferID":1,
            "RoomNumber":1,
            "RoomOfferID":1,
            "Night":7,
            "CheckInDate":"2015-09-01T00:00:00",
            "CheckOutDate":"2015-09-08T00:00:00",
            "Adult":2,
            "Child":2,
            "TourOperatorCode":"ALSHAM",
            "HotelCode":"ALBSFT",
            "HotelName":"AL BUSTAN HOTEL FLATS",
            "RoomCode":"DBLCB",
            "RoomName":"DOUBLE+CHILD EXTRA BED",
            "RoomTypeCode":"STD",
            "RoomTypeName":"STANDARD ROOM",
            "BoardCode":"BB",
            "BoardName":"BED AND BREAKFAST",
            "CategoryCode":"STANDARD APARTMENT",
            "Currency":"AED",
            "RegionCode":"SHA",
            "RegionName":"SHARJAH",
            "TrfRegionCode":"SHC",
            "TrfRegionName":"SHARJAH CITY",
            "AvailabilityStatus":"OK",
            "AvailabilityStatusDesc":"AVAILABLE",
            "AvailabilityInfo":null,
            "HotelNetPrice":2205.0,
            "HotelPrice":2535.75,
            "TotalPrice":3018.75,
            "AllotmentType":"NORMAL",
            "ExtraPrice":483.0,
            "KickbackPrice":0.0,
            "HandlingFeePrice":0.0,
            "TransferPrice":0.0,
            "HotelWebSite":"http://www.albustangroup.com/home2.htm",
            "AvailableRoomCount":1,
            "AllotmentBaseRoom":"",
            "AllotmentBaseRoomType":"",
            "Rates":[  
               {  
                  "RateID":1,
                  "Date":"2015-09-01T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":338.62,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":315.0,
                  "ExtraPrice":69.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":384.0
               },
               {  
                  "RateID":2,
                  "Date":"2015-09-02T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":338.62,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":315.0,
                  "ExtraPrice":69.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":384.0
               },
               {  
                  "RateID":3,
                  "Date":"2015-09-03T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":338.62,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":315.0,
                  "ExtraPrice":69.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":384.0
               },
               {  
                  "RateID":4,
                  "Date":"2015-09-04T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":338.62,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":315.0,
                  "ExtraPrice":69.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":384.0
               },
               {  
                  "RateID":5,
                  "Date":"2015-09-05T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":338.62,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":315.0,
                  "ExtraPrice":69.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":384.0
               },
               {  
                  "RateID":6,
                  "Date":"2015-09-06T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":338.62,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":315.0,
                  "ExtraPrice":69.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":384.0
               },
               {  
                  "RateID":7,
                  "Date":"2015-09-07T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":338.62,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":315.0,
                  "ExtraPrice":69.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":384.0
               }
            ],
            "RoomSpoInfo":null,
            "ChildAges":[  
               5,
               8
            ]
         },
         {  
            "OfferID":2,
            "RoomNumber":1,
            "RoomOfferID":2,
            "Night":7,
            "CheckInDate":"2015-09-01T00:00:00",
            "CheckOutDate":"2015-09-08T00:00:00",
            "Adult":2,
            "Child":2,
            "TourOperatorCode":"ALSHAM",
            "HotelCode":"ALBSFT",
            "HotelName":"AL BUSTAN HOTEL FLATS",
            "RoomCode":"DBLCB",
            "RoomName":"DOUBLE+CHILD EXTRA BED",
            "RoomTypeCode":"STD",
            "RoomTypeName":"STANDARD ROOM",
            "BoardCode":"HB",
            "BoardName":"HALF BOARD",
            "CategoryCode":"STANDARD APARTMENT",
            "Currency":"AED",
            "RegionCode":"SHA",
            "RegionName":"SHARJAH",
            "TrfRegionCode":"SHC",
            "TrfRegionName":"SHARJAH CITY",
            "AvailabilityStatus":"OK",
            "AvailabilityStatusDesc":"AVAILABLE",
            "AvailabilityInfo":null,
            "HotelNetPrice":2758.0,
            "HotelPrice":3171.7,
            "TotalPrice":3871.7,
            "AllotmentType":"NORMAL",
            "ExtraPrice":700.0,
            "KickbackPrice":0.0,
            "HandlingFeePrice":0.0,
            "TransferPrice":0.0,
            "HotelWebSite":"http://www.albustangroup.com/home2.htm",
            "AvailableRoomCount":1,
            "AllotmentBaseRoom":"",
            "AllotmentBaseRoomType":"",
            "Rates":[  
               {  
                  "RateID":1,
                  "Date":"2015-09-01T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":423.55,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":394.0,
                  "ExtraPrice":100.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":494.0
               },
               {  
                  "RateID":2,
                  "Date":"2015-09-02T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":423.55,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":394.0,
                  "ExtraPrice":100.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":494.0
               },
               {  
                  "RateID":3,
                  "Date":"2015-09-03T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":423.55,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":394.0,
                  "ExtraPrice":100.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":494.0
               },
               {  
                  "RateID":4,
                  "Date":"2015-09-04T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":423.55,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":394.0,
                  "ExtraPrice":100.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":494.0
               },
               {  
                  "RateID":5,
                  "Date":"2015-09-05T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":423.55,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":394.0,
                  "ExtraPrice":100.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":494.0
               },
               {  
                  "RateID":6,
                  "Date":"2015-09-06T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":423.55,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":394.0,
                  "ExtraPrice":100.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":494.0
               },
               {  
                  "RateID":7,
                  "Date":"2015-09-07T00:00:00",
                  "Amount":0.0,
                  "PriceType":"ROOM",
                  "AdultPrice":423.55,
                  "PeriodInfo":{  
                     "Period":"U",
                     "PeriodType":"STAY",
                     "PeriodBeginDate":"2011-05-16T00:00:00",
                     "PeriodEndDate":"2050-12-30T00:00:00"
                  },
                  "Extrabed":0,
                  "ExtrabedPrice":0.0,
                  "ApartPrice":0.0,
                  "Chd1Price":0.0,
                  "Chd2Price":0.0,
                  "Chd3Price":0.0,
                  "Chd4Price":0.0,
                  "WeekendPrice":false,
                  "SpoInfos":[  

                  ],
                  "AccomodationPrice":394.0,
                  "ExtraPrice":100.0,
                  "KickBackPrice":0.0,
                  "DailyTotalPrice":494.0
               }
            ],
            "RoomSpoInfo":null,
            "ChildAges":[  
               5,
               8
            ]
         }
      ]
   },
   "Messages":[  

   ]
}