To add course rating or feedback
The purpose of this API is to add course rating or feedback.
Request URL: | https://learn.zoho.com/learn/api/v1/portal/<networkurl>/course/<courseId>/rating |
OAuth Scope: | ZohoLearn.course.UPDATE |
Request Method: | POST |
Parameter | Description | Required |
---|---|---|
rating | The number of stars in rating (1 to 5) | Optional (One parameter is required) |
feedback | Feedback content | Optional (One parameter is required) |
Response
Copied{
"STATUS": "OK",
"USERRATING": {
"feedback": "Good information!",
"canEdit": "true",
"rating": "3",
"canDelete": "true",
"id": "6342496000000085167",
"time": "Today, 12:57 AM",
"courseId": "6342496000000086001",
"createdUser": {
"role": "MEMBER",
"name": "Ben Taylor",
"colorIndex": "1",
"emailId": "taylor@zylker.com",
"id": "799705135",
"type": "MEMBER",
"learnerCourseStatus": "YET_TO_START",
"status": "ACTIVE",
"learnerCourseProgress": "0.0"
}
},
"OVERALLRATING": {
"rating": "3.0",
"count": "1"
}
}
Show full
Show less
Sample URL
Copiedhttps://learn.zoho.com/learn/api/v1/portal/zylker-network/course/6342496000000086001/rating