获取学生健康信息
POST
/cgi-bin/school/user/get_student_customize_health_info
服务端API企业内部开发
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90135/93745
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/school/user/get_student_customize_health_info?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"date":"2020-03-27","next_key":"NEXT_KEY","limit":100}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"health_infos": [
{
"userid": "zhangsan",
"health_qrcode_status": 1,
"self_submit": 2,
"report_values": [
{
"question_id": 1,
"single_chose": 1
},
{
"question_id": 2,
"text": "浑身难受"
}
]
},
{
"userid": "lisi",
"health_qrcode_status": 2,
"self_submit": 1,
"report_values": [
{
"question_id": 1,
"single_chose": 2
}
]
}
],
"question_templates": [
{
"question_id": 1,
"title": "请问你有任何身体不适吗?",
"question_type": 2,
"is_must_fill": 1,
"is_not_display": 2,
"option_list": [
{
"option_id": 1,
"option_text": "有"
},
{
"option_id": 2,
"option_text": "没有"
}
]
},
{
"question_id": 2,
"title": "具体哪里不适?(第一题为没有的可以不答)",
"question_type": 1,
"is_must_fill": 2,
"is_not_display": 2
}
],
"template_id": "XXXXXXXXXXXXXXXXX",
"ending": 1,
"next_key": "NEXT_KEY"
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json