文档
测试

题目分析

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

请求头

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

请求参数

参数名
类型
描述
必填
exam_id
问卷id
必填
school_period
学段code
必填
town
街道code
必填
company
学校uuid
必填

响应参数

参数名
类型
描述
必填
total_count
答卷数量
必填
items
题目列表
必填
id
题目id
必填
type
题目类型 类 1单选 2多选 3填空 4量表 5文件上传
必填
title
题目标题
必填
count
本题填写人数
必填
average_score
【量表题】平均分
必填
options
list
选项
必填
title
选项标题
必填
count
数量
必填
percent
占比
必填
values
list
【填空题】
必填
average_score
list
题目平均分
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": { "total_count": 1, "items": [ { "id": "200", "exam_id": "185", "type": "1", "title": "饮用水消毒的目的?", "mode": "1", "order": "1", "score": "2", "option_items": "A.防止呼吸道感染;B.防止皮肤病;C.肠道感染", "right_answer": "C", "right_answer_detail": "[\"260\"]", "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-12-07 14:04:37", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-12-07 15:57:21", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "258", "title": "防止呼吸道感染", "subject_id": "200", "file_id": null, "file_url": null, "count": 0, "percent": 0 }, { "id": "259", "title": "防止皮肤病", "subject_id": "200", "file_id": null, "file_url": null, "count": 0, "percent": 0 }, { "id": "260", "title": "肠道感染", "subject_id": "200", "file_id": null, "file_url": null, "count": "1", "percent": 100 } ], "batch": null, "count": "1", "average_score": 2 }, { "id": "201", "exam_id": "185", "type": "1", "title": "饮用水监督的适用范围?", "mode": "1", "order": "2", "score": "2", "option_items": "A.工业用水;B.生活用水", "right_answer": "B", "right_answer_detail": "[\"262\"]", "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-12-07 14:11:13", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-12-07 15:57:26", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "261", "title": "工业用水", "subject_id": "201", "file_id": null, "file_url": null, "count": "1", "percent": 100 }, { "id": "262", "title": "生活用水", "subject_id": "201", "file_id": null, "file_url": null, "count": 0, "percent": 0 } ], "batch": null, "count": "1", "average_score": 0 } ] } }