microsoft-graph-apioutlook-calendar

Microsoft Graph - Filter calendarView by seriesMasterId


I would like to be able to get all the instances of a recurring event (versus getting all but the "master" event using events/id/instances) and, to do that, I'm thinking of using calendarView.

However, to do so I need to filter the calendarView by the seriesMasterId, which so far I have not been able to do - I always get an empty object as response. The solution in this question works fine for the query

$filter=seriesMasterId+ne+null

but, with a query like

$filter=seriesMasterId+eq+'{id}'

I always get the empty object response.

Am I missing something here, or am I trying to achieve something that, for some reason, cannot be done?


Solution

  • So, I kinda of went ahead of myself with this question. For some reason, I was under the impression that the query

    https://graph.microsoft.com/v1.0/me/events/{event_id}/instances?(...)
    

    Would return all the instances but the original master event, which is not the case. So, this query actually solves my issue.