Get department user list - Zoho Webinar

Note: This task is applicable to all services except Zoho Creator.

Overview:

This task is used to get users list in a specific department in Zoho Webinar.

This task is based on Zoho Webinar API: Department users list.

Syntax:

<variable> = zoho.webinar.getDepartmentUsersList(<portal_id>, <department_id>, <index>, <count>, <type>, <connection>);

where:

ParamsData typeDescription
<variable>KEY-VALUESpecifies the variable that will hold the response returned by Zoho Webinar.
<portal_Id>NUMBERSpecifies the unique portal identifier where the department users list will be fetched from.
<department_Id>NUMBERSpecifies the unique identifier of the department.
<index>INTEGERSpecifies the pagination start index. Default: 1.
<count>INTEGERSpecifies the number of user details from department to fetch.
<type>TEXTSpecifies the types of users in Zoho Webinar, such as all users, admin users, and member users. Supported user type: all, admin, member.
<connection>TEXTSpecifies the link name of the Zoho Webinar connection. Required scope: ZohoWebinar.department.READ

Example:

response = zoho.webinar.getDepartmentUsersList(86367739,"645551000000025019",1,20,"all","webinar1");

where:

response
Is the KEY-VALUE returned by Zoho Webinar. It represents the department details.
8636773
Is the NUMBER of the unique portal identifier.
645551000000025019
Is the NUMBER of the department identifier.
1
Is the INTEGER pagination start index.
20
Is the INTEGER count.
"all"
Is the TEXT user type.
"webinar"
Is the TEXT connection name.

Sample response

Success response

{
  "representation": [ { ... } ],
  "resourceType": "/api/v2/86367739/department/645551000000025019/user"
}
 

Failure response

{
  "error": {
    "code": 1033,
    "message": "User is not a departmnet admin and not a org admin"
  }
}