curl --request GET \
--url https://services.leadconnectorhq.com/calendars/resources/{resourceType}/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"locationId": "<string>",
"name": "yoga room",
"resourceType": "equipments",
"isActive": true,
"calendarIds": [
"Jsj0xnlDDjw0SuvX1J13",
"oCM5feFC86FAAbcO7lJK"
],
"description": "<string>",
"quantity": 123,
"outOfService": 0,
"capacity": 85
}Get calendar resource by ID
curl --request GET \
--url https://services.leadconnectorhq.com/calendars/resources/{resourceType}/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"locationId": "<string>",
"name": "yoga room",
"resourceType": "equipments",
"isActive": true,
"calendarIds": [
"Jsj0xnlDDjw0SuvX1J13",
"oCM5feFC86FAAbcO7lJK"
],
"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
Calendar resource fetched
Location ID of the resource
Name of the resource
"yoga room"
equipments, rooms Whether the resource is active
Calendar IDs
[
"Jsj0xnlDDjw0SuvX1J13",
"oCM5feFC86FAAbcO7lJK"
]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?