Links
Comment on page

Get Function Space Availability

post
[PlatformAddress]/api/1.0/venue?action=getFunctionSpaceAvailability
Get Venue Function Space Availability

Example Request

Get Venues Function Space List
{
"venueId":1,
"startDate": "2020-11-26",
"endDate": "2020-11-30",
"spaceIds": [1, 2]
}

Returns

A collection object with the following properties in the results
Property
Data Type
Description
availability
array
Array of spaces with availability data. See "Space Availability" for details.

Space Availability

A collection object with the following properties in the results
Property
Data Type
Description
spaceId
integer
The id of space to which the time slots belong.
timeSlots
array
The array of time slots. See "Space Time Slots" for details.

Space Time Slots

A collection object with the following properties in the results
Property
Data Type
Description
date
date
The date to which the time slot applies. Format YYYY-MM-DD
startTime
string
The start time of the available time slot. Format H:i:s
endTime
string
The end time of the available time slot. Format H:i:s