Changes for page 2. Hotel Prices
Last modified by Giorgi Mdivnishvili on 2024/02/27 12:01
From version 3.1
edited by Giorgi Mdivnishvili
on 2024/02/26 15:11
on 2024/02/26 15:11
Change comment:
There is no comment for this version
To version 6.1
edited by Giorgi Mdivnishvili
on 2024/02/27 09:52
on 2024/02/27 09:52
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -231,83 +231,48 @@ 231 231 {{/code}} 232 232 233 233 234 +(% class="info" %)|**Value**|((( 235 +**Description** 236 +))) 237 +|**priceid**|GUID of the unique price id in the database of Rustar. This field together with placement creates unique combination of price for room/promotion/mealplan 238 +|**hotelid**|GUID of the hotel in the database of Rustar. 239 +|**roomcategory**|GUID of the Room category 240 +|**roomcategorytype**|GUID of the Room category type. Unique by description of the room 241 +|**roomcategoryname**|string. The name of the room category 242 +|**startdate**|Date. Start date of the price period 243 +|**enddate**|Date. End date of the price period 244 +|**mealplan**|CHAR(2). “RO”,"BB",”HB”,”FB”,”AL” 245 +|**adults**|Integer. Number of Aduts with beds 246 +|**teens**|Integer. Number of children (Teenagers) without extra bed 247 +|**children**|Integer. Number of children between infant and teen ages without extra bed 248 +|**infants**|Integer. Number of infants 249 +|**teenswithextrabeds**|Integer. Number of children (Teenagers) with extra bed 250 +|**childrenwithextrabeds**|Integer. Number of children between infant and teen ages with extra bed 251 +|**childpolicy**| { 252 +|**infantmaxage**|Decimal. Max age of the infant by the policy of the hotel 253 +|**childmaxage**|Decimal. Max age of the child by the policy of the hotel 254 +|**teenmaxage**|Decimal. Max age of the teenager by the policy of the hotel 255 +|**}**| 256 +|**placement**|string. Accomodation of all guests in following format e.g. 257 +|**SGL+1CHDEB(3-13,99)+1CHD(0-2,99)**| 258 +|**price**|Decimal. Price for the accommodation/placement 259 +|**currency**|CHAR(3). Currency of the price above 260 +|**promotioncode**|string. Optional. Promotion code if any of the specified price 261 +|**promotion**| { Promotion terms if any 262 +|**staydays**| Integer. Number of days to stay for stay/pay promotion (n nights free) 263 +|**paydays**| Integer. Number of days that will be charged in case of “staydays” stay 264 +|**discount**| Decimal. Discount % that was applied for this promotion 265 +|**cashback**| Decimal. Cashback in specified currency that was applied for this promotion 266 +|**}**| 267 +|**conditions"**| { Optional conditions for using this price 268 +|**bookingstartdate**| Date. When it is allowed to start the reservation for this promotion/accomodation 269 +|**bookingenddate**| Date. Date, after when the sale of this promotion should be stopped. 270 +|**bookbefore**| Integer. Number of days before checkin to use this promotion (Early Bird) 271 +|**minimumstay**| Integer. Minimal stay of nights to use this promotion 272 +|**maximumstay**| Integer. Maximal stay of nights to use this promotion 273 +|**}**| 274 +|**isactive**| Boolean. True if the price is active and can be used. False if the price is deactivated/inactive. 234 234 235 -**priceid:** GUID of the unique price id in the database of Rustar. This field together with placement creates unique combination of price for room/promotion/mealplan 236 236 237 -**hotelid:** GUID of the hotel in the database of Rustar. 238 238 239 -**roomcategory: **GUID of the Room category 240 - 241 -**roomcategorytype: **GUID of the Room category type. Unique by description of the room 242 - 243 -**roomcategoryname: **string. The name of the room category 244 - 245 -**startdate: **Date. Start date of the price period 246 - 247 -**enddate: **Date. End date of the price period 248 - 249 -**mealplan: **CHAR(2). “RO”,"BB",”HB”,”FB”,”AL” 250 - 251 -**adults: **Integer. Number of Aduts with beds 252 - 253 -**teens: **Integer. Number of children (Teenagers) **without** extra bed 254 - 255 -**children: **Integer. Number of children between infant and teen ages **without** extra bed 256 - 257 -**infants: **Integer. Number of infants 258 - 259 -**teenswithextrabeds: **Integer. Number of children (Teenagers) **with** extra bed 260 - 261 -**childrenwithextrabeds: **Integer. Number of children between infant and teen ages **with** extra bed 262 - 263 -**childpolicy: {** 264 - 265 -**infantmaxage: **Decimal. Max age of the infant by the policy of the hotel 266 - 267 -**childmaxage: **Decimal. Max age of the child by the policy of the hotel 268 - 269 -**teenmaxage: **Decimal. Max age of the teenager by the policy of the hotel 270 - 271 -**}** 272 - 273 -**placement: **string. Accomodation of all guests in following format e.g. 274 - 275 -**"SGL+1CHDEB(3-13,99)+1CHD(0-2,99)"** 276 - 277 -**price: **Decimal. Price for the accommodation/placement 278 - 279 -**currency: **CHAR(3). Currency of the price above 280 - 281 -**promotioncode: **string. Optional. Promotion code if any of the specified price 282 - 283 -**promotion: { **Promotion terms if any 284 - 285 -**staydays: **Integer. Number of days to stay for stay/pay promotion (n nights free) 286 - 287 -**paydays: **Integer. Number of days that will be charged in case of “staydays” stay 288 - 289 -**discount: **Decimal. Discount % that was applied for this promotion 290 - 291 -**cashback: **Decimal. Cashback in specified currency that was applied for this promotion 292 - 293 -**}** 294 - 295 - 296 -**conditions": { **Optional conditions for using this price 297 - 298 -**bookingstartdate: **Date. When it is allowed to start the reservation for this promotion/accomodation 299 - 300 -**bookingenddate: **Date. Date, after when the sale of this promotion should be stopped. 301 - 302 -**bookbefore: **Integer. Number of days before checkin to use this promotion (Early Bird) 303 - 304 -**minimumstay: **Integer. Minimal stay of nights to use this promotion 305 - 306 -**maximumstay: **Integer. Maximal stay of nights to use this promotion 307 - 308 -**}** 309 - 310 -**isactive: **Boolean. True if the price is active and can be used. False if the price is deactivated/inactive. 311 - 312 - 313 313 Please be noted, that the prices are already calculated with all possible discounts.