Hi,

Are you following the naming requirements listed at
http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_developers_protocol.html#Creating_an_Organization_Unit
 ?
Have you checked the sample code at
http://code.google.com/p/google-gdata/source/browse/trunk/clients/cs/samples/gapps_orgmanagement_sample/orgmanagementdemo.cs
 ?
Thanks

Claudio

On Mon, Apr 11, 2011 at 10:30 AM, florian <[email protected]> wrote:

> Hello !
>
> I'm currently trying to make a C# class to manage my Google Apps Domain. I
> have a problem with the UpdateOrganizationUnit method : when I specify an
> orgUnitPath with spaces, I get a GDataRequestException because I use special
> chars. So I tried to make a HttpUtility.UrlEncode(path) and
> even HttpUtility.UrlEncode(path).Replace("+","%20") but nothing worked...
> Moreover I managed to make a RetrieveOrganizationUnit for this OU and when
> I try :
> string test = oservice.RetrieveOrganizationUnit(customerID,
> path).getPropertyValueByName("orgUnitPath");
> oservice.UpdateOrganizationUnit(customerID, test, attributes);
> The Update throws an exception... The goal is only to rename an OU...
>
> Thanks in advance for your help !
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" 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-apps-mgmt-apis?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" 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-apps-mgmt-apis?hl=en.

Reply via email to