Skip to main content
Create calendar resource by resource type

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Path parameters

string
required
Calendar Resource Type

Body

string
required
string
required
string
required
number
required
Quantity of the equipment.
number
required
Quantity of the out of service equipment.
number
required
Capacity of the room.
string[]
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.

Respuestas

string
required
Account ID of the resource
string
default:"yoga room"
required
Name of the resource
string
required
Posibles valores: ‘equipments’, ‘rooms’
boolean
required
Whether the resource is active
string
Description of the resource
number
Quantity of the resource
number
default:"0"
Indicates if the resource is out of service
number
default:"85"
Capacity of the resource
string[]
required
Calendar IDs

Ejemplo