Get notification from Microsoft Graph when deleting event occurrence

后端 未结 1 806
情歌与酒
情歌与酒 2021-01-22 04:23

I have subscribed to events (https://outlook.office.com/api/v2.0/me/events) push notification.

When I delete one event of recurrence master event, I receive

相关标签:
1条回答
  • 2021-01-22 05:07

    When you "delete" and occurrence, you're technically not deleting an entity. You're actual adding an exception to the master's recurrence pattern. This is why you're receiving a notification that the master was updated rather than a notification that an event was deleted.

    You can see the list of event occurrences and exceptions by calling the /instances. This will return a collection of event objects for a given master. You can determine if an object is an occurrence or an exception by looking at the type property (possible values are SingleInstance, Occurrence, Exception, or SeriesMaster).

    0 讨论(0)
提交回复
热议问题