Changes for page 2. Get Hotels

Last modified by Giorgi Mdivnishvili on 2024/02/29 09:39

From version 5.1
edited by Giorgi Mdivnishvili
on 2023/12/04 11:41
Change comment: There is no comment for this version
To version 9.1
edited by Giorgi Mdivnishvili
on 2023/12/04 11:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,9 +2,9 @@
2 2  {{toc/}}
3 3  {{/box}}
4 4  
5 -= endpoint - Get Hotels =
5 += Method- Get Hotels =
6 6  
7 -[[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetHotels>>https://testapi.rustaronline.com/api/Hotels/GetHotels]]
7 +endpoint - [[https:~~/~~/testapi.rustaronline.com/api/Hotels/GetHotels>>https://testapi.rustaronline.com/api/Hotels/GetHotels]]
8 8  
9 9  
10 10  Use this endpoint with Get function to take in response all the list of available hotels. please take in consideration that this method CAN BE USED WITH `ApiVersion` with the value `r1` ONLY! Get the list of our hotels in the old format
... ... @@ -106,8 +106,8 @@
106 106  
107 107  **The method returns the list of hotels with the statuses and timestamps of the prices**
108 108  
109 ->
110 -(((
109 +
110 +
111 111  * **hotelid**: GUID of the hotel in the database of Rustar. This GUID will be used to retrieve additional information (like prices) about the hotel
112 112  * **hotelname**: string. Name of the hotel
113 113  * **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”.
... ... @@ -127,4 +127,3 @@
127 127  * **priceupdated**: DateTime of the last price update
128 128  * **note**: string. Free formed text
129 129  * **imageurl**: string. Optional. Points the URL for the image of the hotel if any.
130 -)))