I'm trying to automate making a calendar public using the .NET client
- here's a snippet of the code I'm using:

var aclEntry = new AclEntry
{
    Scope = new AclScope
    {
        Type = AclScope.SCOPE_DEFAULT
    },
    Role = AclRole.ACL_CALENDAR_ROOT
};

this.calendarService.Insert(GetFullAclFeedUri(calendarId), aclEntry);

My feed URL is:
http://www.google.com/calendar/feeds/<CalendarID>/acl/full

The response from the server:
WebException: The remote server returned an error: (400) Bad Request.
GDataRequestException: Execution of request failed

What am I doing wrong here? If I get this working, is this correct
approach? The documentation isn't very clear in this area - what I'm
looking to achieve is the equivalent of marking "Make this calendar
public" in the UI - am I on the right track?

Thanks in advance,
Matt

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