Jeff-Lewis / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Query does not return instances of the recurring event - by design? #591

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I created a recurring event using the .net API.
It shows the recurring instances properly in the google calendar UI.
However, when I query in a given date range using the .net API, i only get the 
original recurring event and not any of the instances.
I can't find any documentation on what the expected behavior is.

Is is by design or should I be getting all the instances?
I was hoping to get all the instances with the OriginalEvent property set to 
initial recurring event.

thx!
--pg

Original issue reported on code.google.com by joggle.t...@gmail.com on 20 May 2012 at 1:08

GoogleCodeExporter commented 9 years ago
Hello,

This is by design, you can use the singleEvents query parameter when listing 
events to request for instances of recurring events:
  https://developers.google.com/google-apps/calendar/v3/reference/events/list#singleEvents

Or you can use the "instances" endpoint to request instances of a specific 
recurring event:
  https://developers.google.com/google-apps/calendar/v3/reference/events/instances

Best,
Alain

Original comment by ala...@google.com on 21 May 2012 at 11:48

GoogleCodeExporter commented 9 years ago

Original comment by ccherub...@google.com on 21 May 2012 at 2:15