Changes for page 2. Hotel Prices
Last modified by Giorgi Mdivnishvili on 2024/02/27 12:01
From version 10.1
edited by Giorgi Mdivnishvili
on 2024/02/27 11:57
on 2024/02/27 11:57
Change comment:
There is no comment for this version
To version 14.1
edited by Giorgi Mdivnishvili
on 2024/02/27 12:01
on 2024/02/27 12:01
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,15 @@ 1 +{{box cssClass="floatinginfobox" title="**Contents**"}} 2 + 3 + 4 +{{toc/}} 5 +{{/box}} 6 + 1 1 = Method Description = 2 2 3 3 >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. 4 4 5 5 12 + 6 6 == Endpoint URL - [Method - GET] == 7 7 8 8 (% class="box infomessage" %) ... ... @@ -20,16 +20,15 @@ 20 20 ((( 21 21 (% class="table-bordered" %) 22 22 |**Key**|**Value**|**Request URL** 23 -|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]]**24 -|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]]**25 -|hotelid|d6f9299f-5d94-4955-85e7-003e0383023c| **[[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 -|removedublicates|false| 30 +|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]] 31 +|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]] 32 +|hotelid|d6f9299f-5d94-4955-85e7-003e0383023c|[[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]] 33 +|removedublicates|false|[[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]] 27 27 ))) 28 28 29 29 30 -Return value example: 37 +== Return value example: == 31 31 32 - 33 33 {{code language="json"}} 34 34 { 35 35 "Code": "00", ... ... @@ -245,6 +245,9 @@ 245 245 {{/code}} 246 246 247 247 254 +== Definitions == 255 + 256 +(% class="table-bordered" %) 248 248 (% class="info" %)|**Value**|((( 249 249 **Description** 250 250 ))) ... ... @@ -287,4 +287,7 @@ 287 287 |**}**| 288 288 |**isactive**| Boolean. True if the price is active and can be used. False if the price is deactivated/inactive. 289 289 299 +(% class="box errormessage" %) 300 +((( 290 290 Please be noted, that the prices are already calculated with all possible discounts. 302 +)))