Recurring events with EXDATE

744 views
Skip to first unread message

Sandip Shah

unread,
Apr 23, 2012, 3:35:42 PM4/23/12
to google-ca...@googlegroups.com
Hi,

I ran into this and someone from Google recommended that I post it on the forum.

While creating calendar entries with v3 API, if the recurring event has an EXDATE, then please follow the instructions here - https://developers.google.com/google-apps/calendar/recurringevents.

Also, it seems that the documentation that refers to the RECURRENCE element here https://developers.google.com/google-apps/calendar/v3/reference/events/insert is incorrect.  It says that the "recurrence" element is a "List of RRULE, EXRULE, RDATE and EXDATE lines for a recurring event. This field is omitted for single events or instances of recurring events."

From what I understand, it just accepts an RRULE, and not EXDATE ... someone at Google should verify this and update the documentation.

Thanks,

Sandip
vThrive

Sandip Shah

unread,
Apr 23, 2012, 6:30:01 PM4/23/12
to google-ca...@googlegroups.com
Hi,

Someone at Google needs to update the documentation on this page - https://developers.google.com/google-apps/calendar/recurringevents.

The example at the bottom of the page has line #2 (for Python) as:

instances = service.events().instances(calendarId='primary', eventId='recurringEventId')

It should be:

instances = service.events().instances(calendarId='primary', eventId='recurringEventId').execute()

Sandip

Sandip Shah

unread,
Apr 24, 2012, 12:38:43 AM4/24/12
to google-ca...@googlegroups.com
Hi,

I noticed it when I read it, but thought that it might not be a mistake ... but it is ... oh well ... one more documentation correction for someone to do ...

On the same page, 6th line reads

instance['status'] = 'canceled'

It should read

instance['status'] = 'cancelled'

Thanks,

Sandip

Christopher Masser

unread,
Oct 12, 2012, 5:46:27 PM10/12/12
to google-ca...@googlegroups.com
Do you know how I can set an EXDATE for an event instead?

Paul C

unread,
Oct 13, 2012, 10:32:13 AM10/13/12
to google-ca...@googlegroups.com
Hi,

It seems that you have to cancel specific events one by one after creating the recurring events.
Reply all
Reply to author
Forward
0 new messages