GET - Get branch info

Purpose

This API retrieves the details of a particular branch added to resource booking. The branch ID used in the Request URL given below can be fetched using the GET - Branch List API.

Request URL

https://calendar.zoho.com/api/v1/branches/<branchId>

OAuth Scope

scope=ZohoCalendar.branches.ALL

or

scope=ZohoCalendar.branches.READ

 

ALL - Full access to all branches

READ - Gets details of a branch

Path Parameters

  • branchIdlong, mandatory
    • The branch ID for which the information needs to be fetched.

Sample Request

Copiedhttps://calendar.zoho.com/api/v1/branches/1596612665738000001

Sample Response

Copied{
   "work_end_hour":"07:00 pm",
   "branch_id":"1596612665738000001",
   "branch_name":"Test branch Update",
   "work_start_day":1,
   "buildings":[
   {
      "building_id":"1596612665740000002",
      "building_name":"WOODLANDS",
      "floors":[
      {
         "floor_name":"Ground Floor",
         "floor_order":1,
         "floor_id":"1596612665741000003"
      },
      {
         "floor_name":"Floor - 1",
         "floor_order":2,
         "floor_id":"1596612665742000004"
      }
   ],
   "branch_id":"1596612665738000001",
   "floor_count":0
   }
   ],
   "work_start_hour":"10:00 am",
   "time_zone":"Asia/Calcutta",
   "work_end_day":5
}