Add members to a course
The purpose of this API is to add members to a course.
Request URL: | https://learn.zoho.com/learn/api/v1/portal/<networkurl>/course/<courseId>/member |
OAuth Scope: | ZohoLearn.course.UPDATE |
Request Method: | POST |
Parameter | Value | Required |
---|---|---|
userIds | Array of Zuids to add to the course | Required |
role | MEMBER - Add user as Learner ADMIN - Add user as ADMIN INSTRUCTOR - Add user as Instructor CONTRIBUTOR - Add user as contributor MEMBER will be chosen by default if role is not given | Optional |
Response
Copied{
"STATUS": "OK",
"DATA": [
{
"role": "MEMBER",
"name": "Ben Taylor",
"colorIndex": "1",
"emailId": "taylor@zylker.com",
"id": "799705135",
"type": "MEMBER",
"learnerCourseStatus": "INPROGRESS",
"status": "ACTIVE",
"learnerCourseProgress": "8.33375"
}
]
}
Sample URL
Copiedhttps://learn.zoho.com/learn/api/v1/portal/zylker-network/course/6342496000000086001/member