Changes for page 4. Hotel Extras
Last modified by Giorgi Mdivnishvili on 2024/02/27 22:06
From version 17.1
edited by Giorgi Mdivnishvili
on 2024/02/27 22:06
on 2024/02/27 22:06
Change comment:
There is no comment for this version
To version 2.1
edited by Giorgi Mdivnishvili
on 2024/02/26 15:19
on 2024/02/26 15:19
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +3,3 @@ 1 -== Endpoint == 2 - 3 3 **https:~/~/restapi.rustaronline.com/v1.01/api/hotelextras** 4 4 5 5 Method: GET ... ... @@ -11,12 +11,12 @@ 11 11 **https:~/~/restapi.rustaronline.com/v1.01/api/hotelextras?agentid=test.test&agentpassword=TestP@ssw0rd** 12 12 13 13 14 -== Request/Reponse == 15 - 16 16 The method returns the list of gala dinners and other additional services mandatory or complimentary for stay at specific dates 17 17 14 + 18 18 Return value example: 19 19 17 + 20 20 {{code language="json"}} 21 21 { 22 22 "Code": "00", ... ... @@ -215,33 +215,56 @@ 215 215 {{/code}} 216 216 217 217 218 -== Definitions == 219 219 220 -(% class="table-bordered" %) 221 -(% class="info" %)|**Value**|**Description** 222 -|**hotelid**|GUID of the hotel in the database of Rustar. This GUID will be used to retrieve additional information (like prices) about the hotel 223 -|**hotelname**|string. Name of the hotel 224 -|**servicetype**|Object type of service/gala dinner 225 -|**roomcategorytype**|GUID of the Room category type. Unique by description of the room 226 -|**roomcategoryname**|string. The name of the room category 227 -|**extraservicetypeid**|GUID of the service type. Unique for GALA DINNER, CHRISTMAS DINNER etc 228 -|**extraservicetype**|Sstring. The name of the extra service type. E.g. GALA DINNER 229 -|**extraserviceid**|GUID of the extra service provided/requested by the hotel 230 -|**extraservice**|String. The name of the service/extra for the specific hotel. E.g. NEW YEAR GALA DINNER IN ATLANTIS 231 -|**servicedescriptionnote**|String. Optional description to be displayed to client. The description explains the conditions of the gala dinner in human readable format 232 -|**serviceconditionsnote**|String. Optional description of conditions of the service to be displayed to client. The conditions displayed are in human readable format 233 -|**ismandatory**|Boolean. 1 if this dinner/service is mandatory for the stay. 0 if using of this service/dinner is optional 234 -|**serviceprices**|Array of different options for gala dinners/extra services 235 -|** description**|Description of one of the option 236 -|** adult**|Price for the adult 237 -|** teen**|Price for the teenager (Age is specified in maxage property) 238 -|** child**|Price for the child (Age is specified in maxage property) 239 -|** infant**|Price for the infant (Age is specified in maxage property). If priceid is null, then infant is not allowed 240 -|**serviceconditions**|conditions to be met in order to request this dinner/service 241 -|** bookingstartdate**|If not null, then the booking should be done starting from this date 242 -|** bookingenddate**|If not null, then the booking should be done ending this date 243 -|** minimumstay**|If not null, then the booking duration should be at least the specified days 244 -|** stayperiodstart**|If not null, then the reservation (stay date) should be starting from specified date 245 -|** stayperiodend**|If not null, then the reservation (stay date) should end before specified date 217 +**hotelid:** GUID of the hotel in the database of Rustar. This GUID will be used to retrieve additional information (like prices) about the hotel 246 246 219 +**hotelname:** string. Name of the hotel 220 + 221 +**servicetype: **Object type of service/gala dinner 222 + 223 +**roomcategorytype: **GUID of the Room category type. Unique by description of the room 224 + 225 +**roomcategoryname: **string. The name of the room category 226 + 227 +**extraservicetypeid: **GUID of the service type. Unique for GALA DINNER, CHRISTMAS DINNER etc 228 + 229 +**extraservicetype: **string. The name of the extra service type. E.g. GALA DINNER 230 + 231 +**extraserviceid:** GUID of the extra service provided/requested by the hotel 232 + 233 +**extraservice: **string. The name of the service/extra for the specific hotel. E.g. NEW YEAR GALA DINNER IN ATLANTIS 234 + 235 +**servicedescriptionnote: **string. Optional description to be displayed to client. The description explains the conditions of the gala dinner in human readable format 236 + 237 +**serviceconditionsnote: **string. Optional description of conditions of the service to be displayed to client. The conditions displayed are in human readable format 238 + 239 +**ismandatory:** Boolean. 1 if this dinner/service is mandatory for the stay. 0 if using of this service/dinner is optional 240 + 241 +**serviceprices:** Array of different options for gala dinners/extra services 242 + 243 +**~ description:** Description of one of the option 244 + 245 + **adult:** Price for the adult 246 + 247 + **teen:** Price for the teenager (Age is specified in maxage property) 248 + 249 + **child:** Price for the child (Age is specified in maxage property) 250 + 251 + **infant:** Price for the infant (Age is specified in maxage property). If priceid is null, then infant is not allowed 252 + 253 +**serviceconditions:** conditions to be met in order to request this dinner/service 254 + 255 + **bookingstartdate: **If not null, then the booking should be done starting from this date 256 + 257 + **bookingenddate:** If not null, then the booking should be done ending this date 258 + 259 + **minimumstay:** If not null, then the booking duration should be at least the specified days 260 + 261 + **stayperiodstart:** If not null, then the reservation (stay date) should be starting from specified date 262 + 263 + **stayperiodend:** If not null, then the reservation (stay date) should end before specified date 264 + 265 + 266 + 267 + 247 247