POST api/Member/Course/Homework/Record
获取课程作业动态列表(说明:App端接口,新增需求)
Request Information
URI Parameters
None.
Body Parameters
参数列表
API_CourseHomeworkRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| UserOpenID |
用户OpenID |
string |
None. |
| CourseID |
课程编号 |
integer |
None. |
| PageIndex |
页码 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserOpenID": "sample string 1",
"CourseID": 2,
"PageIndex": 3
}
Response Information
Resource Description
返状态码: 403:请求不合理,服务器拒绝执行(1、请求参数不正确)... 。200:请求成功... 。
CourseHomeworkResult| Name | Description | Type | Additional information |
|---|---|---|---|
| data |
数据集合 |
Collection of CourseHomeworkRecord |
None. |
| status |
公共返回值: 480:Token无效。 481:请求需要身份验证。 482:身份验证方式不正确。 483:Token已过期。 500:服务器内部错误。 |
integer |
None. |
| msg |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"HomeworkID": 1,
"CourseHourTitle": "sample string 2",
"HomeworkContent": "sample string 3",
"HomeworkFiles": "sample string 4",
"CommentStates": 5,
"HomeworkCreateDate": "sample string 6",
"CommentID": 7,
"CommentTeacherName": "sample string 8",
"CommentTeacherHeader": "sample string 9",
"CommentContent": "sample string 10",
"CommentFiles": "sample string 11",
"CommentCreateDate": "sample string 12",
"data": [
{
"NickName": "sample string 1",
"LeaveMessageContent": "sample string 2"
},
{
"NickName": "sample string 1",
"LeaveMessageContent": "sample string 2"
}
]
},
{
"HomeworkID": 1,
"CourseHourTitle": "sample string 2",
"HomeworkContent": "sample string 3",
"HomeworkFiles": "sample string 4",
"CommentStates": 5,
"HomeworkCreateDate": "sample string 6",
"CommentID": 7,
"CommentTeacherName": "sample string 8",
"CommentTeacherHeader": "sample string 9",
"CommentContent": "sample string 10",
"CommentFiles": "sample string 11",
"CommentCreateDate": "sample string 12",
"data": [
{
"NickName": "sample string 1",
"LeaveMessageContent": "sample string 2"
},
{
"NickName": "sample string 1",
"LeaveMessageContent": "sample string 2"
}
]
}
],
"status": 1,
"msg": "sample string 2"
}