Hi Elliot, Potentially a silly question, but I note that in the code you pasted you have "usersMoved" although you later speak of "usersToMove" and the documentation expects "usersToMove". Which are you sending to the API?
Cheers, - David On Fri, Mar 25, 2011 at 11:42 AM, Elliot <[email protected]> wrote: > I'm getting the following response from the Provisioning API when I > attempt to move users into an > OU<http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_developers_protocol.html#Moving_Users_to_an_Organization_Unit>. > Does anyone know the correct syntax? > ========== > HTTP/1.1 400 Bad Request > Content-Type: text/html; charset=UTF-8 > Date: Fri, 25 Mar 2011 15:32:24 GMT > Expires: Fri, 25 Mar 2011 15:32:24 GMT > Cache-Control: private, max-age=0 > X-Content-Type-Options: nosniff > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > Server: GSE > Transfer-Encoding: chunked > > Invalid field: usersMoved > ========== > > The data I'm sending looks roughly like this: > calling: > https://apps-apis.google.com/a/feeds/orgunit/2.0/customerId/My+Ou+Name > ========== > <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:apps=" > http://schemas.google.com/apps/2006"> > <apps:property name="name" value="My Ou Name" /> > <apps:property name="parentOrgUnitPath" value="" /> > <apps:property name="usersMoved" value="[email protected]" /> > </atom:entry> > ========== > > I've tried with the additional properties in the example, but so far the > results are all the same. It appears that it just doesn't like * > usersToMove* > > > > -- > 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.
