1、时间段问卷记录查询

https://api.mytijian.com/open-api/V2/ws/survey/queryAccountSurveyRecordList?accessToken=ACCESS_TOKEN
请求协议:HTTPS
请求方式:POST
需要签名: 否
URL参数:

参数名 是否必须 类型 说明
accessToken string 当前有效的accessToken
POST参数示例
  1. {
  2. "startTime":"2020-01-01",
  3. "endTime":"2020-03-01",
  4. "currentPage":1,
  5. "pageSize":20
  6. }
请求参数说明:
参数名 是否必须 类型 说明
startTime string 开始时间 格式yyyy-MM-dd
endTime string 结束时间 格式yyyy-MM-dd 查询时长间隔不要超过30天
currentPage int 当前页
pageSize int 每页显示的条数

正确返回示例:

  1. {
  2. "data": {
  3. "records": [
  4. {
  5. "evaluateReport": {
  6. "accountRiskItems": [
  7. {
  8. "riskName": "营养状况",
  9. "accountId": 629142,
  10. "createTime": 1579017600000,
  11. "coefficient": 0.6682239999999998,
  12. "updateTime": 1579017600000,
  13. "id": 68217,
  14. "evaluateReportId": 11585,
  15. "riskId": 16
  16. },
  17. {
  18. "riskName": "呼吸系统",
  19. "accountId": 629142,
  20. "createTime": 1579017600000,
  21. "coefficient": 0.30000000000000004,
  22. "updateTime": 1579017600000,
  23. "id": 68215,
  24. "evaluateReportId": 11585,
  25. "riskId": 3
  26. },
  27. {
  28. "riskName": "恶性肿瘤",
  29. "accountId": 629142,
  30. "createTime": 1579017600000,
  31. "coefficient": 0.19999999999999996,
  32. "updateTime": 1579017600000,
  33. "id": 68216,
  34. "evaluateReportId": 11585,
  35. "riskId": 11
  36. }
  37. ],
  38. "advices": [
  39. "谷物摄入过少,建议适当增加",
  40. "肉类摄入过少,建议适当增加",
  41. "豆类食品摄入过少,建议增加",
  42. "建议工作间隙适当活动",
  43. "适当增加锻炼时的运动量",
  44. "建议每天按时吃早餐"
  45. ]
  46. },
  47. "accountSurveyAnswerSnapshots": [
  48. {
  49. "sequence": 1,
  50. "surveyId": 10,
  51. "userAnswers": [
  52. {
  53. "snapshots": [
  54. ],
  55. "questionId": 2001,
  56. "answerContent": "",
  57. "advice": "",
  58. "id": 10003,
  59. "content": "否",
  60. "tips": ""
  61. }
  62. ],
  63. "id": 2001,
  64. "type": 1,
  65. "content": "最近半年,有生育的计划吗?"
  66. },
  67. {
  68. "sequence": 2,
  69. "surveyId": 10,
  70. "userAnswers": [
  71. {
  72. "snapshots": [
  73. ],
  74. "questionId": 2004,
  75. "answerContent": "",
  76. "advice": "",
  77. "id": 10022,
  78. "type": 1,
  79. "content": "无",
  80. "tips": ""
  81. }
  82. ],
  83. "id": 2004,
  84. "type": 2,
  85. "content": "您的直系亲属中(父亲、母亲、兄弟、姐妹)目前或曾经是否有以下明确诊断的疾病?(多选题)"
  86. },
  87. {
  88. "sequence": 3,
  89. "surveyId": 10,
  90. "userAnswers": [
  91. {
  92. "snapshots": [
  93. ],
  94. "questionId": 2023,
  95. "answerContent": "",
  96. "advice": "",
  97. "id": 10048,
  98. "type": 1,
  99. "content": "无以上疾病",
  100. "tips": ""
  101. }
  102. ],
  103. "id": 2023,
  104. "type": 2,
  105. "content": "您目前或曾经是否有以下明确诊断的疾病?(多选题)"
  106. },
  107. {
  108. "sequence": 5,
  109. "surveyId": 10,
  110. "userAnswers": [
  111. {
  112. "snapshots": [
  113. ],
  114. "questionId": 2055,
  115. "answerContent": "",
  116. "advice": "",
  117. "id": 10062,
  118. "type": 1,
  119. "content": "无",
  120. "tips": ""
  121. }
  122. ],
  123. "id": 2055,
  124. "type": 2,
  125. "content": "您是否长期服用下列药物?(连续服用6个月以上,平均每日服用一次以上)(多选题)"
  126. },
  127. {
  128. "sequence": 6,
  129. "surveyId": 10,
  130. "userAnswers": [
  131. {
  132. "snapshots": [
  133. ],
  134. "questionId": 2063,
  135. "answerContent": "",
  136. "advice": "",
  137. "id": 10079,
  138. "type": 1,
  139. "content": "无以上不适症状",
  140. "tips": ""
  141. }
  142. ],
  143. "id": 2063,
  144. "type": 2,
  145. "content": "最近3个月,您是否有以下躯体症状,如果有请进行选择?(多选题)"
  146. },
  147. {
  148. "sequence": 11,
  149. "surveyId": 10,
  150. "userAnswers": [
  151. {
  152. "snapshots": [
  153. ],
  154. "questionId": 2084,
  155. "answerContent": "",
  156. "advice": "谷物摄入过少,建议适当增加",
  157. "id": 10192,
  158. "content": "不吃",
  159. "tips": ""
  160. }
  161. ],
  162. "id": 2084,
  163. "type": 1,
  164. "content": "一般情况下,您平时每餐吃的谷类(大米、面食、杂粮)的量是多少?(单选题)"
  165. },
  166. {
  167. "sequence": 12,
  168. "surveyId": 10,
  169. "userAnswers": [
  170. {
  171. "snapshots": [
  172. ],
  173. "questionId": 2085,
  174. "answerContent": "",
  175. "advice": "肉类摄入过少,建议适当增加",
  176. "id": 10187,
  177. "content": "不吃",
  178. "tips": ""
  179. }
  180. ],
  181. "id": 2085,
  182. "type": 1,
  183. "content": "一般情况下,您平均每天吃的肉类(猪,牛,羊,禽)的量是多少?(单选题)"
  184. },
  185. {
  186. "sequence": 13,
  187. "surveyId": 10,
  188. "userAnswers": [
  189. {
  190. "snapshots": [
  191. ],
  192. "questionId": 2086,
  193. "answerContent": "",
  194. "advice": "",
  195. "id": 10182,
  196. "content": ">5两",
  197. "tips": ""
  198. }
  199. ],
  200. "id": 2086,
  201. "type": 1,
  202. "content": "一般情况下,您平均每天吃的新鲜蔬菜和水果类的量是多少?(单选题)"
  203. },
  204. {
  205. "sequence": 14,
  206. "surveyId": 10,
  207. "userAnswers": [
  208. {
  209. "snapshots": [
  210. ],
  211. "questionId": 2087,
  212. "answerContent": "",
  213. "advice": "",
  214. "id": 10178,
  215. "content": "<1天或不吃",
  216. "tips": ""
  217. }
  218. ],
  219. "id": 2087,
  220. "type": 1,
  221. "content": "一般情况下,您平均每周都有几天吃牛奶及奶制品?(单选题)"
  222. },
  223. {
  224. "sequence": 15,
  225. "surveyId": 10,
  226. "userAnswers": [
  227. {
  228. "snapshots": [
  229. ],
  230. "questionId": 2088,
  231. "answerContent": "",
  232. "advice": "",
  233. "id": 10174,
  234. "content": "<1天或不吃",
  235. "tips": ""
  236. }
  237. ],
  238. "id": 2088,
  239. "type": 1,
  240. "content": "一般情况下,您平均每周都有几天吃鱼类或其它水产品?(单选题)"
  241. },
  242. {
  243. "sequence": 16,
  244. "surveyId": 10,
  245. "userAnswers": [
  246. {
  247. "snapshots": [
  248. ],
  249. "questionId": 2089,
  250. "answerContent": "",
  251. "advice": "",
  252. "id": 10170,
  253. "content": "<1天或不吃",
  254. "tips": ""
  255. }
  256. ],
  257. "id": 2089,
  258. "type": 1,
  259. "content": "一般情况下,您平均每周都有几天吃蛋类及其制品?(单选题)"
  260. },
  261. {
  262. "sequence": 17,
  263. "surveyId": 10,
  264. "userAnswers": [
  265. {
  266. "snapshots": [
  267. ],
  268. "questionId": 2090,
  269. "answerContent": "",
  270. "advice": "豆类食品摄入过少,建议增加",
  271. "id": 10166,
  272. "content": "<1天或不吃",
  273. "tips": ""
  274. }
  275. ],
  276. "id": 2090,
  277. "type": 1,
  278. "content": "一般情况下,您平均每周都有几天吃豆类及豆制品?(单选题)"
  279. },
  280. {
  281. "sequence": 18,
  282. "surveyId": 10,
  283. "userAnswers": [
  284. {
  285. "snapshots": [
  286. ],
  287. "questionId": 2091,
  288. "answerContent": "",
  289. "advice": "",
  290. "id": 10162,
  291. "content": "<1天或不吃",
  292. "tips": ""
  293. }
  294. ],
  295. "id": 2091,
  296. "type": 1,
  297. "content": "一般情况下,您平均每周都有几天吃甜食(甜点,糖果等)?(单选题)"
  298. },
  299. {
  300. "sequence": 19,
  301. "surveyId": 10,
  302. "userAnswers": [
  303. {
  304. "snapshots": [
  305. ],
  306. "questionId": 2092,
  307. "answerContent": "",
  308. "advice": "",
  309. "id": 10158,
  310. "content": "<1天或不吃",
  311. "tips": ""
  312. }
  313. ],
  314. "id": 2092,
  315. "type": 1,
  316. "content": "一般情况下,您平均每周都有几天吃油炸食品?(单选题)"
  317. },
  318. {
  319. "sequence": 20,
  320. "surveyId": 10,
  321. "userAnswers": [
  322. {
  323. "snapshots": [
  324. ],
  325. "questionId": 2093,
  326. "answerContent": "",
  327. "advice": "",
  328. "id": 10154,
  329. "content": "<1天或不吃",
  330. "tips": ""
  331. }
  332. ],
  333. "id": 2093,
  334. "type": 1,
  335. "content": "一般情况下,您平均每周都有几天吃腌、熏类食物?(单选题)"
  336. },
  337. {
  338. "sequence": 21,
  339. "surveyId": 10,
  340. "userAnswers": [
  341. {
  342. "snapshots": [
  343. ],
  344. "questionId": 2094,
  345. "answerContent": "",
  346. "advice": "",
  347. "id": 10147,
  348. "content": "略淡",
  349. "tips": ""
  350. }
  351. ],
  352. "id": 2094,
  353. "type": 1,
  354. "content": "您的口味与周围的人相比如何?(单选题)"
  355. },
  356. {
  357. "sequence": 22,
  358. "surveyId": 10,
  359. "userAnswers": [
  360. {
  361. "snapshots": [
  362. ],
  363. "questionId": 2095,
  364. "answerContent": "",
  365. "advice": "",
  366. "id": 10145,
  367. "content": "已戒烟(不吸烟1个月以上)",
  368. "tips": ""
  369. }
  370. ],
  371. "id": 2095,
  372. "type": 1,
  373. "content": "您吸烟吗?(单选题)"
  374. },
  375. {
  376. "sequence": 23,
  377. "surveyId": 10,
  378. "userAnswers": [
  379. {
  380. "snapshots": [
  381. ],
  382. "questionId": 2096,
  383. "answerContent": "",
  384. "advice": "",
  385. "id": 10099,
  386. "content": "否",
  387. "tips": ""
  388. }
  389. ],
  390. "id": 2096,
  391. "type": 1,
  392. "content": "您存在被动吸烟(二手烟)的情况吗?(单选题)"
  393. },
  394. {
  395. "sequence": 25,
  396. "surveyId": 10,
  397. "userAnswers": [
  398. {
  399. "snapshots": [
  400. ],
  401. "questionId": 2101,
  402. "answerContent": "",
  403. "advice": "",
  404. "id": 10135,
  405. "content": "不喝",
  406. "tips": ""
  407. }
  408. ],
  409. "id": 2101,
  410. "type": 1,
  411. "content": "您喝酒吗?(单选题)"
  412. },
  413. {
  414. "sequence": 26,
  415. "surveyId": 10,
  416. "userAnswers": [
  417. {
  418. "snapshots": [
  419. ],
  420. "questionId": 2102,
  421. "answerContent": "",
  422. "advice": "建议工作间隙适当活动",
  423. "id": 10132,
  424. "content": "静坐为主(坐着办公几个小时)",
  425. "tips": ""
  426. }
  427. ],
  428. "id": 2102,
  429. "type": 1,
  430. "content": "您从事什么样性质的工作?(单选题)"
  431. },
  432. {
  433. "sequence": 27,
  434. "surveyId": 10,
  435. "userAnswers": [
  436. {
  437. "snapshots": [
  438. ],
  439. "questionId": 2103,
  440. "answerContent": "",
  441. "advice": "适当增加锻炼时的运动量",
  442. "id": 10107,
  443. "content": "<1次",
  444. "tips": ""
  445. }
  446. ],
  447. "id": 2103,
  448. "type": 1,
  449. "content": "近年来,您平均每周锻炼多少次?"
  450. },
  451. {
  452. "sequence": 30,
  453. "surveyId": 10,
  454. "userAnswers": [
  455. {
  456. "snapshots": [
  457. ],
  458. "questionId": 2109,
  459. "answerContent": "",
  460. "advice": "",
  461. "id": 10122,
  462. "content": "非常好",
  463. "tips": ""
  464. }
  465. ],
  466. "id": 2109,
  467. "type": 1,
  468. "content": "过去一个月,您的总体睡眠质量如何?(单选题)"
  469. },
  470. {
  471. "sequence": 31,
  472. "surveyId": 10,
  473. "userAnswers": [
  474. {
  475. "snapshots": [
  476. ],
  477. "questionId": 2110,
  478. "answerContent": "",
  479. "advice": "",
  480. "id": 10118,
  481. "content": "否",
  482. "tips": ""
  483. }
  484. ],
  485. "id": 2110,
  486. "type": 1,
  487. "content": "过去一个月,您是否要服药才能入睡?(包括医生开的处方和自购药物)(单选题)"
  488. },
  489. {
  490. "sequence": 32,
  491. "surveyId": 10,
  492. "userAnswers": [
  493. {
  494. "snapshots": [
  495. ],
  496. "questionId": 2111,
  497. "answerContent": "",
  498. "advice": "",
  499. "id": 10117,
  500. "content": "均无",
  501. "tips": ""
  502. }
  503. ],
  504. "id": 2111,
  505. "type": 1,
  506. "content": "您目前是否从事以下职业1年或以上?(单选题)"
  507. },
  508. {
  509. "sequence": 33,
  510. "surveyId": 10,
  511. "userAnswers": [
  512. {
  513. "snapshots": [
  514. ],
  515. "questionId": 2112,
  516. "answerContent": "",
  517. "advice": "建议每天按时吃早餐",
  518. "id": 10266,
  519. "content": "<1天或不吃",
  520. "tips": ""
  521. }
  522. ],
  523. "id": 2112,
  524. "type": 1,
  525. "content": "一般情况下,您平均每周都有几天吃早餐(单选题)"
  526. },
  527. {
  528. "sequence": 34,
  529. "surveyId": 10,
  530. "userAnswers": [
  531. {
  532. "snapshots": [
  533. ],
  534. "questionId": 2113,
  535. "answerContent": "",
  536. "advice": "",
  537. "id": 10270,
  538. "content": "<1天或不吃",
  539. "tips": ""
  540. }
  541. ],
  542. "id": 2113,
  543. "type": 1,
  544. "content": "一般情况下,您平均每周都有几天吃夜宵?(单选题)"
  545. }
  546. ],
  547. "accountSnapshotVO": {
  548. "accountSurveyId": 4114740,
  549. "surveyId": 10,
  550. "gender": 0,
  551. "idCard": "230102199003075131",
  552. "mobile": "15455555555",
  553. "name": "C端用户",
  554. "weight": 66,
  555. "marriageStatus": 0,
  556. "updateTime": 1579082807061,
  557. "title": "健康自诊评估",
  558. "age": 30,
  559. "height": 170,
  560. "orderNum": "20231213181100024207008",
  561. "examCode":"TYIOR89371"
  562. }
  563. }
  564. ],
  565. "page": {
  566. "offset": 0,
  567. "pageSize": 5,
  568. "rowCount": 38,
  569. "currentPage": 1,
  570. "countMethod": "Count"
  571. }
  572. },
  573. "msg": "success",
  574. "success": "T"
  575. }
返回参数说明:
参数名 类型 说明
success String T成功,F失败
errCode String 错误码,只有失败的时候才有
msg String 描述消息
data PageView 分页查询对象
PageView对象说明
参数名 是否必须 类型 说明
page Page 分页参数对象
records List(AccountSurveySnapshotVO) 问卷记录集合
page对象说明
参数名 是否必须 类型 说明
offset int 偏移量
pageSize int 每页显示的条数
currentPage int 当前页码
rowCount int 总条数
countMethod string 计数方法
AccountSurveySnapshotVO对象说明
参数名 是否必须 类型 说明
accountSnapshotVO AccountSnapshot 答题用户信息
evaluateReport EvaluateReport 评估报告
accountSurveyAnswerSnapshots List(AccountSurveyAnswerSnapshot) 用户答题记录集合
AccountSnapshot对象说明
参数名 是否必须 类型 说明
accountSurveyId int 用户问卷记录id
surveyId int 问卷id
gender int 性别:0:男;1:女;2:未知
idCard int 身份证
mobile string 手机号
name string 姓名
weight int 体重,单位kg
marriageStatus int 婚姻状态:0:未婚,1:已婚
updateTime long 更新时间
title string 问卷标题
age int 年龄
height int 身高 ,单位cm
examCode string 体检编号
EvaluateReport对象说明
参数名 是否必须 类型 说明
advices List(string) 建议集合
accountRiskItems List(AccountRiskItem) 风险项集合
AccountRiskItem对象说明
参数名 是否必须 类型 说明
riskName string 风险名称
accountId int 用户id
createTime long 创建时间
coefficient double 系数:高(>=0.6)中(0.3~0.6) 低(<=0.3)
updateTime long 更新时间
id int 记录id
evaluateReportId int 评估报告id
riskId int 风险项id
AccountSurveyAnswerSnapshot对象说明
参数名 是否必须 类型 说明
sequence int 顺序
surveyId int 问卷id
id int 问题id
type int 问题类型:1单选,2多选 ,3文本,4评分题
content string 问题内容
userAnswers List(UserAnswer) 用户答案集合
UserAnswer对象说明
参数名 是否必须 类型 说明
questionId int 问题id
answerContent string 文本答案内容或者单选可以填空文本
advice string 答案建议
id int 答案id
content string 答案内容
tips string 答案提示
snapshots List(AccountSurveyAnswerSnapshot) 用户答题记录集合

2、订单问卷记录查询

https://api.mytijian.com/open-api/V2/ws/survey/queryAccountSurveyRecordByOrderNum?accessToken=ACCESS_TOKEN
请求协议:HTTPS
请求方式:POST
需要签名: 否
URL参数:

参数名 是否必须 类型 说明
accessToken string 当前有效的accessToken
POST参数示例
  1. {
  2. "orderNum":"20200702115522311000608"
  3. }
请求参数说明:
参数名 是否必须 类型 说明
orderNum string 订单号

正确返回示例:

  1. {
  2. "data": [
  3. {
  4. "evaluateReport": {
  5. "accountRiskItems": [
  6. {
  7. "riskName": "泌尿系统",
  8. "createTime": 1593619200000,
  9. "coefficient": 0.8,
  10. "updateTime": 1593619200000,
  11. "id": 71186,
  12. "evaluateReportId": 12354,
  13. "riskId": 6
  14. },
  15. {
  16. "riskName": "胃肠系统",
  17. "createTime": 1593619200000,
  18. "coefficient": 0.7132799999999999,
  19. "updateTime": 1593619200000,
  20. "id": 71183,
  21. "evaluateReportId": 12354,
  22. "riskId": 4
  23. },
  24. {
  25. "riskName": "呼吸系统",
  26. "createTime": 1593619200000,
  27. "coefficient": 0.65,
  28. "updateTime": 1593619200000,
  29. "id": 71185,
  30. "evaluateReportId": 12354,
  31. "riskId": 3
  32. },
  33. {
  34. "riskName": "恶性肿瘤",
  35. "createTime": 1593619200000,
  36. "coefficient": 0.6080000000000001,
  37. "updateTime": 1593619200000,
  38. "id": 71184,
  39. "evaluateReportId": 12354,
  40. "riskId": 11
  41. },
  42. {
  43. "riskName": "精神卫生系统",
  44. "createTime": 1593619200000,
  45. "coefficient": 0.52,
  46. "updateTime": 1593619200000,
  47. "id": 71188,
  48. "evaluateReportId": 12354,
  49. "riskId": 15
  50. },
  51. {
  52. "riskName": "肝胆胰系统",
  53. "createTime": 1593619200000,
  54. "coefficient": 0.4,
  55. "updateTime": 1593619200000,
  56. "id": 71190,
  57. "evaluateReportId": 12354,
  58. "riskId": 5
  59. },
  60. {
  61. "riskName": "肾脏疾病",
  62. "createTime": 1593619200000,
  63. "coefficient": 0.4,
  64. "updateTime": 1593619200000,
  65. "id": 71187,
  66. "evaluateReportId": 12354,
  67. "riskId": 7
  68. },
  69. {
  70. "riskName": "心血管系统",
  71. "createTime": 1593619200000,
  72. "coefficient": 0.35199999999999987,
  73. "updateTime": 1593619200000,
  74. "id": 71189,
  75. "evaluateReportId": 12354,
  76. "riskId": 1
  77. },
  78. {
  79. "riskName": "脑血管系统",
  80. "createTime": 1593619200000,
  81. "coefficient": 0.19999999999999996,
  82. "updateTime": 1593619200000,
  83. "id": 71191,
  84. "evaluateReportId": 12354,
  85. "riskId": 2
  86. }
  87. ],
  88. "advices": [
  89. "建议饮食清淡",
  90. "建议工作间隙适当活动",
  91. "建议每天按时吃早餐",
  92. "建议不要吃夜霄"
  93. ]
  94. },
  95. "accountSurveyAnswerSnapshots": [
  96. {
  97. "sequence": 1,
  98. "surveyId": 10,
  99. "userAnswers": [
  100. {
  101. "snapshots": [],
  102. "questionId": 2001,
  103. "advice": "",
  104. "id": 10003,
  105. "content": "否",
  106. "tips": ""
  107. }
  108. ],
  109. "id": 2001,
  110. "type": 1,
  111. "content": "最近半年,有生育的计划吗?"
  112. },
  113. {
  114. "sequence": 2,
  115. "surveyId": 10,
  116. "userAnswers": [
  117. {
  118. "snapshots": [],
  119. "questionId": 2004,
  120. "advice": "",
  121. "id": 10007,
  122. "content": "胃癌",
  123. "tips": ""
  124. }
  125. ],
  126. "id": 2004,
  127. "type": 2,
  128. "content": "您的直系亲属中(父亲、母亲、兄弟、姐妹)目前或曾经是否有以下明确诊断的疾病?(多选题)"
  129. },
  130. {
  131. "sequence": 3,
  132. "surveyId": 10,
  133. "userAnswers": [
  134. {
  135. "snapshots": [],
  136. "questionId": 2023,
  137. "advice": "",
  138. "id": 10036,
  139. "content": "慢阻肺(慢性支气管炎、肺气肿)",
  140. "tips": ""
  141. }
  142. ],
  143. "id": 2023,
  144. "type": 2,
  145. "content": "您目前或曾经是否有以下明确诊断的疾病?(多选题)"
  146. },
  147. {
  148. "sequence": 5,
  149. "surveyId": 10,
  150. "userAnswers": [
  151. {
  152. "snapshots": [],
  153. "questionId": 2055,
  154. "advice": "",
  155. "id": 10058,
  156. "content": "抗血小板类药物如阿司匹林等",
  157. "tips": ""
  158. },
  159. {
  160. "snapshots": [],
  161. "questionId": 2055,
  162. "advice": "",
  163. "id": 10060,
  164. "content": "精神类药物",
  165. "tips": ""
  166. }
  167. ],
  168. "id": 2055,
  169. "type": 2,
  170. "content": "您是否长期服用下列药物?(连续服用6个月以上,平均每日服用一次以上)(多选题)"
  171. },
  172. {
  173. "sequence": 6,
  174. "surveyId": 10,
  175. "userAnswers": [
  176. {
  177. "snapshots": [],
  178. "questionId": 2063,
  179. "advice": "",
  180. "id": 10071,
  181. "content": "小便异常(尿频、尿急、尿痛、排尿困难、尿血)",
  182. "tips": ""
  183. }
  184. ],
  185. "id": 2063,
  186. "type": 2,
  187. "content": "最近3个月,您是否有以下躯体症状,如果有请进行选择?(多选题)"
  188. },
  189. {
  190. "sequence": 11,
  191. "surveyId": 10,
  192. "userAnswers": [
  193. {
  194. "snapshots": [],
  195. "questionId": 2084,
  196. "advice": "",
  197. "id": 10190,
  198. "content": "1-2小碗",
  199. "tips": ""
  200. }
  201. ],
  202. "id": 2084,
  203. "type": 1,
  204. "content": "一般情况下,您平时每餐吃的谷类(大米、面食、杂粮)的量是多少?(单选题)"
  205. },
  206. {
  207. "sequence": 12,
  208. "surveyId": 10,
  209. "userAnswers": [
  210. {
  211. "snapshots": [],
  212. "questionId": 2085,
  213. "advice": "",
  214. "id": 10185,
  215. "content": "2-4两",
  216. "tips": ""
  217. }
  218. ],
  219. "id": 2085,
  220. "type": 1,
  221. "content": "一般情况下,您平均每天吃的肉类(猪,牛,羊,禽)的量是多少?(单选题)"
  222. },
  223. {
  224. "sequence": 13,
  225. "surveyId": 10,
  226. "userAnswers": [
  227. {
  228. "snapshots": [],
  229. "questionId": 2086,
  230. "advice": "",
  231. "id": 10181,
  232. "content": "2-4两",
  233. "tips": ""
  234. }
  235. ],
  236. "id": 2086,
  237. "type": 1,
  238. "content": "一般情况下,您平均每天吃的新鲜蔬菜和水果类的量是多少?(单选题)"
  239. },
  240. {
  241. "sequence": 14,
  242. "surveyId": 10,
  243. "userAnswers": [
  244. {
  245. "snapshots": [],
  246. "questionId": 2087,
  247. "advice": "",
  248. "id": 10177,
  249. "content": "1-2天",
  250. "tips": ""
  251. }
  252. ],
  253. "id": 2087,
  254. "type": 1,
  255. "content": "一般情况下,您平均每周都有几天吃牛奶及奶制品?(单选题)"
  256. },
  257. {
  258. "sequence": 15,
  259. "surveyId": 10,
  260. "userAnswers": [
  261. {
  262. "snapshots": [],
  263. "questionId": 2088,
  264. "advice": "",
  265. "id": 10173,
  266. "content": "1-2天",
  267. "tips": ""
  268. }
  269. ],
  270. "id": 2088,
  271. "type": 1,
  272. "content": "一般情况下,您平均每周都有几天吃鱼类或其它水产品?(单选题)"
  273. },
  274. {
  275. "sequence": 16,
  276. "surveyId": 10,
  277. "userAnswers": [
  278. {
  279. "snapshots": [],
  280. "questionId": 2089,
  281. "advice": "",
  282. "id": 10169,
  283. "content": "1-2天",
  284. "tips": ""
  285. }
  286. ],
  287. "id": 2089,
  288. "type": 1,
  289. "content": "一般情况下,您平均每周都有几天吃蛋类及其制品?(单选题)"
  290. },
  291. {
  292. "sequence": 17,
  293. "surveyId": 10,
  294. "userAnswers": [
  295. {
  296. "snapshots": [],
  297. "questionId": 2090,
  298. "advice": "",
  299. "id": 10165,
  300. "content": "1-2天",
  301. "tips": ""
  302. }
  303. ],
  304. "id": 2090,
  305. "type": 1,
  306. "content": "一般情况下,您平均每周都有几天吃豆类及豆制品?(单选题)"
  307. },
  308. {
  309. "sequence": 18,
  310. "surveyId": 10,
  311. "userAnswers": [
  312. {
  313. "snapshots": [],
  314. "questionId": 2091,
  315. "advice": "",
  316. "id": 10161,
  317. "content": "1-2天",
  318. "tips": ""
  319. }
  320. ],
  321. "id": 2091,
  322. "type": 1,
  323. "content": "一般情况下,您平均每周都有几天吃甜食(甜点,糖果等)?(单选题)"
  324. },
  325. {
  326. "sequence": 19,
  327. "surveyId": 10,
  328. "userAnswers": [
  329. {
  330. "snapshots": [],
  331. "questionId": 2092,
  332. "advice": "",
  333. "id": 10157,
  334. "content": "1-2天",
  335. "tips": ""
  336. }
  337. ],
  338. "id": 2092,
  339. "type": 1,
  340. "content": "一般情况下,您平均每周都有几天吃油炸食品?(单选题)"
  341. },
  342. {
  343. "sequence": 20,
  344. "surveyId": 10,
  345. "userAnswers": [
  346. {
  347. "snapshots": [],
  348. "questionId": 2093,
  349. "advice": "",
  350. "id": 10152,
  351. "content": "3-4天",
  352. "tips": ""
  353. }
  354. ],
  355. "id": 2093,
  356. "type": 1,
  357. "content": "一般情况下,您平均每周都有几天吃腌、熏类食物?(单选题)"
  358. },
  359. {
  360. "sequence": 21,
  361. "surveyId": 10,
  362. "userAnswers": [
  363. {
  364. "snapshots": [],
  365. "questionId": 2094,
  366. "advice": "建议饮食清淡",
  367. "id": 10149,
  368. "content": "略咸",
  369. "tips": ""
  370. }
  371. ],
  372. "id": 2094,
  373. "type": 1,
  374. "content": "您的口味与周围的人相比如何?(单选题)"
  375. },
  376. {
  377. "sequence": 22,
  378. "surveyId": 10,
  379. "userAnswers": [
  380. {
  381. "snapshots": [],
  382. "questionId": 2095,
  383. "advice": "",
  384. "id": 10143,
  385. "content": "不吸",
  386. "tips": ""
  387. }
  388. ],
  389. "id": 2095,
  390. "type": 1,
  391. "content": "您吸烟吗?(单选题)"
  392. },
  393. {
  394. "sequence": 23,
  395. "surveyId": 10,
  396. "userAnswers": [
  397. {
  398. "snapshots": [],
  399. "questionId": 2096,
  400. "advice": "",
  401. "id": 10099,
  402. "content": "否",
  403. "tips": ""
  404. }
  405. ],
  406. "id": 2096,
  407. "type": 1,
  408. "content": "您存在被动吸烟(二手烟)的情况吗?(单选题)"
  409. },
  410. {
  411. "sequence": 25,
  412. "surveyId": 10,
  413. "userAnswers": [
  414. {
  415. "snapshots": [],
  416. "questionId": 2101,
  417. "advice": "",
  418. "id": 10135,
  419. "content": "不喝",
  420. "tips": ""
  421. }
  422. ],
  423. "id": 2101,
  424. "type": 1,
  425. "content": "您喝酒吗?(单选题)"
  426. },
  427. {
  428. "sequence": 26,
  429. "surveyId": 10,
  430. "userAnswers": [
  431. {
  432. "snapshots": [],
  433. "questionId": 2102,
  434. "advice": "建议工作间隙适当活动",
  435. "id": 10132,
  436. "content": "静坐为主(坐着办公几个小时)",
  437. "tips": ""
  438. }
  439. ],
  440. "id": 2102,
  441. "type": 1,
  442. "content": "您从事什么样性质的工作?(单选题)"
  443. },
  444. {
  445. "sequence": 27,
  446. "surveyId": 10,
  447. "userAnswers": [
  448. {
  449. "snapshots": [
  450. {
  451. "sequence": 28,
  452. "surveyId": 10,
  453. "userAnswers": [
  454. {
  455. "snapshots": [],
  456. "questionId": 2104,
  457. "advice": "",
  458. "id": 10130,
  459. "content": "是",
  460. "tips": ""
  461. }
  462. ],
  463. "id": 2104,
  464. "parentAnswerId": 10105,
  465. "type": 1,
  466. "content": "您锻炼时是否出汗?(单选题)"
  467. },
  468. {
  469. "sequence": 29,
  470. "surveyId": 10,
  471. "userAnswers": [
  472. {
  473. "snapshots": [],
  474. "questionId": 2108,
  475. "advice": "",
  476. "id": 10127,
  477. "content": "30-60分钟",
  478. "tips": ""
  479. }
  480. ],
  481. "id": 2108,
  482. "parentAnswerId": 10105,
  483. "type": 1,
  484. "content": "您平均每次持续锻炼的时间是多少分钟?(单选题)"
  485. }
  486. ],
  487. "questionId": 2103,
  488. "advice": "",
  489. "id": 10105,
  490. "content": "3次或以上",
  491. "tips": ""
  492. }
  493. ],
  494. "id": 2103,
  495. "type": 1,
  496. "content": "近年来,您平均每周锻炼多少次?"
  497. },
  498. {
  499. "sequence": 30,
  500. "surveyId": 10,
  501. "userAnswers": [
  502. {
  503. "snapshots": [],
  504. "questionId": 2109,
  505. "advice": "",
  506. "id": 10124,
  507. "content": "不好",
  508. "tips": ""
  509. }
  510. ],
  511. "id": 2109,
  512. "type": 1,
  513. "content": "过去一个月,您的总体睡眠质量如何?(单选题)"
  514. },
  515. {
  516. "sequence": 31,
  517. "surveyId": 10,
  518. "userAnswers": [
  519. {
  520. "snapshots": [],
  521. "questionId": 2110,
  522. "advice": "",
  523. "id": 10120,
  524. "content": "平均每周1-2次",
  525. "tips": ""
  526. }
  527. ],
  528. "id": 2110,
  529. "type": 1,
  530. "content": "过去一个月,您是否要服药才能入睡?(包括医生开的处方和自购药物)(单选题)"
  531. },
  532. {
  533. "sequence": 32,
  534. "surveyId": 10,
  535. "userAnswers": [
  536. {
  537. "snapshots": [],
  538. "questionId": 2111,
  539. "advice": "",
  540. "id": 10113,
  541. "content": "煤矿开采",
  542. "tips": ""
  543. }
  544. ],
  545. "id": 2111,
  546. "type": 1,
  547. "content": "您目前是否从事以下职业1年或以上?(单选题)"
  548. },
  549. {
  550. "sequence": 33,
  551. "surveyId": 10,
  552. "userAnswers": [
  553. {
  554. "snapshots": [],
  555. "questionId": 2112,
  556. "advice": "建议每天按时吃早餐",
  557. "id": 10265,
  558. "content": "1-2天",
  559. "tips": ""
  560. }
  561. ],
  562. "id": 2112,
  563. "type": 1,
  564. "content": "一般情况下,您平均每周都有几天吃早餐(单选题)"
  565. },
  566. {
  567. "sequence": 34,
  568. "surveyId": 10,
  569. "userAnswers": [
  570. {
  571. "snapshots": [],
  572. "questionId": 2113,
  573. "advice": "建议不要吃夜霄",
  574. "id": 10269,
  575. "content": "1-2天",
  576. "tips": ""
  577. }
  578. ],
  579. "id": 2113,
  580. "type": 1,
  581. "content": "一般情况下,您平均每周都有几天吃夜宵?(单选题)"
  582. }
  583. ],
  584. "accountSnapshotVO": {
  585. "accountSurveyId": 4117212,
  586. "surveyId": 10,
  587. "gender": 1,
  588. "printStatus": 0,
  589. "idCard": "451423199501014868",
  590. "mobile": "19200000001",
  591. "name": "anan",
  592. "marriageStatus": 1,
  593. "updateTime": 1593661970000,
  594. "title": "健康自诊评估",
  595. "age": 25
  596. }
  597. },
  598. {
  599. "evaluateReport": {
  600. "accountRiskItems": [],
  601. "advices": []
  602. },
  603. "accountSurveyAnswerSnapshots": [
  604. {
  605. "sequence": 1,
  606. "surveyId": 40,
  607. "userAnswers": [
  608. {
  609. "snapshots": [],
  610. "questionId": 3264,
  611. "advice": "",
  612. "id": 21153,
  613. "content": "否",
  614. "tips": ""
  615. }
  616. ],
  617. "id": 3264,
  618. "type": 1,
  619. "content": "近半个月内,是否接触过野生动物"
  620. },
  621. {
  622. "sequence": 2,
  623. "surveyId": 40,
  624. "userAnswers": [
  625. {
  626. "snapshots": [],
  627. "questionId": 3265,
  628. "advice": "",
  629. "id": 21155,
  630. "content": "否",
  631. "tips": ""
  632. }
  633. ],
  634. "id": 3265,
  635. "type": 1,
  636. "content": "近半个月内,是否有武汉居住史或旅行史"
  637. },
  638. {
  639. "sequence": 3,
  640. "surveyId": 40,
  641. "userAnswers": [
  642. {
  643. "snapshots": [],
  644. "questionId": 3266,
  645. "advice": "",
  646. "id": 21157,
  647. "content": "否",
  648. "tips": ""
  649. }
  650. ],
  651. "id": 3266,
  652. "type": 1,
  653. "content": "近半个月内,是否有武汉人接触史"
  654. },
  655. {
  656. "sequence": 4,
  657. "surveyId": 40,
  658. "userAnswers": [
  659. {
  660. "snapshots": [],
  661. "questionId": 3267,
  662. "advice": "",
  663. "id": 21159,
  664. "content": "否",
  665. "tips": ""
  666. }
  667. ],
  668. "id": 3267,
  669. "type": 1,
  670. "content": "近半个月内,是否有亲友及周围人员发热,或因肺炎而隔离治疗"
  671. },
  672. {
  673. "sequence": 5,
  674. "surveyId": 40,
  675. "userAnswers": [
  676. {
  677. "snapshots": [],
  678. "questionId": 3268,
  679. "advice": "",
  680. "id": 21161,
  681. "content": "否",
  682. "tips": ""
  683. }
  684. ],
  685. "id": 3268,
  686. "type": 1,
  687. "content": "近半个月内,是否有新型冠状病毒感染的肺炎确诊病例接触史"
  688. },
  689. {
  690. "sequence": 6,
  691. "surveyId": 40,
  692. "userAnswers": [
  693. {
  694. "snapshots": [],
  695. "questionId": 3269,
  696. "advice": "",
  697. "id": 21162,
  698. "type": 1,
  699. "content": "无",
  700. "tips": ""
  701. }
  702. ],
  703. "id": 3269,
  704. "type": 2,
  705. "content": "最近半个月是否出现以下症状:"
  706. }
  707. ],
  708. "accountSnapshotVO": {
  709. "accountSurveyId": 4117214,
  710. "surveyId": 40,
  711. "gender": 1,
  712. "printStatus": 0,
  713. "idCard": "451423199501014868",
  714. "mobile": "19200000001",
  715. "name": "anan",
  716. "marriageStatus": 1,
  717. "updateTime": 1593662082000,
  718. "title": "疫情问卷",
  719. "age": 25
  720. }
  721. }
  722. ],
  723. "msg": "success",
  724. "success": "T"
  725. }
返回参数说明:
参数名 类型 说明
success String T成功,F失败
errCode String 错误码,只有失败的时候才有
msg String 描述消息
data List(AccountSurveySnapshotVO) 问卷答题记录集合
AccountSurveySnapshotVO对象说明 (同接口 时间段查询问卷说明

3、获取体检中心问卷信息

请求URL
https://api.mytijian.com/open-api/V2/ws/survey/querySurveyDetailList?accessToken=ACCESS_TOKEN
请求协议:HTTPS
请求方式:POST
需要签名: 否
URL参数:

参数名 是否必须 类型 说明
accessToken string 当前有效的accessToken
POST参数示例
  1. {
  2. "currentPage":1,//当前页
  3. "pageSize":20 //每页展示的问卷数不能大于50
  4. }

正确返回示例:

  1. {
  2. "data": {
  3. "records": [
  4. {
  5. "surveyDetailDto": {
  6. "surveyType": 2,
  7. "isDeleted": 0,
  8. "subTitle": "demo2",
  9. "id": 43,
  10. "title": "西瓜测试2",
  11. "descripe": "嘻嘻嘻嘻嘻",
  12. "resultType": 0
  13. },
  14. "questionDetailDtos": [
  15. {
  16. "sequence": 1,
  17. "mustAnswer": true,
  18. "surveyId": 43,
  19. "answers": [
  20. {
  21. "questionId": 3286,
  22. "advice": "",
  23. "id": 21217,
  24. "childQuestions": [
  25. {
  26. "sequence": 3,
  27. "mustAnswer": true,
  28. "surveyId": 43,
  29. "answers": [
  30. {
  31. "questionId": 1000053,
  32. "advice": "",
  33. "id": 21972,
  34. "content": "油",
  35. "tips": ""
  36. },
  37. {
  38. "questionId": 1000053,
  39. "advice": "",
  40. "id": 21973,
  41. "content": "盐",
  42. "tips": ""
  43. },
  44. {
  45. "questionId": 1000053,
  46. "advice": "",
  47. "id": 21974,
  48. "content": "糖",
  49. "tips": ""
  50. }
  51. ],
  52. "id": 1000053,
  53. "parentAnswerId": 21217,
  54. "type": 1,
  55. "content": "饮食习惯"
  56. }
  57. ],
  58. "content": "是",
  59. "tips": ""
  60. },
  61. {
  62. "questionId": 3286,
  63. "advice": "",
  64. "id": 21218,
  65. "type": 2,
  66. "content": "否",
  67. "tips": ""
  68. }
  69. ],
  70. "id": 3286,
  71. "type": 1,
  72. "content": "是否有糖尿病"
  73. },
  74. {
  75. "sequence": 2,
  76. "mustAnswer": true,
  77. "surveyId": 43,
  78. "answers": [
  79. {
  80. "questionId": 1000046,
  81. "advice": "",
  82. "id": 21970,
  83. "content": "56",
  84. "tips": ""
  85. },
  86. {
  87. "questionId": 1000046,
  88. "advice": "",
  89. "id": 21971,
  90. "type": 2,
  91. "content": "34",
  92. "tips": ""
  93. }
  94. ],
  95. "id": 1000046,
  96. "type": 5,
  97. "content": "今年多少岁"
  98. },
  99. {
  100. "sequence": 4,
  101. "mustAnswer": true,
  102. "surveyId": 43,
  103. "answers": [
  104. {
  105. "questionId": 1000054,
  106. "advice": "",
  107. "id": 21975,
  108. "content": "糖尿病",
  109. "tips": ""
  110. },
  111. {
  112. "questionId": 1000054,
  113. "advice": "",
  114. "id": 21976,
  115. "content": "高血压",
  116. "tips": ""
  117. },
  118. {
  119. "questionId": 1000054,
  120. "advice": "",
  121. "id": 21977,
  122. "type": 2,
  123. "content": "脑卒中",
  124. "tips": ""
  125. },
  126. {
  127. "questionId": 1000054,
  128. "advice": "",
  129. "id": 21978,
  130. "type": 2,
  131. "content": "高血脂",
  132. "tips": ""
  133. }
  134. ],
  135. "id": 1000054,
  136. "type": 1,
  137. "content": "可存在的疾病"
  138. },
  139. {
  140. "sequence": 7,
  141. "mustAnswer": true,
  142. "surveyId": 43,
  143. "answers": [
  144. {
  145. "questionId": 1000059,
  146. "advice": "",
  147. "id": 21982,
  148. "childQuestions": [
  149. {
  150. "sequence": 8,
  151. "mustAnswer": true,
  152. "surveyId": 43,
  153. "id": 1000060,
  154. "parentAnswerId": 21982,
  155. "type": 3,
  156. "content": "糖尿病类型"
  157. }
  158. ],
  159. "content": "糖尿病",
  160. "tips": ""
  161. },
  162. {
  163. "questionId": 1000059,
  164. "advice": "",
  165. "id": 21983,
  166. "content": "高血压",
  167. "tips": ""
  168. },
  169. {
  170. "questionId": 1000059,
  171. "advice": "",
  172. "id": 21984,
  173. "content": "低血糖",
  174. "tips": ""
  175. }
  176. ],
  177. "id": 1000059,
  178. "type": 2,
  179. "content": "过往病史"
  180. }
  181. ]
  182. }
  183. ],
  184. "page": {
  185. "offset": 0,
  186. "pageSize": 5,
  187. "rowCount": 43,
  188. "currentPage": 8,
  189. "countMethod": "Count"
  190. }
  191. },
  192. "msg": "success",
  193. "success": "T"
  194. }
返回参数说明:
参数名 类型 说明
success String T成功,F失败
msg String 描述消息
errCode String 错误码,只有失败的时候才有
data List(SyncMealParam) 单位集合
PageView对象说明
参数名 是否必须 类型 说明
page Page 分页参数对象
records List(Map) 问卷集合
page对象说明
参数名 是否必须 类型 说明
offset int 偏移量
pageSize int 每页显示的条数
currentPage int 当前页码
rowCount int 总条数
countMethod string 计数方法
surveyDetailDto对象说明
参数名 是否必须 类型 说明
id int 编号
isDeleted int 0有效,1无效
title string 标题
subTitle string 副标题
descripe string 描述
pic string 图片
resultType int 0 没分 1 有分 2 中医问卷调查
surveyName string 问卷名
surveyType int 问卷类型
preface string 问卷前言
conclusion string 问卷结尾
questionDetailDto对象说明
参数名 是否必须 类型 说明
id int 编号
surveyId int 问卷ID
sequence int 题目顺序
content string 题目
parentAnswerId int 父亲答案,答案可以有1到多个子问题
type int 题目类型 1.单选 2 多选 3.文本 4.评分
answers List 答案
mustAnswer boolean 是否必填(0:非必填,1:必填)
Answer对象说明
参数名 是否必须 类型 说明
id int 编号
content string 内容
parentId int 父答案编号
childquesId int 子答案编号
questionId int 所属问题
score int 每个答案的分数
tips string 问题提示
advice string 建议
type int 问题类型,1表示唯一

4、获取作答问卷的用户记录列表

https://api.mytijian.com/open-api/V2/ws/survey/listAccountSurveyRecord?accessToken=ACCESS_TOKEN
请求协议:HTTPS
请求方式:POST
需要签名: 否
URL参数:

参数名 是否必须 类型 说明
accessToken string 当前有效的accessToken
POST参数示例
  1. {
  2. "name": "胡文刚",
  3. "idCard": "330726198510163913",
  4. "mobile": "13588152017",
  5. "startTime": "2022-04-24",
  6. "endTime": "2022-04-24",
  7. "currentPage": 1,
  8. "pageSize": 10
  9. }
请求参数说明:
参数名 是否必须 类型 说明
name string 评估人名称
idCard string 评估人身份证
mobile string 评估人手机号
startTime string 开始时间 格式yyyy-MM-dd
endTime string 结束时间 格式yyyy-MM-dd
currentPage int 当前页
pageSize int 每页显示的条数

正确返回示例:

  1. {
  2. "data":{
  3. "records":[
  4. {
  5. "accountSurveyId":6372186,
  6. "surveyId":10,
  7. "gender":0,
  8. "accountSurveyLink":"https://crm.mytijian.com/public/questionnaire.html?accountSurveyEncryptId=SuBRfpjxH1J4W1L3gE3reg%3D%3D",
  9. "printStatus":0,
  10. "idCard":"330726198510163913",
  11. "mobile":"13588152017",
  12. "name":"胡文刚",
  13. "marriageStatus":1,
  14. "updateTime":1650606078000,
  15. "title":"健康自诊评估",
  16. "age":36,
  17. "orderNum": "20221207130635146499490"
  18. }
  19. ],
  20. "page":{
  21. "offset":0,
  22. "pageSize":10,
  23. "rowCount":1,
  24. "currentPage":1,
  25. "countMethod":"Count"
  26. }
  27. },
  28. "msg":"success",
  29. "success":"T"
  30. }
返回参数说明:
参数名 类型 说明
success String T成功,F失败
msg String 描述消息
errCode String 错误码,只有失败的时候才有
data PageView 分页查询对象
PageView对象说明
参数名 是否必须 类型 说明
page Page 分页参数对象
records List< AccountSurveyRecordDTO > 用户答题记录集合
page对象说明
参数名 是否必须 类型 说明
offset int 偏移量
pageSize int 每页显示的条数
currentPage int 当前页码
rowCount int 总条数
countMethod string 计数方法
AccountSurveyRecordDTO 对象说明
参数名 是否必须 类型 说明
accountSurveyId int 用户答题记录ID
surveyId int 问卷id
gender int 评估人的性别 :0 男,1 女
accountSurveyLink String 答题详情链接
printStatus int 打印状态(0:未打印,1:已打印)
idCard String 评估人身份证号
mobile String 评估人手机号
name String 评估人名称
marriageStatus int 评估人的婚姻状态: 0 未婚 ,1 已婚
updateTime int 答题时间
title String 标题
age int 年龄
orderNum String 订单号

5、查询用户问卷记录答题信息详情

https://api.mytijian.com/open-api/V2/ws/survey/listAccountSurveySnapshotDetail?accessToken=ACCESS_TOKEN
请求协议:HTTPS
请求方式:POST
需要签名: 否
URL参数:

参数名 是否必须 类型 说明
accessToken string 当前有效的accessToken
POST参数示例
  1. {
  2. "accountSurveyIds":[4132304,4132299]
  3. }
请求参数说明:
参数名 是否必须 类型 说明
accountSurveyIds List 用户问卷记录id列表

正确返回示例:

  1. {
  2. "data": [
  3. {
  4. "accountSurveyAnswerSnapshots": [
  5. {
  6. "sequence": 1,
  7. "surveyId": 312,
  8. "userAnswers": [
  9. {
  10. "snapshots": [],
  11. "questionId": 1005920,
  12. "advice": "",
  13. "id": 46362,
  14. "content": "A",
  15. "tips": "",
  16. "chosen": true
  17. }
  18. ],
  19. "id": 1005920,
  20. "type": 1,
  21. "content": "单选1"
  22. },
  23. {
  24. "sequence": 2,
  25. "surveyId": 312,
  26. "userAnswers": [
  27. {
  28. "snapshots": [],
  29. "questionId": 1005921,
  30. "advice": "",
  31. "id": 46364,
  32. "content": "A",
  33. "tips": "",
  34. "chosen": true
  35. }
  36. ],
  37. "id": 1005921,
  38. "type": 2,
  39. "content": "多选2"
  40. },
  41. {
  42. "sequence": 3,
  43. "surveyId": 312,
  44. "userAnswers": [
  45. {
  46. "snapshots": [],
  47. "questionId": 1005922,
  48. "advice": "",
  49. "id": 46367,
  50. "content": "B",
  51. "tips": "",
  52. "chosen": true
  53. }
  54. ],
  55. "id": 1005922,
  56. "type": 1,
  57. "content": "单选3"
  58. }
  59. ],
  60. "accountSnapshotVO": {
  61. "accountSurveyId": 4132304,
  62. "addAccountType": "idCard",
  63. "surveyType": 2,
  64. "finishTime": 1677555390000,
  65. "surveyId": 312,
  66. "gender": 0,
  67. "printStatus": 0,
  68. "idCard": "320323199809123053",
  69. "mobile": "13917141743",
  70. "orderNum": "20230227222239125999090",
  71. "marriageStatus": 0,
  72. "updateTime": 1677555390000,
  73. "title": "调试问卷016copy",
  74. "accountId": 700246,
  75. "name": "孟紫阳",
  76. "age": 24
  77. }
  78. }
  79. ],
  80. "msg": "success",
  81. "success": "T"
  82. }
返回参数说明:
参数名 类型 说明
success String T成功,F失败
errCode String 错误码,只有失败的时候才有
msg String 描述消息
data List(AccountSurveySnapshotVO) 问卷答题记录集合
AccountSurveySnapshotVO对象说明 (同接口 时间段查询问卷说明

6、体检编号查询答题记录

https://api.mytijian.com/open-api/V2/ws/survey/listAccountSurveyByExamCode?accessToken=ACCESS_TOKEN
请求协议:HTTPS
请求方式:POST
需要签名: 否
URL参数:

参数名 是否必须 类型 说明
accessToken string 当前有效的accessToken
POST参数示例
  1. {
  2. "examCode":"r2332343"
  3. "currentPage":1,
  4. "pageSize":20
  5. }
请求参数说明:
参数名 是否必须 类型 说明
examCode String 体检编号
currentPage int 当前页
pageSize int 每页显示的条数

正确返回示例:

  1. {
  2. "data": {
  3. "page": {
  4. "countMethod": "Count",
  5. "currentPage": 1,
  6. "offset": 0,
  7. "pageSize": 50,
  8. "rowCount": 3
  9. },
  10. "records": [
  11. {
  12. "accountSurveyId": 4143414,
  13. "age": 25,
  14. "gender": 0,
  15. "idCard": "320323189809128952",
  16. "marriageStatus": 0,
  17. "name": "15",
  18. "printStatus": 0,
  19. "surveyId": 1491,
  20. "title": "知情同意疫情问卷",
  21. "updateTime": 1727057882000
  22. }
  23. ]
  24. },
  25. "msg": "success",
  26. "success": "T"
  27. }
返回参数说明:
参数名 类型 说明
success String T成功,F失败
errCode String 错误码,只有失败的时候才有
msg String 描述消息
records List(AccountSurveyRecordDTO) 问卷答题记录集合
参数名 是否必须 类型 说明
accountSurveyId int 用户答题记录ID
surveyId int 问卷id
gender int 评估人的性别 :0 男,1 女
accountSurveyLink String 答题详情链接
printStatus int 打印状态(0:未打印,1:已打印)
idCard String 评估人身份证号
mobile String 评估人手机号
name String 评估人名称
marriageStatus int 评估人的婚姻状态: 0 未婚 ,1 已婚
updateTime int 答题时间
title String 标题
age int 年龄
orderNum String 订单号
examCode String 体检编号
文档更新时间: 2024-10-16 17:52