文档
测试

题目分析

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

请求头

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

请求参数

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

响应参数

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

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": { "total_count": 10, "items": [ { "id": "178", "survey_id": "164", "type": "1", "title": "测试111", "mode": "1", "not_null": "1", "order": "1", "show_logic_type": null, "related_more": null, "jump_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-12-15 14:29:07", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-12-15 14:29:07", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "need_score": "1", "options": [ { "id": "198", "title": "11", "subject_id": "178", "score": "1", "order": "1", "file_id": null, "file_url": null, "count": "10", "percent": "100%" } ], "count": "10", "average_score": 1 }, { "id": "179", "survey_id": "164", "type": "1", "title": "单选题2", "mode": "1", "not_null": "1", "order": "2", "show_logic_type": null, "related_more": null, "jump_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-12-16 09:31:34", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-12-16 09:31:34", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "need_score": "1", "options": [ { "id": "199", "title": "选项1", "subject_id": "179", "score": "1", "order": "1", "file_id": null, "file_url": null, "count": "5", "percent": "50%" }, { "id": "200", "title": "选项2", "subject_id": "179", "score": "2", "order": "2", "file_id": null, "file_url": null, "count": "3", "percent": "30%" }, { "id": "201", "title": "选项3", "subject_id": "179", "score": "3", "order": "3", "file_id": null, "file_url": null, "count": "2", "percent": "20%" } ], "count": "10", "average_score": 1.7 }, { "id": "180", "survey_id": "164", "type": "2", "title": "多选题", "mode": null, "not_null": "1", "order": "3", "show_logic_type": null, "related_more": null, "jump_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-12-16 09:32:18", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-12-16 09:32:18", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "need_score": "1", "options": [ { "id": "202", "title": "选项1", "subject_id": "180", "score": "1", "order": "1", "file_id": null, "file_url": null, "count": "10", "percent": "100%" }, { "id": "203", "title": "选项2", "subject_id": "180", "score": "2", "order": "2", "file_id": null, "file_url": null, "count": "6", "percent": "60%" }, { "id": "204", "title": "选项3", "subject_id": "180", "score": "4", "order": "3", "file_id": null, "file_url": null, "count": "4", "percent": "40%" } ], "count": "10", "average_score": 3.8 } ] } }