我正在 Outlook 日历中创建一个具有重复周期的事件,并希望通过 API 检索其完整规范。
例如,该事件在一年的每个周末重复。但是,我从时间线中删除了一些周末,为重复规则创建了一个例外。
如何通过 API 获取这些排除的日期?当我收到来自 Outlook 日历 API 的事件响应时,我找不到包含排除日期的条目。
来自 Outlook 日历 API 的重复响应:
"recurrence": {
"pattern": {
"type": "weekly",
"interval": 1,
"month": 0,
"dayOfMonth": 0,
"daysOfWeek": [
"saturday",
"sunday"
],
"firstDayOfWeek": "monday",
"index": "first"
},
"range": {
"type": "endDate",
"startDate": "2017-08-19",
"endDate": "2018-01-30",
"recurrenceTimeZone": "FLE Standard Time",
"numberOfOccurrences": 0
}
},