If I create an event in my own default calendar and add an attendee,
then look at the event in my full, authenticated feed there are two
<gd:who /> elements: one for the attendee I added (containing
<gd:attendeeStatus value='http://schemas.google.com/g/
2005#event.invited'>) and one for me (containing <gd:attendeeStatus
value=''>). Presumably my actual status is 'confirmed' and not only
'invited' since I don't have to respond to invitations for events for
which I am the organizer.

But if I then take a snapshot of that entry and create a new event
using its values, the gCal web UI shows a [?] icon indicating that
I've been invited to the event but haven't yet responded. Consistent
with that, if I look at the full authenticated feed for the calendar I
see a <gd:who /> element for myself containing <gd:attendeeStatus
value='http://schemas.google.com/g/2005#event.invited'>.

So the problem is, it looks like the web UI and the API have different
default values for the organizer's attendeeStatus. This isn't a huge
deal to work around, but it is one more special case, which makes
things a little more fragile.

My question is this: Is it safe to always replace "<gd:attendeeStatus
value='' />" with "<gd:attendeeStatus value='http://schemas.google.com/
g/2005#event.confirmed' />" when creating events through the API? Or
should I instead only default the organizer's attendeeStatus value to
"...confirmed"?

Any guidance would be appreciated.

Thanks,
Charlie


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