Add Trainer API
This API is used to add a new trainer in LMS.
Request URL:
https://people.zoho.com/api/v1/trainers?erecnosList=<erecnosList>
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.training.ALL
OR
ZOHOPEOPLE.training.CREATE
Possible Operation Types:
ALL - Complete access to data
CREATE - Only to create data
Method:
PUT
Request Parameters
Parameters | Values Allowed | Default Value | Description |
*erecnosList | <parameters in JSONArray> | <Mandatory> | Specify the employee erecno's |
*mandatory parameters
Request
Copiedhttps://people.zoho.com/api/v1/trainers?erecnosList=[219225000000036453]
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Response
Copied{
"trainers": [
{
"erecno": "219225000000036453",
"displayName": "Henry",
"employeeId": "0001",
"displayPictureURL": "https://contacts.zoho.com/file?ID=2232855&fs=thumb",
"trainerId": "219225000000185019"
}
],
"code": "200",
"message": "success"
}