Changes for page 2. Hotel Prices

Last modified by Giorgi Mdivnishvili on 2024/02/27 12:01

From version 7.1
edited by Giorgi Mdivnishvili
on 2024/02/27 11:55
Change comment: There is no comment for this version
To version 13.1
edited by Giorgi Mdivnishvili
on 2024/02/27 12:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,7 +1,15 @@
1 +{{box cssClass="floatinginfobox" title="**Contents**"}}
2 +
3 +
4 +{{toc/}}
5 +{{/box}}
6 +
1 1  = Method Description =
2 2  
9 +>The method returns the object with three list of prices for specified hotel. ContractPrices, Promotions, PromotionsWithConditionsNote: Parameter removedublicates is optional, used for removing duplicate seasons from the list and split prices by seasons. False is default value of this parameter.
3 3  
4 4  
12 +
5 5  == Endpoint URL - [Method - GET] ==
6 6  
7 7  (% class="box infomessage" %)
... ... @@ -13,11 +13,11 @@
13 13  
14 14  Sample URL:
15 15  
16 -
17 17  == Request Parameters ==
18 18  
19 19  (% class="box infomessage" %)
20 20  (((
28 +(% class="table-bordered" %)
21 21  |**Key**|**Value**|**Request URL**
22 22  |agentid|test.test|**[[https:~~/~~/restapi.rustaronline.com/v1.01/api/hotelprices?agentid=test.test&agentpassword=TestP@ssw0rd&hotelid=d6f9299f-5d94-4955-85e7-003e0383023c&removedublicates=false>>https://restapi.rustaronline.com/v1.01/api/hotelprices?agentid=test.test&agentpassword=TestP@ssw0rd&hotelid=d6f9299f-5d94-4955-85e7-003e0383023c&removedublicates=false]]**
23 23  |agentpassword|[[TestP@ssw0rd>>mailto:TestP@ssw0rd]]|**[[https:~~/~~/restapi.rustaronline.com/v1.01/api/hotelprices?agentid=test.test&agentpassword=TestP@ssw0rd&hotelid=d6f9299f-5d94-4955-85e7-003e0383023c&removedublicates=false>>https://restapi.rustaronline.com/v1.01/api/hotelprices?agentid=test.test&agentpassword=TestP@ssw0rd&hotelid=d6f9299f-5d94-4955-85e7-003e0383023c&removedublicates=false]]**
... ... @@ -26,13 +26,8 @@
26 26  )))
27 27  
28 28  
29 -The method returns the object with three list of prices for specified hotel. ContractPrices, Promotions, PromotionsWithConditions
37 +== Return value example: ==
30 30  
31 -Note: Parameter removedublicates is optional, used for removing duplicate seasons from the list and split prices by seasons. False is default value of this parameter.
32 -
33 -Return value example:
34 -
35 -
36 36  {{code language="json"}}
37 37  {
38 38   "Code": "00",
... ... @@ -248,6 +248,9 @@
248 248  {{/code}}
249 249  
250 250  
254 +== Definitions ==
255 +
256 +(% class="table-bordered" %)
251 251  (% class="info" %)|**Value**|(((
252 252  **Description**
253 253  )))
... ... @@ -290,4 +290,8 @@
290 290  |**}**|
291 291  |**isactive**| Boolean. True if the price is active and can be used. False if the price is deactivated/inactive.
292 292  
299 +
300 +(% class="box errormessage" %)
301 +(((
293 293  Please be noted, that the prices are already calculated with all possible discounts.
303 +)))