Alexandr Mendelevych
Alexandr Mendelevych

Reputation: 179

How to recognize which calendar the event belongs in Microsoft graph api?

I am developing application that synchronize with microsoft calendar. To get any changes on Microsoft calendar I use webHook service and every time receive new/deleted/updated events but I do not know which calendar the event belongs, even after I get full event from Microsoft and not only the ID.

There are many calendars for user! How can I recognize id of calendar?

Upvotes: 2

Views: 300

Answers (1)

Jason Johnston
Jason Johnston

Reputation: 17702

The event resource has a calendar relationship, so that you should be able to do:

GET /me/events/{event-id}/calendar

Upvotes: 3

Related Questions