- 快速入门
- 开发指南
- 通讯录管理
- 客户联系
- 客户管理
- 客户标签管理
- 联系我与客户入群方式
- 客户朋友圈
- 微信客服
- 接待人员管理
- 家校沟通
- 网页授权登录
- 应用管理
- 消息推送
- OA
- 效率工具
- 企业支付
- 上下游
- 会话内容存档
- 家校应用
- 政民沟通
获取用户填写答案
POST
http://127.0.0.1/cgi-bin/health/get_report_answer
企业内部开发/家校应用/健康上报
最后修改时间:2022-08-30 03:03:36
责任人:未设置
原文档地址:
https://open.work.weixin.qq.com/api/doc/92754
https://open.work.weixin.qq.com/api/doc/90000/90135/93679
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
date
string
必需
jobid
string
任务ID
offset
integer <int32>
数据偏移量
limit
integer <int32>
拉取的数据量
示例
{
"jobid": "jobid1",
"date": "2020-03-27",
"offset": 0,
"limit": 100
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://127.0.0.1/cgi-bin/health/get_report_answer?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"jobid": "jobid1",
"date": "2020-03-27",
"offset": 0,
"limit": 100
}'
返回响应
🟢200成功
application/json
Body
errcode
integer <int32>
返回码
answers
array [object {5}]
答案列表
student_userid
string
可选
report_values
array [object {2}]
可选
parent_userid
string
可选
id_type
integer <int32>
可选
userid
string
必需
errmsg
string
可选
示例
{
"errcode": 0,
"errmsg": "ok",
"answers": [
{
"id_type": 1,
"userid": "userid2",
"report_values": [
{
"question_id": 1,
"single_choice": 2
},
{
"question_id": 2,
"text": "广东省广州市"
},
{
"question_id": 3,
"multi_choice": [
1,
3
]
},
{
"question_id": 4,
"fileid": [
"XXXXXXX"
]
}
]
},
{
"id_type": 2,
"student_userid": "student_userid1",
"parent_userid": "parent_userid1",
"report_values": [
{
"question_id": 1,
"single_choice": 1
},
{
"question_id": 2,
"text": "广东省深圳市"
},
{
"question_id": 3,
"multi_choice": [
1,
2,
3
]
},
{
"question_id": 4,
"fileid": [
"XXXXXXX"
]
}
]
}
]
}
