Fetch Single Trainer API

This API is used to fetch trainer details in LMS

Request URL: 

https://people.zoho.com/api/v1/trainers/<trainerId>

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

Copiedhttps://people.zoho.com/api/v1/trainers/219225000000185019

Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Response

Copied{
    "code": "200",
    "trainer": {
        "skills": [],
        "courses": [
            {
                "createdDateAsDisplayString": "22-Dec-2021",
                "durationAsDisplayString": "",
                "statusAsDisplayString": "Drafted",
                "typeAsDisplayString": "Blended learning",
                "totalNumberOfSessions": 3,
                "courseImageUrl": "",
                "name": "Public API Testing (BL)",
                "completedSessions": 0,
                "type": "2",
                "courseId": "219225000000645203",
                "status": 0
            },
        ],
        "erecno": "219225000000036453",
        "displayName": "Henry",
        "rating": 0,
        "experienceAsDisplayString": null,
        "employeeId": "0001",
        "displayPictureURL": "https://contacts.zoho.com/file?ID=2232855&fs=thumb",
        "zuid": 2231855,
        "trainerId": "219225000000185019",
        "aboutme": null
    },
    "message": "success"
}