Past Date Occurrences discarding when updating recurring series

Hi All,

I am using EWS Managed API to retrieve and update appointments from/to exchange server. I have created one recurrence series appointment.

Let me walk through this logic with an example. In this example I assume that todays date is 15<sup>th </sup>JUly 2015.

I created a series with

Start Date: 14<sup>th</sup> July 2015 

Pattern time: 10:00 AM 11:00 AM Pattern Type: Daily (Recur every one day) and Occurrence count = 5;

In this case i am getting Recurrence start date from exchange server is:14th July 2015 and Occurrence count = 5.

after creating series i have updated above series with Pattern Type: Daily(Recur every two days).

In this case i am getting recurrence series start date from Exchange server is: 15th July and Occurrence count = 4.

So we are missing one occurrence.

If we do same operation through outlook it is giving occurrence count  = 5 and recurrence start date is:14th July 2015.(Correct Data).

Any help would be appreciated.

Thanks

Naresh

July 15th, 2015 9:52am

Hi All,

I am using EWS Managed API to retrieve and update appointments from/to exchange server. I have created one recurrence series appointment.

Let me walk through this logic with an example. In this example I assume that todays date is 15<sup>th </sup>JUly 2015.

I created a series with

Start Date: 14<sup>th</sup> July 2015 

Pattern time: 10:00 AM 11:00 AM Pattern Type: Daily (Recur every one day) and Occurrence count = 5;

In this case i am getting Recurrence start date from exchange server is:14th July 2015 and Occurrence count = 5.

after creating series i have updated above series with Pattern Type: Daily(Recur every two days).

In this case i am getting recurrence series start date from Exchange server is: 15th July and Occurrence count = 4.

So we are missing one occurrence.

If we do same operation through outlook it is giving occurrence count  = 5 and recurrence start date is:14th July 2015.(Correct Data).

Any help would be appreciated.

I am using this code to update recurrence appointment:

appointment.Update(ConflictResolutionMode.AutoResolve,SendInvitationsOrCancellationsMode.SendToAll);

Thanks

Naresh


Free Windows Admin Tool Kit Click here and download it now
July 15th, 2015 12:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics