Get user details using user ID - Zoho Webinar

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

Overview:

This task is used to get user details using user ID in Zoho Webinar.

This task is based on Zoho Webinar API: User details.

Syntax:

<variable> = zoho.webinar.getUserDetails(<portal_id>, <user_id>, <connection>);

where:

ParamsData typeDescription
<variable>KEY-VALUESpecifies the variable that will hold the response returned by Zoho Webinar.
<portal_Id>NUMBER

Specifies the unique portal identifier where the user details will be fetched from.

Note: Portal_Id can be fetched in the following ways.

  • From the URL of the application while accessing it. The URL is in the format webinar.zoho.com/webinar/portal_Id/department_Id/home
  • Get portal ID from Zoho Webinar API, where ZSOID represents the portal ID.
<user_Id>NUMBERSpecifies the unique identifier of the user.
<connection>TEXTSpecifies the link name of the Zoho Webinar connection.
Required scope for this connection: ZohoWebinar.user.READ

Example:

response = zoho.webinar.getUserDetails(99031443,640967000000027xxx,"webinar");

where:

response
Is the KEY-VALUE returned by Zoho Webinar. It represents the user details.
"99031443"
Is the NUMBER of the unique portal identifier where the user details will be fetched from.
"640967000000027xxx"
Is the NUMBER of the unique identifier of the user.
"webinar"
Is the TEXT that represents the name of the connection.

Sample response

Success response

{
  "representation": {
    "userId": "640967000000027007",
    "zuid": "99030795",
    "role": "Administrator",
    "organization": {
      "orgId": "99031443",
      "orgName": "sri",
      "link": "/api/v2/org/99031443",
      "isDefault": true
    },
    "firstName": "admin",
    "lastName": "user",
    "fullName": " admin user",
    "emailId": "admin.nm+n1@zoho.com",
    "meetingLicense": {
      "enabled": false,
      "edition": "Free"
    },
    "webinarLicense": {
      "enabled": false,
      "edition": "Free"
    }
  },
  "resourceType": "/api/v2/99031443/user/640967000000027007"
}
 

Failure response

{
  "error": {
    "code": 1025,
    "message": "Org doesn't matches with request uri"
  },
  "resourceType": "/api/v2/9903143/user"
}