Skip to main content
Calendar Resources: Rooms & EquipmentsVersion: v3

Create Calendar Resource

POST/calendars/resources/{resourceType}
deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Create calendar resource by resource type (Services V1)

Authorizations

Authorizationstringheaderrequired

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

Scope:calendars/resources.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

resourceTypestringrequired

Calendar Resource Type

Available optionsequipmentsrooms
Example:equipments

Body

locationIdstringrequired

Location ID

Example:ocQHyuzHvysMo5N5VsXc
namestringrequired

Name of the calendar resource

Example:Projector
descriptionstringrequired

Description of the calendar resource

Example:Main conference room projector
quantitynumberrequired

Quantity of the equipment.

Example:5
outOfServicenumberrequired

Quantity of the out of service equipment.

Example:1
capacitynumberrequired

Capacity of the room.

Example:20
calendarIdsstring[]required

Service calendar IDs to be mapped with the resource.

One equipment can only be mapped with one service calendar.

One room can be mapped with multiple service calendars.

Possible values: <= 100

Example:["Jsj0xnlDDjw0SuvX1J13"]

Response

Calendar resource created

locationIdstringrequired

Location ID of the resource

Example:ocQHyuzHvysMo5N5VsXc
namestringrequired

Name of the resource

Example:yoga room
resourceTypestringrequired

Type of the calendar resource

Available optionsequipmentsrooms
Example:rooms
isActivebooleanrequired

Whether the resource is active

Example:true
descriptionstring

Description of the resource

Example:Spacious yoga studio
quantitynumber

Quantity of the resource

Example:3
outOfServicenumber

Indicates if the resource is out of service

Example:0
capacitynumber

Capacity of the resource

Example:85
calendarIdsstring[]required

Calendar IDs

Example:["Jsj0xnlDDjw0SuvX1J13","oCM5feFC86FAAbcO7lJK"]