I've got a ruby app that is provisioning users to our educational google apps domain. Currently I am using gdatav2rubyclientlib<http://code.google.com/p/gdatav2rubyclientlib/>. It works great until I try to move users into one of our sub organizations. I send the PUT request to https://apps-apis.google.com/a/feeds/orguser/2.0/* our_Id*/*example_user@our_domain.edu* with the XML payload specifying the orgUnitPath for the sub-organization and the 'GoogleLogin' auth-token that I used to create the account in the header. As far as I can tell from the documentation, this should work fine but I just can't get it working. The response I get is a 302 redirect to www.google.com.
I'm really new to the provisioning API and, for better or worse, am stuck doing this in ruby. Any ideas why this isn't working? Is there a better ruby gem or library that will manage users with regard to sub-organizations? It's getting to be crunch-time as students return next week and right not there's no good way to move them into the correct organizations except through the management interface, which, IMHO lease a lot to be desired when managing more that a handfull of accounts. Thanks in advance for any help! -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/jsvx8ODf5fgJ. 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.
