Get Function Space Availability
Get Venue Function Space Availability
POST
[PlatformAddress]/api/1.0/venue?action=getFunctionSpaceAvailability
Returns the availability of function spaces in a specific venue.
Path Parameters
Name | Type | Description |
---|---|---|
venueId | integer | The id of the venue |
startDate | date | The date from which the availability data will be fetched. Format YYY-MM-DD |
endDate | date | The date to which the availability data will be fetched. Format YYY-MM-DD. The maximum number of days of available that can be fetched is 14. |
spaceIds | array | Optionally the list of space ids to which availability will be limited. |
Example Request
Get Venues Function Space List
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 |
Last updated