GET - Get booking info of a resource

Purpose

This API is used to retrieve the booking info of a resource.

Request URL

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

OAuth Scope

scope=ZohoCalendar.bookings.ALL

or

scope=ZohoCalendar.bookings.READ

ALL - Access to all bookings

READ - Gets the booking info of resource

Request Parameters

  • startDatestring, mandatory
    • The start date from which the bookings should be retrieved. The supported date format is MM/DD/YYY.
  • endDatestring, optional
    • The end date up to which the bookings should be retrieved. The supported date format is MM/DD/YYY.
  • branch_idlong, mandatory
    • The branch ID of the branch for which the bookings should be retrieved. The branch id can be fetched using the Get all branches API.
  • resource_idlong, mandatory
    • The resource ID of the resource for which the bookings should be retrieved. The resource id can be fetched using the Get all resources API.

Sample Request

Copiedhttps://calendar.zoho.com/api/v1/bookings?startDate="08/07/2020"&branch_id="1587118394614000006"&resource_id="1587118423362000034"