Changes for page 1. Hotels

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

From version 11.1
edited by Giorgi Mdivnishvili
on 2024/02/26 17:57
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" %)
... ... @@ -25,11 +25,7 @@
25 25  |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]]
26 26  )))
27 27  
28 -Parameters to pass: agentid and agentpassword
29 29  
30 -The method returns the list of hotels with the statuses and timestamps of the prices
31 -
32 -
33 33  Return value example:
34 34  
35 35  == Response Body ==
... ... @@ -91,10 +91,11 @@
91 91  {{/code}}
92 92  
93 93  
94 -=== ===
95 95  
96 96  == Definitions ==
97 97  
95 +(% class="table-bordered" %)
96 +(% class="info" %)|**Parameter**|**Description**
98 98  |**hotelid**| GUID of the hotel in the database of Rustar. This GUID will be used to retrieve additional information (like prices) about the hotel
99 99  |**hotelname**|String. Name of the hotel
100 100  |**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”.