Hello Kevin,

The event to be deleted is the one to which you send the DELETE request (or
POST with the added http header).
If you have an event like this:

<entry xmlns='http://www.w3.org/2005/Atom'
       xmlns:gd='http://schemas.google.com/g/2005'
       xmlns:gCal='http://schemas.google.com/gCal/2005'
       gd:etag='FkkOQgZGeip7ImA6WhVR'>
  
<id>http://www.google.com/calendar/feeds/[email protected]/private/full/*entryID*</id>
  <published>2006-03-30T22:00:00.000Z</published>
  <updated>2006-03-28T05:47:31.000Z</updated>
  <category scheme='http://schemas.google.com/g/2005#kind'
    term='http://schemas.google.com/g/2005#event'></category>
  <title type='text'>Lunch with Darcy</title>
  <content type='text'>*Change of plans - Let's discuss the new
proposal.*</content>
  <link rel='alternate' type='text/html'
    
href='https://www.google.com/calendar/event?eid=aTJxcnNqbW9tcTJnaTE5cnMybmEwaW04bXMgbWFyY2guam9AZ21haWwuY29t'
    title='alternate'></link>
  <link rel='self' type='application/atom+xml'
    
href='https://www.google.com/calendar/feeds/[email protected]/private/full/*entryID*'
/>
  <link rel='edit' type='application/atom+xml'
    
href='*https://www.google.com/calendar/feeds/[email protected]/private/full/entryID*'
/>
  ...
</entry>


You will have to send the delete request to the event's edit link which is:

*https://www.google.com/calendar/feeds/[email protected]/private/full/entryID*



If you are still having 400 Bad requests error, please try the work-around
described here:

http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=2538

I hope this helped!
Best,
Alain

On Mon, May 23, 2011 at 9:30 AM, Kevin Russell <[email protected]>
wrote:
> Alain
>
> Thanks for the reply - nearly there! How do I indicate which event is
> to be deleted? I don't supposed you coul dgiven a full XML example?
>
> Cheers
> Kevin
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Calendar Data API" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/calendar/community/forum.html
>



-- 
Alain Vongsouvanh

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html

Reply via email to