Create room

Create a bookable room. Custom field responses can be included in fields as { id, response } pairs.

Required permission: Full Write Facilities

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The details of the new room

string | null
required

The name of the room or item.

location
object | null
required

The campus the room or item belongs to. Only the id is used on writes.

approval
object | null
required

How bookings of the room or item are approved, and by whom.

fields
array of objects | null

Custom fields for this object

fields
string | null

The room or item's description.

boolean

Whether the room or item is active.

category
object | null

The room or item's category. Provide either the id or the code on writes.

int32 | null

How many people the room holds.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json