GET Course/Feedback/{courseId}
Get course feedbacks from all users to show in courseDetails Page
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId |
Required |
Body Parameters
None.
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
CourseId |
None. |
||
AvgRating |
None. |
||
courseFeedbackList |
None. |
Response Formats
application/json, text/json
Sample:
{ "CourseId": 1, "AvgRating": "sample string 2", "courseFeedbackList": [ { "Mid": "sample string 1", "Rating": 2, "Attributes": [ "sample string 1", "sample string 2" ], "Comment": "sample string 3", "createdDate": "sample string 4" }, { "Mid": "sample string 1", "Rating": 2, "Attributes": [ "sample string 1", "sample string 2" ], "Comment": "sample string 3", "createdDate": "sample string 4" } ] }
application/xml, text/xml
Sample:
<CourseFeedbackAggregate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SkillPortal.Data.Models"> <AvgRating>sample string 2</AvgRating> <CourseId>1</CourseId> <courseFeedbackList> <UserCourseFeedback> <Attributes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Attributes> <Comment>sample string 3</Comment> <Mid>sample string 1</Mid> <Rating>2</Rating> <createdDate>sample string 4</createdDate> </UserCourseFeedback> <UserCourseFeedback> <Attributes xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </Attributes> <Comment>sample string 3</Comment> <Mid>sample string 1</Mid> <Rating>2</Rating> <createdDate>sample string 4</createdDate> </UserCourseFeedback> </courseFeedbackList> </CourseFeedbackAggregate>