office365microsoft-graph-apioutlook-calendar

Microsoft Graph API: can't list recurring events of a meeting room


I'm building a Ruby on Rails app where the events within an organization are grouped & shown by the meeting rooms using the Microsoft Graph API with the app only authorization flow described in the below link.

http://graph.microsoft.io/docs/authorization/app_only

I am using the following request to list the events of a meeting room

https://graph.microsoft.com/v1.0/users/<meeting room email>/events

But the thing is that not all the events are being listed for the upcoming weeks and I suppose those are the recurring events.

Is there any way to include the recurring events into the results.


Solution

  • I found the solution, calendarView method is listing all events for a given time range in ISO 8601 format

    https://graph.microsoft.com/v1.0/users/<meeting room email>/calendarView/?endDateTime=2015-12-28T22:23:00Z&startDateTime=2015-12-28T00:00:00Z
    

    List calendarView Reference