- 快速入门
- 开发指南
- 通讯录管理
- 客户联系
- 客户管理
- 客户标签管理
- 联系我与客户入群方式
- 客户朋友圈
- 微信客服
- 接待人员管理
- 家校沟通
- 网页授权登录
- 应用管理
- 消息推送
- OA
- 效率工具
- 企业支付
- 上下游
- 会话内容存档
- 家校应用
- 政民沟通
获取健康上报任务详情
POST
http://127.0.0.1/cgi-bin/health/get_report_job_info
企业内部开发/家校应用/健康上报
最后修改时间:2022-08-30 03:03:36
责任人:未设置
原文档地址:
https://open.work.weixin.qq.com/api/doc/92751
https://open.work.weixin.qq.com/api/doc/90000/90135/93678
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
date
string
具体某天任务详情
jobid
string
任务ID
示例
{
"jobid": "jobid1",
"date": "2020-03-27"
}
示例代码
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_job_info?access_token={{accesstoken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"jobid": "jobid1",
"date": "2020-03-27"
}'
返回响应
🟢200成功
application/json
Body
errcode
integer <int32>
返回码
job_info
object
可选
creator
string
可选
skip_weekend
integer <int32>
可选
report_to
object
可选
apply_range
object
适用范围
finish_cnt
integer <int32>
已填表人数
report_type
integer <int32>
可选
title
string
任务名称
type
integer <int32>
可选
question_templates
array [object {4}]
健康上报问题列表
errmsg
string
可选
示例
{
"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
}
]
}
}

修改于 2022-08-30 03:03:36