文档
测试

关联题目列表

POST
http://survey.com/questionnaire/api/SurveySubject/getRelatedSubjectList

请求头

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

请求参数

参数名
类型
描述
必填
survey_id
问卷id
必填
subject_id
当前题目id
可选

响应参数

参数名
类型
描述
必填
id
题目id
必填
title
题目标题
必填
type
题目类型 1单选 2多选 3填空 4量表 5文件上传
必填
options
选项列表
必填
id
选项id
必填
title
标题
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": [ { "id": "164", "survey_id": "156", "type": "1", "title": "你的年龄?", "mode": "1", "not_null": "1", "order": "1", "show_logic_type": null, "related_more": null, "jump_type": "2", "create_by_uuid": "628133f1525c618", "create_by_account": "xingzhi", "create_by_name": "管理员", "create_date": "2022-11-11 10:43:59", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-15 09:57:32", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "163", "title": "1.10-30", "subject_id": "164" }, { "id": "164", "title": "2.30-40", "subject_id": "164" } ] }, { "id": "165", "survey_id": "156", "type": "1", "title": "你的性别?", "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-11 10:44:17", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-14 17:08:34", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "165", "title": "1.男", "subject_id": "165" }, { "id": "166", "title": "2.女", "subject_id": "165" } ] }, { "id": "166", "survey_id": "156", "type": "1", "title": "你的职业?", "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-11 13:33:47", "edit_by_uuid": "628133f1525c618", "edit_by_account": "xingzhi", "edit_by_name": "管理员", "edit_date": "2022-11-14 17:08:34", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "company_uuid": "0", "company_name": null, "options": [ { "id": "167", "title": "1.学生", "subject_id": "166" }, { "id": "168", "title": "2.老师", "subject_id": "166" } ] } ] }