Why am I not getting notifications for changes on shared calendar events?

社会主义新天地 提交于 2020-03-25 19:12:32

问题


I've successfully created a webhook subscription to listen for changes on a shared calendar (I got a 201 Created response back from the create subscription endpoint) with the following POST body:

{
    "changeType": "created,updated,deleted",
    "notificationUrl": <my_https_app_webhook_url>,
    "resource": "/me/calendars/<calendar_id>/events",
    "expirationDateTime": "2020-03-06T12:30:27.606347+00:00",
    "clientState": <secret_token>
}

If I then create an event on that shared calendar with 1 attendee (aside from myself, the organizer & owner of the shared calendar) and that attendee declines the event, I don't receive a notification at my subscription notificationUrl.

Am I missing something here?


回答1:


{
   "changeType": "created,updated",
   "notificationUrl": "https://mynotification.url.com",
   "resource": "users/adminuser@oadmin.onmicrosoft.com/events",
   "expirationDateTime":"2020-03-03T14:09:27.121Z",
   "latestSupportedTlsVersion": "v1_2"
}

Make sure you have added,ChangeType:created,updated




回答2:


This is an expected behavior as the attendee's responses do not update the event object itself, thus not triggering a notification.
I'd recommend you add this as a suggestion to UserVoice



来源:https://stackoverflow.com/questions/60497361/why-am-i-not-getting-notifications-for-changes-on-shared-calendar-events

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!