Skip to main content
POST
Create Resource

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Resource object that needs to be added

Resource model

name
string
required

Name of the resource

Example:

"Edit Suite 1"

type_id
enum<integer>
required

1 = Room, 2 = Person, 3 = Equipment, 4 = Resource Group, 5 = Action

Available options:
1,
2,
3,
4,
5
Example:

1

description
string

Additional info about the resource

Example:

"Sydney Office, Level 2"

type_person_id
integer

Unique id of the person (only applies if this resource is a person)

Example:

0

parent_id
integer

Unique id of the resource group that this resource is a child of

Example:

2908

order
integer

Order of the resource in relation to other resources in the same group

Example:

4

feed
string

iCalendar calendar feed URL. Contains all bookings that are booked to this resource

Example:

"/feed/resource/0d17a654166d49a4337b65256..."

icon
File Summary Model · object[]
workspaces
Workspace Summary Model · object[]
rates
Single Resource Rate · object[]

Optional. Specify in the field parameter to return

color_background
string

Hex color value of the background

Example:

"#B0A7F1"

color_text
string

Hex color value of the text

Example:

"#000000"

Response

Successful Operation

success
object