文档
测试

题目分析

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
【量表题】平均分
必填
options
list
选项
必填
title
选项标题
必填
count
数量
必填
percent
占比
必填
values
list
【填空题】
必填
files
list
【文件上传题】
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": { "total_count": 1, "items": [ { "id": "173", "survey_id": "161", "type": "3", "title": "<p>姓名:______</p>", "mode": null, "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-11-22 15:33:57", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-22 15:34:06", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [], "values": [ "李龙" ] }, { "id": "170", "survey_id": "161", "type": "1", "title": "<p>选择科目</p>", "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-11-22 15:31:52", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-22 15:34:06", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "177", "title": "1.理科", "subject_id": "170", "score": null, "file_id": null, "file_url": null, "count": "1", "percent": 100 }, { "id": "178", "title": "2.文科", "subject_id": "170", "score": null, "file_id": null, "file_url": null, "count": 0, "percent": 0 } ], "count": "1" }, { "id": "171", "survey_id": "161", "type": "1", "title": "<p>理科组合?</p>", "mode": "1", "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-11-22 15:32:36", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-22 15:34:04", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "179", "title": "1.物理化学", "subject_id": "171", "score": null, "file_id": null, "file_url": null, "count": "1", "percent": 100 }, { "id": "180", "title": "2.物理生物", "subject_id": "171", "score": null, "file_id": null, "file_url": null, "count": 0, "percent": 0 }, { "id": "181", "title": "3.化学生物", "subject_id": "171", "score": null, "file_id": null, "file_url": null, "count": 0, "percent": 0 } ], "count": "1" }, { "id": "172", "survey_id": "161", "type": "1", "title": "<p>文科组合</p>", "mode": "1", "not_null": "1", "order": "4", "show_logic_type": null, "related_more": null, "jump_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-11-22 15:33:21", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-22 15:34:02", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "182", "title": "1.历史地理", "subject_id": "172", "score": null, "file_id": null, "file_url": null, "count": "1", "percent": 100 }, { "id": "183", "title": "2.历史政治", "subject_id": "172", "score": null, "file_id": null, "file_url": null, "count": 0, "percent": 0 }, { "id": "184", "title": "3.地理政治", "subject_id": "172", "score": null, "file_id": null, "file_url": null, "count": 0, "percent": 0 } ], "count": "1" }, { "id": "174", "survey_id": "161", "type": "2", "title": "<p>选课意见?</p>", "mode": null, "not_null": "1", "order": "5", "show_logic_type": null, "related_more": null, "jump_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-11-22 15:35:18", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-22 15:35:18", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "185", "title": "1.有待改进", "subject_id": "174", "score": null, "file_id": null, "file_url": null, "count": "1", "percent": 100 }, { "id": "186", "title": "2.满意", "subject_id": "174", "score": null, "file_id": null, "file_url": null, "count": 0, "percent": 0 }, { "id": "187", "title": "3.基本满意", "subject_id": "174", "score": null, "file_id": null, "file_url": null, "count": 0, "percent": 0 }, { "id": "188", "title": "4.服务差", "subject_id": "174", "score": null, "file_id": null, "file_url": null, "count": 0, "percent": 0 } ], "count": "1" }, { "id": "175", "survey_id": "161", "type": "4", "title": "<p>选课是否满意?</p>", "mode": null, "not_null": "1", "order": "6", "show_logic_type": null, "related_more": null, "jump_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-11-22 15:36:17", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-22 15:36:17", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "189", "title": "1.满意", "subject_id": "175", "score": "1", "file_id": null, "file_url": null, "count": 0, "percent": 0 }, { "id": "190", "title": "2.很满意", "subject_id": "175", "score": "2", "file_id": null, "file_url": null, "count": "1", "percent": 100 }, { "id": "191", "title": "3.非常满意", "subject_id": "175", "score": "3", "file_id": null, "file_url": null, "count": 0, "percent": 0 } ], "count": "1", "average_score": 2 }, { "id": "176", "survey_id": "161", "type": "5", "title": "<p>附件</p>", "mode": null, "not_null": "2", "order": "7", "show_logic_type": null, "related_more": null, "jump_type": null, "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-11-22 15:45:16", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-22 15:45:16", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [], "files": [ "/upload/file/202211/deda89ec6deac022b85a09ad0a851976.png" ] } ] } }