public interface ScheduleApi
Modifier and Type | Method and Description |
---|---|
GenericResponse<String> |
add(ScheduleAddRequest request)
创建日程
|
WeComResponse |
addAttendees(ScheduleAttendees attendees)
新增日程参与者
|
WeComResponse |
del(ScheduleDelRequest request)
取消日程
|
WeComResponse |
delAttendees(ScheduleAttendees attendees)
删除日程参与者
|
ScheduleDetailResponse |
get(ScheduleDetailRequest request)
获取日程详情
|
ScheduleDetailResponse |
getByCalendar(ScheduleCalendarQuery query)
获取日历下的日程列表
|
GenericResponse<String> |
update(ScheduleUpdateRequest request)
更新日程
|
@POST(value="oa/schedule/add") GenericResponse<String> add(@Body ScheduleAddRequest request) throws WeComException
request
- the requestWeComException
- the weComException@POST(value="oa/schedule/update") GenericResponse<String> update(@Body ScheduleUpdateRequest request) throws WeComException
request
- the requestWeComException
- the weComException@POST(value="oa/schedule/add_attendees") WeComResponse addAttendees(@Body ScheduleAttendees attendees) throws WeComException
attendees
- the attendeesWeComException
- the weComException@POST(value="oa/schedule/del_attendees") WeComResponse delAttendees(@Body ScheduleAttendees attendees) throws WeComException
attendees
- the attendeesWeComException
- the weComException@POST(value="oa/schedule/get") ScheduleDetailResponse get(@Body ScheduleDetailRequest request) throws WeComException
request
- the requestWeComException
- the weComException@POST(value="oa/schedule/del") WeComResponse del(@Body ScheduleDelRequest request) throws WeComException
request
- the requestWeComException
- the weComException@POST(value="oa/schedule/get_by_calendar") ScheduleDetailResponse getByCalendar(@Body ScheduleCalendarQuery query) throws WeComException
query
- the queryWeComException
- the weComExceptionCopyright © 2025. All rights reserved.