Update Calendar Resource
PUT/calendars/resources/:resourceType/:id
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Update calendar resource by ID (Services V1)
Request
API Version
2021-07-28Calendar Resource Type
equipmentsroomsCalendar Resource ID
- application/json
- Body
- Example (auto)
Bodyrequired
Location ID
Name of the calendar resource
Description of the calendar resource
Quantity of the equipment.
Quantity of the out of service equipment.
Capacity of the room.
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
Whether the resource is active
{
"locationId": "ocQHyuzHvysMo5N5VsXc",
"name": "Projector",
"description": "Main conference room projector",
"quantity": 5,
"outOfService": 1,
"capacity": 20,
"calendarIds": [
"Jsj0xnlDDjw0SuvX1J13"
],
"isActive": true
}
Calendar resource updated
- application/json
- Schema
- Example (auto)
Schema
Location ID of the resource
Name of the resource
Type of the calendar resource
equipmentsroomsWhether the resource is active
Description of the resource
Quantity of the resource
Indicates if the resource is out of service
Capacity of the resource
{
"locationId": "ocQHyuzHvysMo5N5VsXc",
"name": "yoga room",
"resourceType": "rooms",
"isActive": true,
"description": "Spacious yoga studio",
"quantity": 3,
"outOfService": 0,
"capacity": 85
}