更新日程
更新日程,当 calendar_id = primary 时, 操作的是主日历下的数据
标签:日程
请求说明
字段 | 值 |
---|---|
请求地址 | https://openapi.wps.cn/v7/calendars/{calendar_id}/events/{event_id}/update |
HTTP 方法 | POST |
接口描述 | 修改日程,当 calendar_id = primary 时, 操作的是主日历下的数据 |
签名方式 | KSO-1 |
限频策略 | 无 |
权限要求 | 查询和管理日程信息(应用授权) kso.calendar_events.readwrite 查询和管理日程信息(用户授权) kso.calendar_events.readwrite |
路径参数 (Path)
属性名 | 类型 | 是否必填 | 描述 | 可选值 |
---|---|---|---|---|
calendar_id | string | 是 | 日历id,可从日历列表、主日历详情获取,或使用primary指代用户的主日历 | - |
event_id | string | 是 | 日程id,可从日程列表获取 | - |
请求体(Body)
请求体格式: application/json
没有可用的数据
请求体示例
json
{
"attendee_ability": "can_see_others",
"calendar_id": "string",
"description": "string",
"end_time": {
"date": "string",
"datetime": "string"
},
"free_busy_status": "busy",
"is_reinvition": true,
"locations": [
{
"name": "string"
}
],
"need_notification": true,
"online_meeting": {
"description": "string",
"provider": "kso",
"url": "string"
},
"recurrence": {
"by_day": [
"string"
],
"by_month": [
0
],
"by_month_day": [
0
],
"count": 0,
"exdate": [
{
"date": "string",
"datetime": "string"
}
],
"freq": "YEARLY",
"interval": 0,
"until_date": {
"date": "string",
"datetime": "string"
}
},
"reminders": [
{
"minutes": 0
}
],
"start_time": {
"date": "string",
"datetime": "string"
},
"summary": "string",
"visibility": "default"
}
响应体(Response)
HTTP状态码: 200
响应体格式: application/json
没有可用的数据
响应体示例
json
{
"code": 0,
"msg": "string"
}