OPEN2U基础服务 - 教学服务
课程评论
获取学生课程评论指标列表(GetStuCourseEvaQuota)
查看
接口地址:/Course/CourseEvaluation/GetStuCourseEvaQuota
接口方法:public string GetStuCourseEvaQuota(Guid courseId,string callback)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":[{"quotaId":"f6269a2636124da2a2ed4cf42ab43395","name":"对课程的评价","necessary":0,"displayOrder":"1","scoreList":[{"scoreId":"56c06636a6b149808819411c169a2c4f","scoreName":"哪里让你不爽?来评论吐槽!","score":1,"labelList":[{"labelId":"919","labelName":"逻辑混乱"},{"labelId":"920","labelName":"错误引导"},{"labelId":"921","labelName":"交互性差"},{"labelId":"922","labelName":"播放故障"},{"labelId":"923","labelName":"素材冗余"},{"labelId":"924","labelName":"针对性差"}]},{"scoreId":"59b4ea18b5cf432aa0e831f16a08336e","scoreName":"来评论夸夸我让我骄傲一下?","score":5,"labelList":[{"labelId":"943","labelName":"逻辑清晰"},{"labelId":"944","labelName":"主题突出"},{"labelId":"945","labelName":"知识点分布合理"},{"labelId":"946","labelName":"陈列美观"},{"labelId":"947","labelName":"紧密结合教材"},{"labelId":"948","labelName":"播放流畅"}]},{"scoreId":"7cfff6545f3f4248934fc94aa7ce6f50","scoreName":"来评论里唠唠哪里可以进步呗~","score":3,"labelList":[{"labelId":"931","labelName":"结构合理"},{"labelId":"932","labelName":"内容规范"},{"labelId":"933","labelName":"播放稳定"},{"labelId":"934","labelName":"知识点完整"},{"labelId":"935","labelName":"有一定的启发性"},{"labelId":"936","labelName":"陈列普通"}]},{"scoreId":"9f160cba1d91403a8d2f87161c34db98","scoreName":"来评论夸夸我让我骄傲一下?","score":4,"labelList":[{"labelId":"937","labelName":"结构清楚"},{"labelId":"938","labelName":"内容流畅"},{"labelId":"939","labelName":"取材适宜"},{"labelId":"940","labelName":"表达明确"},{"labelId":"941","labelName":"直观形象"},{"labelId":"942","labelName":"有针对性"}]},{"scoreId":"fb9f09fbb772492ebf6c5b7c20b8f916","scoreName":"哪里让你不爽?来评论吐槽!","score":2,"labelList":[{"labelId":"925","labelName":"逻辑性不强"},{"labelId":"926","labelName":"排版混乱"},{"labelId":"927","labelName":"与教材结合不强"},{"labelId":"928","labelName":"播放卡顿"},{"labelId":"929","labelName":"设计呆板"},{"labelId":"930","labelName":"帮助不大"}]}],"targetId":"9ab6647d230949ca92ee22c6460d8bc9"}],"StartTime":"2018/1/8 10:02:15:959","EndTime":"2018/1/8 10:02:25:269"}
课程ID(courseId):
当前用户token(token):
添加学生课程评论 POST 请求(AddStuCourseTopic)
查看
接口地址:/Course/CourseEvaluation/AddStuCourseTopic
接口方法:public string AddStuCourseTopic(string json,string studentCourseID,int? evaluationPlatform,string callback)
json数据格式:{"targetId":"9ab6647d230949ca92ee22c6460d8bc9","targetData":"[{\"quotaId\":\"f6269a2636124da2a2ed4cf42ab43395\",\"quotaName\":\"对课程的评价\",\"score\":5,\"scoreName\":\"来评论夸夸我让我骄傲一下?\",\"labelList\":[{\"labelId\":\"919\",\"labelName\":\"逻辑混乱\"}]},{\"quotaId\":\"fbf27c6d6ead4793964452dd86a9cab4\",\"quotaName\":\"对教师的评价\",\"score\":1,\"scoreName\":\"哪里让你不爽?来评论吐槽!\",\"labelList\":[{\"labelId\":\"893\",\"labelName\":\"条理混乱\"},{\"labelId\":\"894\",\"labelName\":\"内容没有\"}]}]","subjectId":"5c565017-200f-49a8-8899-c8b746f73107","topicContent":"非常好非常好","picIds":"123,456","picUrls":"Resource/Course/cover/composite/30.jpg,Resource/Course/cover/composite/30.jpg"}
返回数据:{"Success":true,"Message":"添加成功","ErrCode":"","Data":true,"StartTime":"2018/1/8 19:53:06:487","EndTime":"2018/1/8 19:53:19:366"}
json数据(json):
选课ID(studentCourseID):
平台来源 1 PC 2 手机 3 APP(evaluationPlatform):
当前用户token(token):
学生课程评论点赞 (OptStuCourseTopic)
查看
接口地址:/Course/CourseEvaluation/OptStuCourseTopic
接口方法:public string OptStuCourseTopic(string topicId, bool isOptPraise, string sourceUid, string studentCourseID, int? evaluationPlatform, string callback)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":true,"StartTime":"2018/1/8 19:53:06:487","EndTime":"2018/1/8 19:53:19:366"}
评论ID(topicId):
true 点赞 false 取消点赞(isOptPraise):
评论用户(sourceUid):
选课ID(studentCourseID):
平台来源 1 PC 2 手机 3 APP(evaluationPlatform)(evaluationPlatform):
当前用户token(token):
删除用户评价 (DelStuCourseTopic)
查看
接口地址:/Course/CourseEvaluation/DelStuCourseTopic
接口方法:public string DelStuCourseTopic(string topicId, string sourceUid, string studentCourseID, int? evaluationPlatform,string callback)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":true,"StartTime":"2018/1/8 19:53:06:487","EndTime":"2018/1/8 19:53:19:366"}
评论ID(topicId):
评论用户(sourceUid):
选课ID(studentCourseID):
平台来源 1 PC 2 手机 3 APP(evaluationPlatform)(evaluationPlatform):
当前用户token(token):
是否评价过课程 (ISEvaluationCourse)
查看
接口地址:/Course/CourseEvaluation/ISEvaluationCourse
接口方法:public string ISEvaluationCourse(string courseId,string studentCourseID,string callback)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":true,"StartTime":"2018/1/8 19:53:06:487","EndTime":"2018/1/8 19:53:19:366"}
课程ID(courseId):
选课ID(studentCourseID):
当前用户token(token):
获取学生课程评价结果总计 (GetStuCourseAsessResult)
查看
接口地址:/Course/CourseEvaluation/GetStuCourseAsessResult
接口方法:public string GetStuCourseAsessResult(string courseId, string callback)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":{"assessNum":1,"levelList":[{"level":2,"levelNum":1}],"totalScore":3.0},"StartTime":"2018/1/8 20:32:13:509","EndTime":"2018/1/8 20:32:37:871"}
课程ID(courseId):
当前用户token(token):
获取学生课程评论列表 (GetStuCourseTopic)
查看
接口地址:/Course/CourseEvaluation/GetStuCourseTopic
接口方法:public string GetStuCourseTopic(EvaluatioGetTopic ecaluatioGetTopic,string callback)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":{"count":4,"topicList":[{"topicId":"0d679c150f08460cb35f2e17deb2c50c","topicContent":"非常好非常好","targetData":[{"quotaId":"f6269a2636124da2a2ed4cf42ab43395","quotaName":"对课程的评价","score":5,"scoreName":"来评论夸夸我让我骄傲一下?","labelList":[{"labelId":"921","labelName":"交互性差"},{"labelId":"922","labelName":"播放故障"},{"labelId":"923","labelName":"素材冗余"},{"labelId":"924","labelName":"针对性差"}]},{"quotaId":"fbf27c6d6ead4793964452dd86a9cab4","quotaName":"对教师的评价","score":1,"scoreName":"哪里让你不爽?来评论吐槽!","labelList":[{"labelId":"893","labelName":"条理混乱"},{"labelId":"894","labelName":"内容没有"}]}],"listQuotaNames":"交互性差,播放故障,素材冗余,针对性差,条理混乱,内容没有","sourceUid":"1234567892","nickName":"测试用户","praiseNums":"2","totalScore":3,"picIds":"123,456","picUrls":"Resource/Course/cover/composite/30.jpg,Resource/Course/cover/composite/30.jpg"}]},"StartTime":"2018/1/8 20:36:23:382","EndTime":"2018/1/8 20:37:12:461"}
行数(rows):
页码(page):
0:默认创建日期升序排列 1:按创建时间降序排列 2:按点赞数升序排列 3:按点赞数降序排列 4:按热度升序排列 5:按热度降序排列(sort):
int 评价等级 (1:差评,2:中评,3:好评 选题 可为空)(resLevel):
课程ID(subjectId):
当前用户token(token):
获取评论指标列表(GetEvaluationQuota)
查看
接口地址:/Course/CourseEvaluation/GetEvaluationQuota
接口方法:public string GetEvaluationQuota(string subjectId,int evaluationTemplateType,string callback)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":[{"quotaId":"f6269a2636124da2a2ed4cf42ab43395","name":"对课程的评价","necessary":0,"displayOrder":"1","scoreList":[{"scoreId":"56c06636a6b149808819411c169a2c4f","scoreName":"哪里让你不爽?来评论吐槽!","score":1,"labelList":[{"labelId":"919","labelName":"逻辑混乱"},{"labelId":"920","labelName":"错误引导"},{"labelId":"921","labelName":"交互性差"},{"labelId":"922","labelName":"播放故障"},{"labelId":"923","labelName":"素材冗余"},{"labelId":"924","labelName":"针对性差"}]},{"scoreId":"59b4ea18b5cf432aa0e831f16a08336e","scoreName":"来评论夸夸我让我骄傲一下?","score":5,"labelList":[{"labelId":"943","labelName":"逻辑清晰"},{"labelId":"944","labelName":"主题突出"},{"labelId":"945","labelName":"知识点分布合理"},{"labelId":"946","labelName":"陈列美观"},{"labelId":"947","labelName":"紧密结合教材"},{"labelId":"948","labelName":"播放流畅"}]},{"scoreId":"7cfff6545f3f4248934fc94aa7ce6f50","scoreName":"来评论里唠唠哪里可以进步呗~","score":3,"labelList":[{"labelId":"931","labelName":"结构合理"},{"labelId":"932","labelName":"内容规范"},{"labelId":"933","labelName":"播放稳定"},{"labelId":"934","labelName":"知识点完整"},{"labelId":"935","labelName":"有一定的启发性"},{"labelId":"936","labelName":"陈列普通"}]},{"scoreId":"9f160cba1d91403a8d2f87161c34db98","scoreName":"来评论夸夸我让我骄傲一下?","score":4,"labelList":[{"labelId":"937","labelName":"结构清楚"},{"labelId":"938","labelName":"内容流畅"},{"labelId":"939","labelName":"取材适宜"},{"labelId":"940","labelName":"表达明确"},{"labelId":"941","labelName":"直观形象"},{"labelId":"942","labelName":"有针对性"}]},{"scoreId":"fb9f09fbb772492ebf6c5b7c20b8f916","scoreName":"哪里让你不爽?来评论吐槽!","score":2,"labelList":[{"labelId":"925","labelName":"逻辑性不强"},{"labelId":"926","labelName":"排版混乱"},{"labelId":"927","labelName":"与教材结合不强"},{"labelId":"928","labelName":"播放卡顿"},{"labelId":"929","labelName":"设计呆板"},{"labelId":"930","labelName":"帮助不大"}]}],"targetId":"9ab6647d230949ca92ee22c6460d8bc9"}],"StartTime":"2018/1/8 10:02:15:959","EndTime":"2018/1/8 10:02:25:269"}
评价主体ID(subjectId):
课程评价 1 课程章节评价 2(evaluationTemplateType):
当前用户token(token):
获取章节评论信息(GetChapterEvaluationTopic)
查看
接口地址:/Course/CourseEvaluation/GetChapterEvaluationTopic
接口方法:public string GetChapterEvaluationTopic(string subjectId, string studentCourseID, string callback)
返回数据:{"Success":true,"Message":"","ErrCode":"","Data":{"ID":"e38c2371-cf91-4d95-8eca-043a9a6eba8b","TopicId":"7da2ed056bb3436e9463ccde16e82594","SubjectId":"16eec34f-8fe4-446c-8e66-29aa877d8fb6","SubjectRelateId":"fa58010b-886a-431c-a528-397af9864cb3","SubjectType":1,"SourceUid":"b9eaf7b8-417f-46e0-80f0-6af18139447a","CreateTime":"2018-09-12 15:33:31","TopicContent":"这门课很好","TopicScore":2.00,"TopicScoreShow":2},"StartTime":"2018/9/12 17:03:59:574","EndTime":"2018/9/12 17:04:02:643"}
评价主体ID(subjectId):
学生选课ID(studentCourseID):
当前用户token(token):
添加评论(AddEvaluationTopic)
查看
接口地址:/Course/CourseEvaluation/AddEvaluationTopic
接口方法:public string AddEvaluationTopic(string json, string studentCourseID,int evaluationTemplateType, int evaluationPlatform, string callback)
json数据格式:{"targetData":"[{\"quotaId\":\"f6269a2636124da2a2ed4cf42ab43395\",\"quotaName\":\"对课程的评价\",\"score\":5,\"scoreName\":\"来评论夸夸我让我骄傲一下?\",\"labelList\":[{\"labelId\":\"919\",\"labelName\":\"逻辑混乱\"}]},{\"quotaId\":\"fbf27c6d6ead4793964452dd86a9cab4\",\"quotaName\":\"对教师的评价\",\"score\":1,\"scoreName\":\"哪里让你不爽?来评论吐槽!\",\"labelList\":[{\"labelId\":\"893\",\"labelName\":\"条理混乱\"},{\"labelId\":\"894\",\"labelName\":\"内容没有\"}]}]","subjectId":"5c565017-200f-49a8-8899-c8b746f73107","topicContent":"非常好非常好","picIds":"123,456","picUrls":"Resource/Course/cover/composite/30.jpg,Resource/Course/cover/composite/30.jpg"}
返回数据:{"Success":true,"Message":"添加成功","ErrCode":"","Data":true,"StartTime":"2018/1/8 19:53:06:487","EndTime":"2018/1/8 19:53:19:366"}
json数据(json):
选课ID(studentCourseID):
课程ID(courseID):
平台来源 1 PC 2 手机 3 APP(evaluationPlatform):
课程评价 1 课程章节评价 2(evaluationTemplateType):
当前用户token(token):
联系人:朱利戈
E-Mail:zhulg@mail.open.com.cn