- Overview of OpenAPI
- SlackOpenAPI
- ShopifyOpenAPI
- GithubAPI
- DiscordOpenAPI
- 历史文档(不推荐)
- 开发钉钉应用
- 服务端API
- 新版服务端API(DingTalk OpenAPI)
- 生态伙伴API
获取老师健康信息
POST
http://127.0.0.1/cgi-bin/school/user/get_teacher_customize_health_info
企业内部开发/家校应用/复学码
最后修改时间:2022-08-30 03:03:36
责任人:未设置
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90135/93744
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
date
string
必需
next_key
string
可选
limit
integer <int32>
可选
示例
{
"date": "2020-03-27",
"next_key": "NEXT_KEY",
"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/school/user/get_teacher_customize_health_info?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"date": "2020-03-27",
"next_key": "NEXT_KEY",
"limit": 100
}'
返回响应
🟢200成功
application/json
Body
errcode
integer <int32>
返回码
ending
integer <int32>
可选
health_infos
array [object {4}]
可选
report_values
array [object {3}]
可选
self_submit
integer <int32>
可选
health_qrcode_status
integer <int32>
可选
userid
string
可选
next_key
string
可选
errmsg
string
可选
template_id
string
可选
question_templates
array [object {6}]
可选
is_not_display
integer <int32>
可选
is_must_fill
integer <int32>
可选
question_type
integer <int32>
可选
title
string
可选
question_id
integer <int32>
可选
option_list
array [object {2}]
必需
示例
{
"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"
}
