GET - Get booking info

Purpose

This API retrieves the details of a particular booking in Resource Booking.

Request URL

https://calendar.zoho.com/api/v1/bookings/<bookingId>

OAuth Scope

scope=ZohoCalendar.bookings.ALL

or

scope=ZohoCalendar.bookings.READ

 

ALL - Access to all bookings

READ - Gets the list of all bookings

Path Parameters

  • bookingIdlong, mandatory
    • It is a unique ID that's assigned to each booking. You can fetch the featureId using the Get all bookings API.

Request Parameters

  • recurrence_idlong, optional
    • The recurrence id can be fetched using the Get all bookings API.​

Sample Request

Copiedhttps://calendar.zoho.com/api/v1/bookings/1596693672887000001&recurrence_id=1638630000000

Sample Response

Copied{
   "end_date":"20200807",
   "role":"organizer",
   "timezone":"Asia/Kolkata",
   "description":"edit",
   "title":"Att book update",
   "booking_id":"1596693672887000001",
   "bookedby_email":"cal9@m43.com",
   "uid":"ZRB_9872e13c1c644771bbc54314f6828b02@zoho.com",
   "booked_by":"61298224",
   "is_own_booking":true,
   "all_day":false,
   "end":1596750300000,
   "dateandtime":
   {
      "timezone":"Asia/Kolkata",
      "start":"20200807T023000",
      "end":"20200807T031500"
   },
   "start_date":"20200807",
   "isprivate":false,
   "is_member":true,
   "is_repeat":false,
   "attendees":[
   {
      "zid":61298164,
      "permission":1,
      "type":0,
      "notify_status":1,
      "email":"cal8@m43.com"
   }
   ],
   "end_time":"0315",
   "start":1596747600000,
   "resources":[
   {
      "count":0,
      "resource_id":"1587118423362000034",
      "type":0
   }
   ],
   "created_by":"61298224",
   "users":[
   {
      "zid":61298224,
      "type":0,
      "email":"cal9@m43.com"
   },
   {
      "zid":61298164,
      "permission":1,
      "type":0,
      "notify_status":1,
      "email":"cal8@m43.com"
   }
   ],
   "start_time":"0230",
   "is_rel_event":false,
   "booking_approved":true,
   "desc":"edit"
}