none
Office 365 API reccuring meeting query issues RRS feed

  • Question

  • I'm trying to use the rest APIs (http://msdn.microsoft.com/en-us/library/office/dn792114(v=office.15).aspx#sectionSection3) to retrieve a users calendar events for a specific date. Currently I am running the query below:

    https://outlook.office365.com/ews/odata/Me/Events?$select=Start,End,IsAllDay,Subject&$filter=Start+ge+2014-09-10T05%3A00%3A00Z+and+Start+le+2014-09-11T04%3A59%3A59Z

    This works perfectly for 'SingleInstance' and 'SeriesMaster' Type meeting instances; however, I am seeing some strange behavior with recurring meetings. For only some users in my tenant any 'Occurrences' type meetings (a specific occurrence of a recurring meeting) are not returned from the API call; even if the meeting displays on their calendar in the OWA portal. Other users see recurring or non-recurring meetings as expected.

    To further complicate things, it started working as expected for some users later in the day and stopped working for others the following day.

    As a test I created a recurring meeting and invited users who were reporting the issue and users who were getting the expected response and then ran the query again for all users. That meeting followed the pattern described above with users either seeing all of the expected occurrences or no recurring meeting occurrences.

    Is there another query I should be running to get all meeting events for a specific date range?

    Thanks in advance,

    Wyatt

    Thursday, September 11, 2014 11:04 PM

Answers

  • I was able to get a response on StackOverflow - http://stackoverflow.com/questions/25810854/office-365-api-recurring-meetings-not-always-returning/25812293#25812293 

    Turns out the query is wrong, and you need to query Start and End in the filter as shown below:

    https://outlook.office365.com/ews/odata/Me/Events?$select=Start,End,IsAllDay,Subject&$filter=End+ge+2014-09-10T05%3A00%3A00Z+and+Start+le+2014-09-11T04%3A59%3A59Z

    • Marked as answer by Wyatt Nielsen Friday, September 12, 2014 7:37 PM
    Friday, September 12, 2014 7:37 PM