ResourceTypes
Create ResourceType
Create a new ResourceType record.
POST
Create ResourceType
A resource type categorizes bookable resources (e.g., Meeting Room, Hot Desk, or Private Office). Each resource belongs to one resource type. Pricing is not stored on the resource type: booking rates (ExtraService records) apply through their ResourceTypes relationship, and every resource assigned to the type inherits those rates.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the ResourceType-Create role.Request Body
Required Fields
integer
required
ID of the location that owns this resource type. Resources and booking rates assigned to the type should belong to this location..
string
required
Display name of the resource category (e.g., ‘Meeting Room’, ‘Hot Desk’, or ‘Private Office’). Resources that share this type also share the booking rates linked to it..
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the creation.
object
Contains the
Id of the newly created record.boolean
true if the resourcetype was created successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response