2 messages in com.googlegroups.google-calendar-help-dataapiRe: Adding an event to a secondary ca...
FromSent OnAttachments
SanjinB21 Apr 2008 05:05 
Austin (Google)22 Apr 2008 10:21 
Subject:Re: Adding an event to a secondary calendar.
From:Austin (Google) (api.@google.com)
Date:04/22/2008 10:21:08 AM
List:com.googlegroups.google-calendar-help-dataapi

Hi,

Yes the feed URL determine which calendar an insertion request will go to. So each calendar has it's own unique ID, you can look up its unique ID from the Google Calendar UI -

1) click on the "Settings" on the top right 2) choose the "Calendars" tab 3) click on the calendar you wish to insert the event to 4) go down to the row where it says "Calendar Address", you will see the calendar ID

Once you have the calendar ID you can use it to form the feed URL to direct all request to that particular calendar. You would replace [CAL_ID in the following format to derive your feed URL.

http://www.google.com/calendar/feeds/[CAL_ID]/private/full

Hope it helps, Austin

On Mon, Apr 21, 2008 at 5:05 AM, SanjinB <sanj@gmail.com> wrote:

Hi!

I'm working on a project at school where we are developing a booking app using Google Calendar. We have several secondary calendars for one user. My problem is that I don't know how to add an event for a specific calendar using the Java Api. I know it has something to do with Url's. I would appreciate some help