我正在尝试从Graph API beta(https://graph.microsoft.com/beta/me/outlook/task)获取Outlook任务 . 它基本上可以工作,但我的Outlook.com帐户中的任务不会再次出现 . 这适用于我的Office 365帐户 .
以下是Office 365的示例:
"recurrence": {
"pattern": {
"type": "absoluteYearly",
"interval": 1,
"month": 12,
"dayOfMonth": 11,
"firstDayOfWeek": "sunday",
"index": "first"
},
"range": {
"type": "noEnd",
"startDate": "2018-12-11",
"endDate": "0001-01-01",
"recurrenceTimeZone": "UTC",
"numberOfOccurrences": 0
}
}
这里是Outlook.com的一个例子,我实际上得到了两个相同的定期任务的实例,一个是过去的dueDateTime,另一个是inte future:
"recurrence": null,
我也尝试使用Outlook任务REST API(https://outlook.office.com/api/v2.0/me/tasks),这似乎已被弃用,结果完全相同 .