如何在 Microsoft Graph REST API 中识别已取消的事件?

How to identify a canceled event in Microsoft Graph REST API?

在我 canceled an event, I couldn't list it at List events anymore. But it still displaying to end user as subject "Canceled: User subject event". How can I use List events 确定这个已取消的活动之后?

events properties 中,您会找到一个 "IsCancelled" 属性,您可以利用它来过滤事件。

我刚试过

https://graph.microsoft.com/v1.0/Users/xx/Calendar/Events/xx/instances
?startDateTime=2020-02-17&endDateTime=2020-03-01&isCancelled=true

返回的是所有未取消的事件...同上 isCancelled=false 所以查询有点工作。

离开 &isCancelled=xx 参数 returns 所有事件的 isCancelled 属性都设置为 false。