Reputation: 167
After I've 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 to identify this canceled event?
Upvotes: 0
Views: 1110
Reputation: 31
I just tried
https://graph.microsoft.com/v1.0/Users/xx/Calendar/Events/xx/instances
?startDateTime=2020-02-17&endDateTime=2020-03-01&isCancelled=true
and what came back are all the non-cancelled events... Ditto isCancelled=false so the query is kind of working.
leaving off the &isCancelled=xx parameter returns all the events with the isCancelled attribute set to false for everything.
Upvotes: 0
Reputation: 5322
In the events properties you will find a "IsCancelled" property you can leverage to filter events out.
Upvotes: 2