Get details of all departments
This API is used to get details of all the departments in an organization.
API: https://meeting.zoho.com/api/v2/{orgId}/department
Method: Get
OAuth Scope: ZohoMeeting.department.READ
Path Params:
orgId - organization id which is retrieved from currentUser api
Params:
index - Page Number. Default value 0.
count - No.Of records.Default value 20.
Request Example:
Copied
Response Example:
Copied
POSSIBLE ERROR CASES
1. Invalid DC or Invalid token
HTTP Code: 400
HTTP Body:
Copied
Resolution: Check whether the entered DC is correct and entered token is not expired.
2. Invalid orgId
HTTP Code: 403
HTTP Body:
Copied
Resolution: Check whether the entered organization id is correct.
3. Invalid Org Admin
HTTP Code: 403
HTTP Body:
Copied
Resolution: Only admin can access this API. Kindly contact the admin.
4. Limit Exceeded
HTTP Code: 400
HTTP Body:
Copied
Resolution: Max limit is 100.