There was an issue in C#, when inserting a new event and adding a person to this event, the insertion failed. This is due to some discrepancies between the documentation and what the server actually expects:

a) the gd: who.valuestring is, per documentation a free describtion of the person attending. The Google Calendar Service right now expects this to be a valid email address. This might change in the near future.

b) When you add an gd: who.Rel value, you HAVE to have an attendee status set as well.

Hence, the following C# code successfully adds a person to an event.

    Who someone = new Who();
    someone.ValueString = " [EMAIL PROTECTED]";
    Who.AttendeeStatus status = new Who.AttendeeStatus();
    status.Value = "event.accepted";
    someone.Attendee_Status = status;
    someone.Rel = " http://schemas.google.com/g/2005#event.organizer";


Pending on what the service decides to do about this, we will make the client libs a little more streamlined for this.

Regards

Frank Mantek

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

Reply via email to