GET - Get Resource Booking Access Detail

Purpose

Before accessing the branches, the user should have access to Resource Booking. 

If the user has access to Resource Booking, the response code will be given as "enable":true. If the user has no access to resource Booking, then the response code will be given as "enabled":false. 

You can use the request URL given below to fetch the access detail of the user to Resource Booking.

Request URL

https://calendar.zoho.com/api/v1/rbaccess

OAuth Scope

scope=ZohoCalendar.resources.ALL

or

scope=ZohoCalendar.resources.READ

 

ALL - Full access to the detail of resource booking access of the user

READ - Gets the detail of resource booking access of the user

Sample Request

Copiedhttps://calendar.zoho.com/api/v1/rbaccess

Sample Response

Copied {
"enabled":true
}

Error message: If the Resource Booking APIs are called for Users without a valid User Plan.

Copied{
"error_message":"RB Operation not permitted",
"errorcode":"RB_OPERATION_NOT_PERMITTED",
"status":"failure"
}