Share Course API

This API is used to share courses in LMS.

Request URL: 

https://people.zoho.com/api/v1/courses/<courseId>/share

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

ParametersValues AllowedDefault ValueDescription
*erecnosList<JSON Array of erecno's>-Specify employees erecno's

Request

Copiedhttps://people.zoho.com/api/v1/courses/219225000000642002/share?erecnosList=[219225000000185023]

​Header

CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf

Response

Copied{
    "sharedUsers": [
        {
            "erecno": "219225000000185023",
            "displayName": "Henry",
            "employeeId": "1001",
            "emailId": "henry@�zohotest.com",
            "displayPictureURL": "https://contacts.zoho.com/file?ID=705822094&fs=thumb"
        }
    ],
    "code": "200",
    "message": "success"
}