Fetch Trainers List API
This API is used to fetch trainer details in LMS
Request URL:
https://people.zoho.com/api/v1/trainers?startIndex=<startIndex>&employeeStatus=<employeeStatus>&sortBy=<sortBy>
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.training.ALL
OR
ZOHOPEOPLE.training.READ
Possible Operation Types:
ALL - Complete access to data
READ - Only to read data
Method:
GET
Request Parameters
Parameters | Values Allowed | Default Value | Description |
startIndex | <integer> | 0 | Specify from which record the response should be fetched |
employeeStatus | "active|inactive" | active | Specify the employee status |
sortBy | "desc|asc" | Specify the sortBy value |
Request
Copiedhttps://people.zoho.com/api/v1/trainers
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Response
Copied{
"trainers": [
{
"erecno": "219225000000036453",
"displayName": "Henry",
"employeeId": "0001",
"displayPictureURL": "https://contacts.zoho.com/file?ID=2231855&fs=thumb",
"trainerId": "219225000000185019"
}
],
"code": "200",
"message": "success",
"hasMoreRecords": false
}