获取健康上报任务详情
POST
/cgi-bin/health/get_report_job_info
服务端API企业内部开发
原文档地址:
https://open.work.weixin.qq.com/api/doc/92751
https://open.work.weixin.qq.com/api/doc/90000/90135/93678
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/health/get_report_job_info?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"jobid":"jobid1","date":"2020-03-27"}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"job_info": {
"title": "职工收集任务",
"creator": "creator_userid",
"type": 1,
"apply_range": {
"userids": [
"userid1",
"userid2"
],
"partyids": [
1,
2
]
},
"report_to": {
"userids": [
"userid1",
"userid2"
]
},
"report_type": 1,
"skip_weekend": 0,
"finish_cnt": 10,
"question_templates": [
{
"question_id": 1,
"title": "请问你有任何身体不适吗?",
"question_type": 2,
"is_required": 1,
"option_list": [
{
"option_id": 1,
"option_text": "有"
},
{
"option_id": 2,
"option_text": "没有"
}
]
},
{
"question_id": 2,
"title": "常驻地址",
"question_type": 1,
"is_required": 0
}
]
}
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:45