Forum Discussion
finrodFelagund
May 20, 2021Copper Contributor
Receiving notification for deleted non series-master events
Hello, Is it possible to have an information about a deleted occurrence in a series, using the Graph API ? Or is the only solution to retrieve the series-master, fetch all occurrences and find ...
Allen
Community Manager
May 21, 2021Hi,
Sorry which product does this relate to?
Sorry which product does this relate to?
- finrodFelagundMay 22, 2021Copper ContributorThis relates to the Microsoft Graph API. In particular to following issue.
1) I subscribe to receive event resource notifications (https://docs.microsoft.com/en-us/graph/api/resources/webhooks?view=graph-rest-1.0).
2) I create a repeating appointment in Outlook.
3) I remove one of the recurrences.
4) I receive a notification for the series master event that an update occurred.
5) If I call the /instances endpoint (https://docs.microsoft.com/en-us/graph/api/event-list-instances?view=graph-rest-1.0&tabs=http) to see what the update is about, I cannot see that removed event as an exception. Simply it is removed from the response.
So the only solutions seems to be to save all the occurrences on our end and than if an update happens to compare them one by one with the occurrences in the instances response and see which occurrence is deleted if any. Is there a better way than this?- Berni655Jun 18, 2021Copper Contributor
We are on the same page, now we just cancel by comparison with our DB . What I really don't understand is why is there a parameter named 'isCancelled' . Since, whenever someone cancels or deletes an event, it will simply be removed from the response. The logic procedure would be to simply set 'isCancelled' as true, at least for the update hook that this action causes.
- finrodFelagundJun 07, 2021Copper ContributorAny updates on this?
- AllenJun 07, 2021
Community Manager
I will move your query to the Microsoft Graph community and hopefully someone can help you there.