Changes for page 1. Hotels

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

From version 16.1
edited by Giorgi Mdivnishvili
on 2024/02/27 09:34
Change comment: There is no comment for this version
To version 11.1
edited by Giorgi Mdivnishvili
on 2024/02/26 17:57
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 -The method returns the list of hotels with the statuses and timestamps of the prices
9 +**GetDestinationCountries **method is used to get all destination countries list, which is provided by Nugios.
10 10  
11 11  
12 12  == Endpoint URL - [Method - GET] ==
... ... @@ -16,8 +16,6 @@
16 16  {{/info}}
17 17  
18 18  
19 -Parameters to pass: agentid and agentpassword
20 -
21 21  == Request Parameters ==
22 22  
23 23  (% class="box infomessage" %)
... ... @@ -27,7 +27,11 @@
27 27  |agentpassword|[[TestP@ssw0rd>>mailto:TestP@ssw0rd]]|[[https:~~/~~/restapi.rustaronline.com/v1.01/api/hotels?agentid=test.test&agentpassword=TestP@ssw0rd>>https://restapi.rustaronline.com/v1.01/api/hotels?agentid=test.test&agentpassword=TestP@ssw0rd]]
28 28  )))
29 29  
28 +Parameters to pass: agentid and agentpassword
30 30  
30 +The method returns the list of hotels with the statuses and timestamps of the prices
31 +
32 +
31 31  Return value example:
32 32  
33 33  == Response Body ==
... ... @@ -89,10 +89,10 @@
89 89  {{/code}}
90 90  
91 91  
94 +=== ===
92 92  
93 93  == Definitions ==
94 94  
95 -(% class="info" %)|**Parameter**|**Description**
96 96  |**hotelid**| GUID of the hotel in the database of Rustar. This GUID will be used to retrieve additional information (like prices) about the hotel
97 97  |**hotelname**|String. Name of the hotel
98 98  |**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”.