Changes for page 2. Get Hotels
Last modified by Giorgi Mdivnishvili on 2024/02/29 09:39
From version 10.1
edited by Giorgi Mdivnishvili
on 2023/12/04 12:21
on 2023/12/04 12:21
Change comment:
There is no comment for this version
To version 16.1
edited by Giorgi Mdivnishvili
on 2024/02/29 09:39
on 2024/02/29 09:39
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Get Hotels 1 +2. Get Hotels - Content
-
... ... @@ -2,7 +2,7 @@ 2 2 {{toc/}} 3 3 {{/box}} 4 4 5 -= Method- Get Hotels = 5 += Method - Get Hotels = 6 6 7 7 endpoint - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetHotels>>https://testapi.rustaronline.com/api/Hotels/GetHotels]] 8 8 ... ... @@ -108,22 +108,22 @@ 108 108 109 109 110 110 111 - ***hotelid**: GUID of the hotel in the database of Rustar. This GUID willbeused totrieve additionalinformation (like prices)about the hotel112 - ***hotelname**:string. Name ofthe hotel113 -* *pricestatus**:string."ready"or"pending".“ready”meansthat pricesare readytobedownloaded.“pending” meanshat priceregistrationisunderprocessing andnotall prices are availableforhe hotel. Incase of “pending” the pricesshouldbe downloaded laterwhenthestatus is changed to“ready”.114 -* *cityid**:GUID ofthe Citywherethe hotelis located.115 -* *cityname**:string.Name of the city116 -* *districtid**:GUID of thedistrict,where the hotel is located117 -* *districtname**:string. Name of thedistrict118 -* *hasalcohol**:Booleanparameter.Describeswhetherhotel servesalcohol or not119 -* *hasfreewifi**: Booleanparameter.Describes whetherfree wifiisavailableintherooms120 -* *hasmall**:Boolean parameter. Describes whetherthereis ashopping mallnearthe hotel121 -* *hasmetro**:Boolean parameter. Describes whetherthere is ametrostationnearthehotel122 -* *haspool**:Boolean parameter. Describes whether there is swimmingpoolin the hotel123 -* *hotelclass**: string. “//”,””,”//~*~*”,”~*~*~*~*”,”~*~*~*~**”or”Apartments”.NumberofstarsorApartmenthotel124 -* *hoteltype**:string."City" or“Beach”. Describes whether this hotelislocatedin thecityor atthebeach125 -* *popular**:Boolean.Describesif the hotel waspopularlast7 days126 -* *recommended**:Boolean.Trueifthe hotel isrecommendedbyRustar127 -* *priceupdated**:DateTimeof the lastpriceupdate128 -* *note**:string.Freeformed text129 -* *imageurl**:string.Optional. Points theURLforthe imageofthehotel if any.111 +(% class="table-bordered" %) 112 +(% class="info" %)|**Value**|**Description** 113 +|**hotelid**| GUID of the hotel in the database of Rustar. This GUID will be used to retrieve additional information (like prices) about the hotel 114 +|**hotelname**| string. Name of the hotel 115 +|**pricestatus**| string. "ready" or "pending". “ready” means that prices are ready to be downloaded. “pending” means that price registration is under processing and not all prices are available for the hotel. In case of “pending” the prices should be downloaded later when the status is changed to “ready”. 116 +|**cityid**| GUID of the City where the hotel is located. 117 +|**cityname**| string. Name of the city 118 +|**districtid**| GUID of the district, where the hotel is located 119 +|**districtname**| string. Name of the district 120 +|**hasalcohol**| Boolean parameter. Describes whether hotel serves alcohol or not 121 +|**hasfreewifi**| Boolean parameter. Describes whether free wifi is available in the rooms 122 +|**hasmall**| Boolean parameter. Describes whether there is a shopping mall near the hotel 123 +|**hasmetro**| Boolean parameter. Describes whether there is a metro station near the hotel 124 +|**haspool**| Boolean parameter. Describes whether there is swimming pool in the hotel 125 +|**hotelclass**| string. “”,””,”~*~*”,”~*~*~*~*”,”~*~*~*~**” or ”Apartments”. Number of stars or Apartment hotel 126 +|**hoteltype**| string. "City" or “Beach”. Describes whether this hotel is located in the city or at the beach 127 +|**popular**| Boolean. Describes if the hotel was popular last 7 days 128 +|**recommended**| Boolean. True if the hotel is recommended by Rustar 129 +|**note**| string. Free formed text