Hi Daniel,

The ID of an event or the self link (getSelfLink()) will enable you to
retrieve the atom entry representing the event.  In order to update
the event, you will need to use the edit link from that entry and make
your changes using that edit link.

> but the EditLink has an additional number at the end
Yes, this is due to the optimistic concurrency versioning system in
GData which prevents you from performing an update using stale data.
Please see the following link about optimistic concurrency for more
information:
http://code.google.com/apis/gdata/reference.html#Optimistic-concurrency

Cheers,

-Ryan


On Mar 27, 6:46 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> What is the canonical way of constructing a calendar/event feed url
> given the account on which it resides and it's id (calendar/
> event.getId())? I have looked at getEditLink(), and getId(). Both are
> URLs, but the EditLink has an additional number at the end while the
> getId url is the same as the the atom url, but an edit request using
> this fails ("bad URI").
>
> Cheers
>
> Daniel


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