public interface WxCpSchoolService
权限说明: 仅复学码应用可以调用
限定符和类型 | 方法和说明 |
---|---|
WxCpLivingResult |
deleteReplayData(String livingId)
删除直播回放
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/living/delete_replay_data?
|
WxCpResultList |
getHealthQrCode(List<String> userIds,
Integer type)
获取师生健康码
请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/user/get_health_qrcode?
|
WxCpSchoolLivingInfo |
getLivingInfo(String livingId)
获取直播详情
请求方式:GET(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/living/get_living_info?
|
WxCpPaymentResult |
getPaymentResult(String paymentId)
获取学生付款结果
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/school/get_payment_result?
|
WxCpCustomizeHealthInfo |
getStudentCustomizeHealthInfo(String date,
String nextKey,
Integer limit)
获取学生健康信息
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/school/user/get_student_customize_health_info?
|
WxCpCustomizeHealthInfo |
getTeacherCustomizeHealthInfo(String date,
String nextKey,
Integer limit)
获取老师健康信息
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/school/user/get_teacher_customize_health_info?
|
WxCpTrade |
getTrade(String paymentId,
String tradeNo)
获取订单详情
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/school/get_trade?
|
WxCpSchoolUnwatchStat |
getUnwatchStat(String livingId,
String nextKey)
获取未观看直播统计
通过该接口可以获取未观看直播的学生统计,学生的家长必须是已经关注「学校通知」才会纳入统计范围。
|
WxCpLivingResult.LivingIdResult |
getUserAllLivingId(String userId,
String cursor,
Integer limit)
获取老师直播ID列表
通过此接口可以获取指定老师的所有直播ID
请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/living/get_user_all_livingid?
|
WxCpSchoolWatchStat |
getWatchStat(String livingId,
String nextKey)
获取观看直播统计
通过该接口可以获取所有观看直播的人员统计
请求方式:POST(HTTPS)
请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/living/get_watch_stat?
|
WxCpCustomizeHealthInfo getTeacherCustomizeHealthInfo(String date, String nextKey, Integer limit) throws WxErrorException
date
- the datenextKey
- the next keylimit
- the limitWxErrorException
- the wx error exceptionWxCpCustomizeHealthInfo getStudentCustomizeHealthInfo(String date, String nextKey, Integer limit) throws WxErrorException
date
- the datenextKey
- the next keylimit
- the limitWxErrorException
- the wx error exceptionWxCpResultList getHealthQrCode(List<String> userIds, Integer type) throws WxErrorException
userIds
- the user idstype
- the typeWxErrorException
- the wx error exceptionWxCpPaymentResult getPaymentResult(String paymentId) throws WxErrorException
paymentId
- the payment idWxErrorException
- the wx error exceptionWxCpTrade getTrade(String paymentId, String tradeNo) throws WxErrorException
paymentId
- the payment idtradeNo
- the trade noWxErrorException
- the wx error exceptionWxCpSchoolLivingInfo getLivingInfo(String livingId) throws WxErrorException
livingId
- the living idWxErrorException
- the wx error exceptionWxCpLivingResult.LivingIdResult getUserAllLivingId(String userId, String cursor, Integer limit) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/living/get_user_all_livingid?access_token=ACCESS_TOKEN
userId
- the user idcursor
- the cursorlimit
- the limitWxErrorException
- the wx error exceptionWxCpSchoolWatchStat getWatchStat(String livingId, String nextKey) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/living/get_watch_stat?access_token=ACCESS_TOKEN
livingId
- the living idnextKey
- the next keyWxErrorException
- the wx error exceptionWxCpSchoolUnwatchStat getUnwatchStat(String livingId, String nextKey) throws WxErrorException
请求方式:POST(HTTPS) 请求地址:https://qyapi.weixin.qq.com/cgi-bin/school/living/get_unwatch_stat?access_token=ACCESS_TOKEN
livingId
- the living idnextKey
- the next keyWxErrorException
- the wx error exceptionWxCpLivingResult deleteReplayData(String livingId) throws WxErrorException
livingId
- the living idWxErrorException
- the wx error exceptionCopyright © 2024. All rights reserved.