Changes for page 1. Hotels

Last modified by Giorgi Mdivnishvili on 2024/02/29 10:01

From version 10.1
edited by Giorgi Mdivnishvili
on 2024/02/26 17:55
Change comment: There is no comment for this version
To version 17.1
edited by Giorgi Mdivnishvili
on 2024/02/29 10:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,7 +6,7 @@
6 6  
7 7  = Method Description =
8 8  
9 -**GetDestinationCountries **method is used to get all destination countries list, which is provided by Nugios.
9 +The method returns the list of hotels with the statuses and timestamps of the prices
10 10  
11 11  
12 12  == Endpoint URL - [Method - GET] ==
... ... @@ -16,6 +16,8 @@
16 16  {{/info}}
17 17  
18 18  
19 +Parameters to pass: agentid and agentpassword
20 +
19 19  == Request Parameters ==
20 20  
21 21  (% class="box infomessage" %)
... ... @@ -26,11 +26,8 @@
26 26  )))
27 27  
28 28  
29 -The method returns the list of hotels with the statuses and timestamps of the prices
30 -
31 31  Return value example:
32 32  
33 -
34 34  == Response Body ==
35 35  
36 36  {{code language="json"}}
... ... @@ -90,10 +90,11 @@
90 90  {{/code}}
91 91  
92 92  
93 -=== ===
94 94  
95 95  == Definitions ==
96 96  
95 +(% class="table-bordered" %)
96 +(% class="info" %)|**Parameter**|**Description**
97 97  |**hotelid**| GUID of the hotel in the database of Rustar. This GUID will be used to retrieve additional information (like prices) about the hotel
98 98  |**hotelname**|String. Name of the hotel
99 99  |**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”.
... ... @@ -114,5 +114,4 @@
114 114  |**note**|String. Free formed text
115 115  |**imageurl**|String. Optional. Points the URL for the image of the hotel if any.
116 116  
117 -
118 118