public class WxCpOaCalendarServiceImpl extends Object implements WxCpOaCalendarService
构造器和说明 |
---|
WxCpOaCalendarServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
String |
add(WxCpOaCalendar calendar)
创建日历.
|
void |
delete(String calId)
删除日历.
|
List<WxCpOaCalendar> |
get(List<String> calIds)
获取日历.
|
void |
update(WxCpOaCalendar calendar)
更新日历.
|
public String add(WxCpOaCalendar calendar) throws WxErrorException
WxCpOaCalendarService
该接口用于通过应用在企业内创建一个日历。 注: 企业微信需要更新到3.0.2及以上版本 请求方式: POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/add?access_token=ACCESS_TOKEN 文档地址:https://work.weixin.qq.com/api/doc/90000/90135/92618
add
在接口中 WxCpOaCalendarService
calendar
- 日历对象WxErrorException
- .public void update(WxCpOaCalendar calendar) throws WxErrorException
WxCpOaCalendarService
该接口用于修改指定日历的信息。 注意,更新操作是覆盖式,而不是增量式 企业微信需要更新到3.0.2及以上版本 请求方式: POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/update?access_token=ACCESS_TOKEN 文档地址:https://work.weixin.qq.com/api/doc/90000/90135/92619
update
在接口中 WxCpOaCalendarService
calendar
- 日历对象WxErrorException
- .public List<WxCpOaCalendar> get(List<String> calIds) throws WxErrorException
WxCpOaCalendarService
该接口用于获取应用在企业内创建的日历信息。 注: 企业微信需要更新到3.0.2及以上版本 请求方式: POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/get?access_token=ACCESS_TOKEN 文档地址:https://work.weixin.qq.com/api/doc/90000/90135/92621
get
在接口中 WxCpOaCalendarService
calIds
- 日历id列表WxErrorException
- .public void delete(String calId) throws WxErrorException
WxCpOaCalendarService
该接口用于删除指定日历。 注: 企业微信需要更新到3.0.2及以上版本 请求方式: POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/oa/calendar/del?access_token=ACCESS_TOKEN 文档地址:https://work.weixin.qq.com/api/doc/90000/90135/92620
delete
在接口中 WxCpOaCalendarService
calId
- 日历idWxErrorException
- .Copyright © 2024. All rights reserved.