3. Hotel Search

Version 5.1 by Giorgi Mdivnishvili on 2024/02/27 16:39

 

With the parameters provided in GetHotels and GetCities reponse, it’s avaible to search hotels with the desired parameters in Hotels Search.

endpoint : https://testapi.rustaronline.com/api/Hotels/Search

Method POST

Request example:

{
   "MaxResultCount":50,  
   "MaxHotelCount":10,
   "ContragentContactUID":"55a2fcfb-8378-4b73-ab1e-bc8e5c836f4e",
   "CheckInDate":"2023-12-25T00:00:00",
   "CheckOutDate":"2024-01-02T00:00:00",
   "Adults":1,
   "Children":2,
   "ChildrenAges":"5,10",
   "CountryMask":"AE",
   
   "arrivalCities": [
    {
     "cityUID": "f5185fa3-3f56-44ed-bf6b-80386a33caa2"
 
    }
  ]

}