文档
测试

问卷详情

POST
http://survey.com/questionnaire/api/Exam/getDetail

请求头

参数名
类型
描述
必填
Authorization
cjBudkM5SDJQc1BRSHVDQ0J0VWN5b2syUnZtdFhiZjgzPWxIOTY0Y0EwblhQeGpsWGN2OEJ2aXVHdTBieTRIbkw9VFZXY0MwRnd5bkk9STBHNllHZQ%3D%3D
必填

请求参数

参数名
类型
描述
必填
id
问卷id
必填

响应参数

参数名
类型
描述
必填
id
问卷id
必填
type
问卷类型 1固定考试 2随机考试
必填
title
标题
必填
fu_title
副标题
必填
desc
说明
必填
time_controller
时间控制 1是 2否
必填
start_time
开始时间
必填
end_time
结束时间
必填
use_invitation_code
开启邀请码 1是 2否
必填
limit_ip
ip限制 1是 2否
必填
status
状态 1已发布 2未发布
必填
create_by_name
创建人
必填
limit_switch
防切屏 1开启 2关闭
必填
exam_time_controller
考试时间控制 1开启 2关闭
必填
exam_time_limit
考试时间 /分钟
必填
select_items
【随机问卷】题目组合
必填
library_id
题库id
必填
category_id
分类id
必填
type
题型 1单选 2多选 3填空
必填
count
题目数量
必填
score
题目分值
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": { "id": "168", "type": "2", "title": "期末考试", "fu_title": "期末考试", "desc": "期末考试", "time_controller": "2", "start_time": null, "end_time": null, "use_invitation_code": "1", "limit_ip": "1", "status": "2", "limit_switch": "1", "exam_time_controller": "1", "exam_time_limit": "100", "select_items": "[{\"library_id\":\"168\",\"category_id\":\"167\",\"type\":\"1\",\"count\":\"5\",\"score\":\"2\"},{\"library_id\":\"169\",\"category_id\":\"169\",\"type\":\"1\",\"count\":\"2\",\"score\":\"2\"}]", "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-12-05 16:01:11", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-12-05 16:01:12", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "link_url": "http://survey.com/questionnaire/Question/select_school?id=168", "qr_code": "/upload/code/202212/b52d6703299eea43afa34be272a82d25.png" } }