Add or Update Guest Room
Add or Update Guest Room
POST
[PlatformAddress]/api/1.0/venue?action=addOrUpdateGuestRoom
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | The unique id of the guest room |
venueId | integer | The unique id of the venue to which the rate plan belongs |
name | string | The name of the venue room |
code | string | The unique code assigned to the room |
categoryIds | array | An array of category ids to which the room belongs. |
capacity | integer | The total number of this room type at the venue. |
description | string | A html formatted description of the room. |
numStandardAdults | integer | The number of standard adults allowed in the room. |
numExtraAdults | integer | The number of standard adults allowed in the room. |
extraAdultCost | number | The price of adding an extra adult to the room. |
canSmoke | bool | Whether or not smoking is allowed in the room. |
active | bool | Whether or not venue room is active on marketplace. |
marketplaceName | bool | Whether or not venue room is active on marketplace. |
Example Request
Add Guest Room
Update Guest Room
Returns
Property | Description |
---|---|
success | Whether or not the Space Blockout was added to the venue |
id | The unique id of the Space Blockout |
Throws
Code | Description |
---|---|
Specific Code: 24312 | The room does not exist |
Specific Code: 24313 | An error has occurred |
Specific Code: 24314 | The request contains invalid data |
Specific Code: 24315 | An unknown error has occurred |
Last updated