Hi, Just to give context to everyone else of what have been tested so far -
I was able to submit a batch requests of one delete operation using the Java client library and this is my captured XML from the Java client library - <atom:feed xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gAcl='http://schemas.google.com/acl/2007' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gCal='http://schemas.google.com/gCal/2005' xmlns:gd='http://schemas.google.com/g/2005'><atom:category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'/><atom:entry><atom:id>http://www.google.com/calendar/feeds/default/private/full/a0nq8ah7dh5aipt5lol1benhgs</atom:id><atom:published>2008-04-02T17:20:32.000Z</atom:published><atom:updated>2008-04-02T17:20:32.000Z</atom:updated><atom:category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'/><atom:title type='text'>batch request #2 - insert</atom:title><atom:content type='text'></atom:content><atom:link rel='alternate' type='text/html' href='http://www.google.com/calendar/event?eid=YTBucThhaDdkaDVhaXB0NWxvbDFiZW5oZ3MgYXVzdGluLmNoYXVAbQ' title='alternate'/><atom:link rel='self' type='application/atom+xml' href='http://www.google.com/calendar/feeds/default/private/full/a0nq8ah7dh5aipt5lol1benhgs'/><atom:link rel='edit' type='application/atom+xml' href='http://www.google.com/calendar/feeds/default/private/full/a0nq8ah7dh5aipt5lol1benhgs/63342840032'/><atom:author><atom:name>Austin Chau</atom:name><atom:email>[EMAIL PROTECTED]</atom:email></atom:author><gd:comments><gd:feedLink href='http://www.google.com/calendar/feeds/default/private/full/a0nq8ah7dh5aipt5lol1benhgs/comments'/></gd:comments><gd:eventStatus value='http://schemas.google.com/g/2005#event.confirmed'/><gd:visibility value='http://schemas.google.com/g/2005#event.default'/><gd:transparency value='http://schemas.google.com/g/2005#event.opaque'/><batch:id>http://www.google.com/calendar/feeds/default/private/full/a0nq8ah7dh5aipt5lol1benhgs</batch:id><batch:operation type='delete'/><gd:when startTime='2008-03-28T15:00:00.000-07:00' endTime='2008-03-28T17:00:00.000-07:00'/><gd:who rel='http://schemas.google.com/g/2005#event.organizer' valueString='Austin Chau' email='[EMAIL PROTECTED]'/><gd:where/><gCal:uid value='[EMAIL PROTECTED]'/><gCal:sequence value='0'/></atom:entry></atom:feed> Like I mentioned in the issue tracker, I don't the other non-batch related needed to be submitted to server (but the Java client library send them anyways, no harm done). What's important is the <batch:id> and the <atom:id>, as you can see those elements is identical in terms of format and semantic to what Rick is sending. If any of you have experience using CURL to send batch please feel free to chime in. Thanks! Austin On Wed, Apr 2, 2008 at 1:13 PM, <[EMAIL PROTECTED]> wrote: > > reposted from:http://code.google.com/p/gdata-issues/issues/detail? > id=429 > > Last issue: > > Can't seem to get this to work: > > curl --silent POST --data " <feed xmlns='http://www.w3.org/2005/Atom' > xmlns:batch='http://schemas.google.com/gdata/batch' > xmlns:gCal='http://schemas.google.com/gCal/2005' > <category > scheme='http://schemas.google.com/g/2005#kind' > term='http://schemas.google.com/g/2005#event' /> > <entry><batch:operation > type='delete'/><batch:id>http://www.google.com/calendar/feeds/default/ > private/full/uebu3sjdulpi21j4pip7v7qjp0</batch:id><id>http:// > > www.google.com/calendar/feeds/default/private/full/uebu3sjdulpi21j4pip7v7qjp0</id></entry><entry><batch:operation > type='delete'/><batch:id>http://www.google.com/calendar/feeds/default/ > private/full/1errpsp6d5kavjino27dc51mdg</batch:id><id>http:// > > www.google.com/calendar/feeds/default/private/full/1errpsp6d5kavjino27dc51mdg</id></entry><entry><batch:operation > type='delete'/><batch:id>http://www.google.com/calendar/feeds/default/ > private/full/vqu49thoe18tgdk348pvnao65c</batch:id><id>http:// > > www.google.com/calendar/feeds/default/private/full/vqu49thoe18tgdk348pvnao65c</id></entry><entry><batch:operation > type='delete'/><batch:id>http://www.google.com/calendar/feeds/default/ > private/full/mvcsr364j3nbf56ip7d9anb7k0</batch:id><id>http:// > > www.google.com/calendar/feeds/default/private/full/mvcsr364j3nbf56ip7d9anb7k0</id></entry><entry><batch:operation > type='delete'/><batch:id>http://www.google.com/calendar/feeds/default/ > private/full/r98jitr21giojtogogkjahk6i4</batch:id><id>http:// > > www.google.com/calendar/feeds/default/private/full/r98jitr21giojtogogkjahk6i4</id></entry></feed>" > --header "Authorization: GoogleLogin > Auth=DQAAAHcAAACOnR7l- > eKrhqhv1fdsZLlNoXreglUxP651KcFilY5qVHo6EvdVvunR5HWNboyP7- > FO3Qu1u1SCCjuvLqWZOGnMfV5UeoiqcfgUXxADq- > BGruUZDSse7GggD0lvHgvTAlYtgVSRinAVEbFDnz-nyp2l0rW0tdUyz88DydG0sf_bEQ" > --header "Content-Type: application/atom+xml" > "http://www.google.com/calendar/feeds/default/private/full/batch? > gsessionid=uTMtrYt5Q-H77YESxHjr7w" > > <?xml version='1.0' encoding='UTF-8'?><atom:feed > xmlns:atom='http://www.w3.org/2005/Atom' > xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' > xmlns:batch='http://schemas.google.com/gdata/batch' > xmlns:gCal='http://schemas.google.com/gCal/2005' > xmlns:gd='http://schemas.google.com/g/2005'><atom:id>http:// > > www.google.com/calendar/feeds/default/private/full</atom:id><atom:updated>2008-04-02T19:08:42.692Z</atom:updated><atom:title > type='text'>Batch Feed</atom:title><atom:link > rel='http://schemas.google.com/g/2005#feed' type='application/atom > +xml' > href='http://www.google.com/calendar/feeds/default/private/full'/ > ><atom:link > rel='http://schemas.google.com/g/2005#post' type='application/atom > +xml' > href='http://www.google.com/calendar/feeds/default/private/full'/ > ><atom:link > rel='http://schemas.google.com/g/2005#batch' type='application/atom > +xml' > href='http://www.google.com/calendar/feeds/default/private/full/batch'/ > ><atom:entry><atom:id>http://www.google.com/calendar/feeds/default/ > private/full/uebu3sjdulpi21j4pip7v7qjp0</ > atom:id><atom:updated>2008-04-02T19:08:42.692Z</ > atom:updated><atom:title > type='text'>Error</atom:title><atom:content type='text'>Invalid entry > Id/Uri</atom:content><batch:id>http://www.google.com/calendar/feeds/ > default/private/full/uebu3sjdulpi21j4pip7v7qjp0</ > batch:id><batch:status > code='400' reason='Invalid entry > Id/Uri'/></atom:entry><atom:entry><atom:id>http://www.google.com/ > calendar/feeds/default/private/full/1errpsp6d5kavjino27dc51mdg</ > atom:id><atom:updated>2008-04-02T19:08:42.693Z</ > atom:updated><atom:title > type='text'>Error</atom:title><atom:content type='text'>Invalid entry > Id/Uri</atom:content><batch:id>http://www.google.com/calendar/feeds/ > default/private/full/1errpsp6d5kavjino27dc51mdg</ > batch:id><batch:status > code='400' reason='Invalid entry > Id/Uri'/></atom:entry><atom:entry><atom:id>http://www.google.com/ > calendar/feeds/default/private/full/vqu49thoe18tgdk348pvnao65c</ > atom:id><atom:updated>2008-04-02T19:08:42.693Z</ > atom:updated><atom:title > type='text'>Error</atom:title><atom:content type='text'>Invalid entry > Id/Uri</atom:content><batch:id>http://www.google.com/calendar/feeds/ > default/private/full/vqu49thoe18tgdk348pvnao65c</ > batch:id><batch:status > code='400' reason='Invalid entry > Id/Uri'/></atom:entry><atom:entry><atom:id>http://www.google.com/ > calendar/feeds/default/private/full/mvcsr364j3nbf56ip7d9anb7k0</ > atom:id><atom:updated>2008-04-02T19:08:42.693Z</ > atom:updated><atom:title > type='text'>Error</atom:title><atom:content type='text'>Invalid entry > Id/Uri</atom:content><batch:id>http://www.google.com/calendar/feeds/ > default/private/full/mvcsr364j3nbf56ip7d9anb7k0</ > batch:id><batch:status > code='400' reason='Invalid entry > Id/Uri'/></atom:entry><atom:entry><atom:id>http://www.google.com/ > calendar/feeds/default/private/full/r98jitr21giojtogogkjahk6i4</ > atom:id><atom:updated>2008-04-02T19:08:42.694Z</ > atom:updated><atom:title > type='text'>Error</atom:title><atom:content type='text'>Invalid entry > Id/Uri</atom:content><batch:id>http://www.google.com/calendar/feeds/ > default/private/full/r98jitr21giojtogogkjahk6i4</ > batch:id><batch:status > code='400' reason='Invalid entry Id/Uri'/></atom:entry></atom:feed> > > TIA for your help, > Rick > > > --~--~---------~--~----~------------~-------~--~----~ 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://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
