Appearance
获取考试列表
| 拥有此API的权限集 |
|---|
| 考试管理-查询 |
请求方式及url
- 请求方式:
POST - 请求头:
Content-Type:application/json - 接口地址:
https://api.xiaoe-tech.com/xe.examination.list.get/1.0.0 - 频率限制:
10秒3000次
接口调试
请求参数
响应结果
暂无响应数据
请求参数
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 专属token |
| search_content | 否 | string | 考试名称 |
| page_index | 是 | int | 页码 |
| page_size | 是 | int | 页大小 |
请求示例
{
"access_token": "xe_xxxxx"
}返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码 |
| msg | string | 请求状态描述信息 |
| data | object | 当前页数 |
| data.total_count | int | 总数 |
| data.exam_list | array | 考试列表 |
data.exam_list考试列表
| 参数名 | 类型 | 说明 |
|---|---|---|
| app_id | string | 店铺id |
| id | string | 考试id |
| name | string | 考试名称 |
| state | int | 考试状态0-未发布 1-已发布 2-删除 3-停止发布 4-定时发布 |
| created_at | string | 考试创建时间 |
| goods_info | array | 关联课程列表 |
| total_question | int | 考试总题数,(随机出题试卷算实际出题数) |
| total_score | int | 考试总分 |
| participate_count | int | 参与人数 |
| commit_count | int | 提交人数 |
| comment_count | int | 批阅人数 |
goods_info 关联课程列表
| 参数名 | 类型 | 说明 |
|---|---|---|
| exam_id | string | 考试id |
| is_deleted | int | 是否删除:0-否 1-是 |
| price | int | 关联课程价格,单位:分 |
| resource_id | string | 关联课程资源id |
| resource_type | int | 关联课程资源类型 |
| title | string | 关联课程标题 |
返回示例
{
"code": 0,
"data": {
"exam_list": [
{
"app_id": "appxxxx",
"comment_count": 0,
"commit_count": 0,
"created_at": "2021-11-29 17:14:35",
"goods_info": [
{
"exam_id": "ex_62fdf812559f8_72sZEwB3",
"is_deleted": 0,
"price": 200,
"resource_id": "p_62f7011ce4b00a4f3733128f",
"resource_type": 5,
"title": "测试"
}
]
"id": "ex_62fdf812559f8_72sZEwB3",
"name": "aadada",
"participate_count": 0,
"state": 1,
"total_question": 5,
"total_score": 10
}
],
"total_count": 117
},
"msg": "操作成功"
}