Appearance
获取作业基本信息列表
| 拥有此API的权限集 |
|---|
| 作业管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.exercise.api.list.base/1.0.0 - 频率限制:
10秒3000次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| exercise_book_id | 是 | string | 作业本id |
| page_index | 是 | int | 页码 |
| page_size | 是 | int | 页大小 |
请求示例
{
"access_token": "xxxxx",
"exercise_book_id": "e62e0e6537d48f_rNMmUJRf",
"page_index": 1,
"page_size": 10
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 请求状态描述信息 |
| data | object | 当前页数 |
| data.list | array | 列表 |
| data.total | int | 总数 |
data.list列表
| 参数名 | 类型 | 说明 |
|---|---|---|
| name | string | 作业名称 |
| resource_id | string | 关联资源id |
| exercise_book_id | string | 作业本id |
| exercise_id | string | 作业id |
| exercise_book_name | string | 作业本名称 |
| commit_count | int | 作业已提交人数 |
| review_count | int | 作业已点评人数 |
| un_review_count | int | 作业未点评人数 |
| total_count | string | 作业应提交人数 ,如果是"--"则说明没有应提交人数 |
返回示例
{
"code": 0,
"msg": "操作成功",
"data": {
"list": [
{
"name": "关联圈子后手动布置作业",
"resource_id": "i_62da0feae4b00a4f37296266",
"exercise_book_id": "e62de0ed5af7ad_3UfFRoch",
"exercise_id":"e62de0ed5af7ad_3UfFRocj",
"exercise_book_name": "作业点评",
"commit_count": 1,
"review_count": 0,
"un_review_count": 1,
"total_count": "--"
},
{
"name": "新手动布置",
"resource_id": "i_62da0feae4b00a4f37296266",
"exercise_book_id": "e62de0ed5af7ad_3UfFRoch",
"exercise_id":"e62de0ed5af7asdsdfsdocj",
"exercise_book_name": "作业点评",
"commit_count": 1,
"review_count": 0,
"un_review_count": 1,
"total_count": "--"
}
],
"total": 12
}
}