On 2007-09-15 22:49:49 -0700, qikink <[EMAIL PROTECTED]> said:
> I'm trying to figure out how to change events once they are posted to
> the calendar, but it seems like the google method requires an
> 'eventID'. Maybe this is a stupid question, but where do i get that
> id? What if I only have the text of the event?
The Event ID comes from the Calendar event feed, and is contained
within either the <id> element or <link rel='"self"> element for an
event entry. For example, if you have an event with this <id> value:
<id>http://www.google.com/calendar/feeds/default/private/full/abcdef1234</id>
Then it's Event ID is 'abcdef1234'.
If you only have the text of an event, then you will need to first do a
search in order to find the event. Information on how to submit a
search query is here:
http://code.google.com/apis/gdata/reference.html#Queries
Finally, keep in mind that when editing existing events, you'll also
need to know the Version ID of the event that you're changing or you'll
get a '409 Conflict' error. The <link rel="edit"> element contains a
preformed URL with both the Event ID and Version ID, so just use that
address when sending your event updates.
Hope this helps.
--
Trevor Johns
http://tjohns.net
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---