Get user details using user ID - Zoho Webinar
Table of Contents
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:
| Params | Data type | Description |
| <variable> | KEY-VALUE | Specifies 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.
|
| <user_Id> | NUMBER | Specifies the unique identifier of the user. |
| <connection> | TEXT | Specifies 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"
}
"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"
}
"error": {
"code": 1025,
"message": "Org doesn't matches with request uri"
},
"resourceType": "/api/v2/9903143/user"
}