public class WxCpSchoolHealthServiceImpl extends Object implements WxCpSchoolHealthService
构造器和说明 |
---|
WxCpSchoolHealthServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
WxCpGetHealthReportStat |
getHealthReportStat(@NonNull String date)
获取健康上报使用统计
请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/health/get_health_report_stat?
|
WxCpGetReportAnswer |
getReportAnswer(@NonNull String jobId,
@NonNull String date,
Integer offset,
Integer limit)
获取用户填写答案
通过此接口可以获取指定的健康上报任务详情。
|
WxCpGetReportJobIds |
getReportJobIds(Integer offset,
Integer limit)
获取健康上报任务ID列表
通过此接口可以获取企业当前正在运行的上报任务ID列表。
|
WxCpGetReportJobInfo |
getReportJobInfo(@NonNull String jobId,
@NonNull String date)
获取健康上报任务详情
通过此接口可以获取指定的健康上报任务详情。
|
public WxCpGetHealthReportStat getHealthReportStat(@NonNull @NonNull String date) throws WxErrorException
WxCpSchoolHealthService
getHealthReportStat
在接口中 WxCpSchoolHealthService
date
- 具体某天的使用统计,最长支持获取30天前数据WxErrorException
public WxCpGetReportJobIds getReportJobIds(Integer offset, Integer limit) throws WxErrorException
WxCpSchoolHealthService
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/health/get_report_jobids?access_token=ACCESS_TOKEN
getReportJobIds
在接口中 WxCpSchoolHealthService
offset
- 否 分页,偏移量, 默认为0limit
- 否 分页,预期请求的数据量,默认为100,取值范围 1 ~ 100WxErrorException
public WxCpGetReportJobInfo getReportJobInfo(@NonNull @NonNull String jobId, @NonNull @NonNull String date) throws WxErrorException
WxCpSchoolHealthService
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/health/get_report_job_info?access_token=ACCESS_TOKEN
getReportJobInfo
在接口中 WxCpSchoolHealthService
jobId
- 是 任务IDdate
- 是 具体某天任务详情,仅支持获取最近14天数据WxErrorException
public WxCpGetReportAnswer getReportAnswer(@NonNull @NonNull String jobId, @NonNull @NonNull String date, Integer offset, Integer limit) throws WxErrorException
WxCpSchoolHealthService
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/health/get_report_answer?access_token=ACCESS_TOKEN
getReportAnswer
在接口中 WxCpSchoolHealthService
WxErrorException
Copyright © 2022. All rights reserved.