public interface WxCpSchoolHealthService
| 限定符和类型 | 方法和说明 | 
|---|---|
| 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)获取健康上报任务详情
 通过此接口可以获取指定的健康上报任务详情。 | 
WxCpGetHealthReportStat getHealthReportStat(@NonNull @NonNull String date) throws WxErrorException
date - 具体某天的使用统计,最长支持获取30天前数据WxErrorException - the wx error exceptionWxCpGetReportJobIds getReportJobIds(Integer offset, Integer limit) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/health/get_report_jobids?access_token=ACCESS_TOKEN
offset - 否       分页,偏移量, 默认为0limit - 否       分页,预期请求的数据量,默认为100,取值范围 1 ~ 100WxErrorException - the wx error exceptionWxCpGetReportJobInfo getReportJobInfo(@NonNull @NonNull String jobId, @NonNull @NonNull String date) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/health/get_report_job_info?access_token=ACCESS_TOKEN
jobId - 是       任务IDdate - 是       具体某天任务详情,仅支持获取最近14天数据WxErrorException - the wx error exceptionWxCpGetReportAnswer getReportAnswer(@NonNull @NonNull String jobId, @NonNull @NonNull String date, Integer offset, Integer limit) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/health/get_report_answer?access_token=ACCESS_TOKEN
jobId - the job iddate - the dateoffset - the offsetlimit - the limitWxErrorException - the wx error exceptionCopyright © 2024. All rights reserved.