Hi,

An event is deleted by submitting a DELETE to the edit URL of an event.  An
edit URL looks something like this

http://www.google.com/calendar/feeds/default/private/full/[EVENT_ID]/[VERSION_ID]

The EVENT_ID part of the edit URL is constant but the VERSION_ID is not
constant, meaning that it can change from time to time (this version id is
used to enforce optimistic concurrency).

The way you have described your system I don't think it will work the way
you intended.  Because the edit URL needs to be retrieved fresh each time
you are about to delete it will not work if you are storing a stale edit URL
to your own DB.

Hope it helps,
Austin

On Jan 5, 2008 8:48 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> this is my second post, the first one had a not so good subject line -
> sorry for that.
>
> i have a php application which creates google calendar events. I
> create them using createEvent() which returns $createdEntry->id->text;
>
> Is this a ID i should save in my Database? Becasue i need to be able
> to delete the event later. I am having trouble doing that.
>
> neither deleteEventById() nor  deleteEventByUrl() work with the
> returned id.
>
> Please I need a little help with that.
>
> How can I delete/update an event when i createt it with createEvent()
> (return is saved in DB)
>
> Thank you,
>
> toby
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to