Links
Comment on page

Add or Update Function Space

Add or Update Function Space

post
[PlatformAddress]/api/1.0/venue?action=addOrUpdateFunctionSpace
Add or Update Function Space

Example Request

Add function space

{
"venueId": 1,
"name": "test",
"minPax": 5,
"maxPax": 0,
"maxNumBookings": 50,
"isViewable": false,
"hasSmallerSpaces": false
}

Update function space

{
"id": 7,
"venueId": 1,
"name": "test",
"minPax": 5,
"maxPax": 0,
"maxNumBookings": 50,
"isViewable": false,
"hasSmallerSpaces": false
}

Returns

Property
Description
success
Whether or not the function space was added/updated
id
The unique id of the function space

Throws

Code
Description
Specific Code: 24385
The function space does not exist
Specific Code: 24386
An unknown error has occurred
Specific Code: 24387
The request contains invalid data
Specific Code: 24388
The request contains invalid data