Hi Srini,
If the entry can be updated, it should contain an <atom:link> element with a
rel value of "edit" that specifies the location where you should send
updates for that entry. This is the entry edit URL, not a feed URL.
From a Java API perspective, the easiest way to do this is just to modify
the event and then call the Entry.update() method on it to PUT it back to
the server:
event.update();
If you want to do this via GoogleService, you'd do:
if (event.getEditLink() != null) {
service.update(new URL(event.getEditLink().getHref()), event);
} else {
// don't have write access to the event
}
Hope this helps!
-- Kyle
On 12/20/06, Srini <[EMAIL PROTECTED]> wrote:
can any one please answer below question , pls ?
Srini wrote:
> hi,
>
> I am using client login API for updating event in Google Calender.. I
> am able to look up the event ( by able to date search for events ) and
> able to get in Event classes . I have its feed URL..Can you let me know
> how to update the event ?
>
> GoogleService.update ( FeedURL , Event) does not seem to update ....
> May i know what FeedURL needs to be supplied ..
>
> regards,
> Srini sk
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---