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.

Reply via email to