curl --request PUT \
--url https://services.leadconnectorhq.com/calendars/resources/{resourceType}/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"locationId": "<string>",
"name": "<string>",
"description": "<string>",
"quantity": 123,
"outOfService": 123,
"capacity": 123,
"calendarIds": [
"<string>"
],
"isActive": true
}
'{
"locationId": "<string>",
"name": "yoga room",
"resourceType": "equipments",
"isActive": true,
"description": "<string>",
"quantity": 123,
"outOfService": 0,
"capacity": 85
}Update calendar resource by ID
curl --request PUT \
--url https://services.leadconnectorhq.com/calendars/resources/{resourceType}/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"locationId": "<string>",
"name": "<string>",
"description": "<string>",
"quantity": 123,
"outOfService": 123,
"capacity": 123,
"calendarIds": [
"<string>"
],
"isActive": true
}
'{
"locationId": "<string>",
"name": "yoga room",
"resourceType": "equipments",
"isActive": true,
"description": "<string>",
"quantity": 123,
"outOfService": 0,
"capacity": 85
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-04-15 Calendar Resource Type
equipments, rooms Calendar Resource ID
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.
100Calendar resource updated
Location ID of the resource
Name of the resource
"yoga room"
equipments, rooms Whether the resource is active
Description of the resource
Quantity of the resource
Indicates if the resource is out of service
0
Capacity of the resource
85
Was this page helpful?