6 messages in com.googlegroups.google-calendar-help-dataapiRe: Post event to provisioned domain ...
FromSent OnAttachments
Lich13 May 2008 13:41 
yesteray13 May 2008 21:38 
Lich14 May 2008 12:46 
Ray Baxter14 May 2008 14:05 
Austin (Google)14 May 2008 14:08 
Lich14 May 2008 16:42 
Subject:Re: Post event to provisioned domain user account gives 200 and not 201.
From:yesteray (Ray.@gmail.com)
Date:05/13/2008 09:38:27 PM
List:com.googlegroups.google-calendar-help-dataapi

On May 13, 1:41 pm, Lich <jlic@gmail.com> wrote:

I authenticate with the admin user and when I post:

<entry xmlns='http://www.w3.org/2005/Atom'xmlns:gCal='http:// schemas.google.com/gCal/2005'><content type='html'>Tennis with John May 17 3pm-3:30pm</content><gCal:quickadd value='true'/></entry>

to a user account I get back a 200 success and not a 201?

What is the exact url that you are POSTing to? It isn't clear what you mean when say you are posting to a user account.

Here is the xml I get back:

This xml is truncated, so I can't see if your event is added or not. It only contains part of a single event, not 6 events.

I am able to create an event using your quickadd xml POSTed to a calendar edit url. The response is a 201 and the response body contains only an <event> element, not a <feed> with multiple <event> elements.

Are you saving the response to a file or a variable? Are you appending or overwriting? Describing the details of what you are doing would be helpful.

Ray