Get specific department details using department name
This API helps you retrieve the details of a specific department using the department name.
API: https://webinar.zoho.com/api/v2/{orgId}/department/name
Method: Get
OAuth Scope: ZohoWebinar.department.READ
Path Params:
orgId - organization id which is retrieved from currentUser api
Params:
departmentname - Name of the department.
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 Admin
HTTP Code: 403
HTTP Body:
Copied
Resolution: Only org admin or department admin can access this API. Kindly contact the org admin or department admin.
4. Invalid Department Name
HTTP Code: 403
HTTP Body:
Copied
Resolution: Check whether the department name is entered or the entered department name is correct.