php-ews -Occurrences of a meeting

351 Views Asked by At

have some trouble figure this out

Using php-ews: jamesiarmes/php-ews

I am trying to book events with Recurrence and is working fine

After booking that meeting i want to fetch all occurrence of that meeting but can figuer it out! Can anyone help?

Thanks for the help

1

There are 1 best solutions below

3
On

So, you can't fetch all of the occurrences for that meeting. When the meeting is created, it doesn't create an individual item for each occurrence. However, if you make a request to see calendar events within a timeframe, you can see individual occurrences in that time frame. If you want to get an individual occurrence, you can use the GetItem method and pass in an OccurrenceItemId which is a combination of the Recurring Master Item Id and the Index of the occurance that you want. What you do get, if you do a GetItem on the reccurance master that you create is information like "How many occurances are there", "What's the first occurance" and "What's the last occurance".

I hope this is helpful. I'm not able to show you exactly how to do it with jamesiarmes/php-ews, since I use and maintain a newer and easier to use version Garethp/php-ews