question

RPTMBR-8467 avatar image
0 Votes"
RPTMBR-8467 asked finrod2002-3455 answered

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 the one who has been deleted by comparing the result with the data stored on our side ?

Thank you for your time.

Best regards

microsoft-graph-calendarmicrosoft-graph-change-notifications
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DianaWanjuhi-1579 avatar image
0 Votes"
DianaWanjuhi-1579 answered

Hello @RPTMBR-8467 one way to do this would be to subscribe to change notifications on the calendar event. Please see documentation on change notifications.

I hope this helps,

Diana.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

finrod2002-3455 avatar image
0 Votes"
finrod2002-3455 answered

Subscribing to change notifications works great if you get an update on an occurrence, e.g. the start time changed. In that case when you call /instances you correctly get an exception for that specific occurrence.

On the other hand if you delete an occurrence there is no exception when you call /instances. The corresponding occurrence json object is simply removed from the JSON response in that case. This is not really handy when you get an update. How do you know which occurrence is to be removed? Only way seems to re-import everything. Do you have better suggestions?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

finrod2002-3455 avatar image
0 Votes"
finrod2002-3455 answered

Any updates on this?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.