3 messages in com.googlegroups.google-calendar-help-dataapiRe: Unable to Update/Delete Event usi...
FromSent OnAttachments
sbty26 Apr 2007 10:31 
sbty26 Apr 2007 12:16 
Lane LiaBraaten (Google)26 Apr 2007 17:21 
Subject:Re: Unable to Update/Delete Event using ASP VBScript
From:Lane LiaBraaten (Google) (api.@gmail.com)
Date:04/26/2007 05:21:06 PM
List:com.googlegroups.google-calendar-help-dataapi

Hi Brian,

Thanks for posting the solution to your problem, glad you were able to work it out.

I'll file a bug against the documentation to make sure this is more clear.

Cheers, Lane

On Apr 26, 12:16 pm, sbty <scor@gmail.com> wrote:

OK...I have it working now. I was using the wrong URL

apparently I need to use the URL specified in the href attribute of the <link rel='edit' ...> node

Note to google guys...maybe look at the docs in this area - it's not clear

Brian

On Apr 26, 10:32 am, sbty <scor@gmail.com> wrote:

I am using server side code written in ASP/VBScript and I am able to get a list of calendars and add an event, even to a non-default calendar, but I cannot modify an event or delete an event. The .NET docs says this about update:

"The above code is roughly equivalent to sending PUT http://www.google.com/calendar/feeds...@gmail.com/pr@ to the service, along with the new entry (in Atom format) to replace the original entry."

I assume the URL is the one extracted from the event/id node. I try issuing a PUT after doing an authorisation and it returns: Invalid request URI. status=400-4

and regarding an event delete the .NET docs says:

"The above code is roughly equivalent to sending DELETE http://www.google.com/calendar/feeds...@gmail.com/pr@ to the service"

and when I issue a DELETE using the same URL (entry/id node) it returns "not implemented" with a status=501-4

Is this supposed to work? If so, any suggestions?

thanks Brian