Problem querying root OU (Python Provisioning API)

19 views
Skip to first unread message

mp

unread,
Sep 22, 2011, 5:34:35 PM9/22/11
to google-app...@googlegroups.com
In the Python Provisioning API, querying for the root organization unit fails.

client.RetrieveOrgUnit(customer_id, '/')

results in

AppsForYourDomainException: {'status': 400, 'body': 'Required field must not be blank: orgUnitPath', 'reason': 'Bad Request'}

This does not happen with non-root OUs.

Shraddha Gupta

unread,
Sep 22, 2011, 8:54:46 PM9/22/11
to google-app...@googlegroups.com
Hi,

There is no way to retrieve the root organization unit by Provisioning API, as it is not actually an organization unit.

Thanks,
Shraddha Gupta.
Developers Program Engineer, Hyderabad.


--
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/-/1a573CTjV1QJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply all
Reply to author
Forward
0 new messages