Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 189307

Retrieve AdminOrgType for Organization

$
0
0

The OrganizationCRUD sample shows how to Create, Update and Delete an AdminOrgType but it doesn't show how to retrieve one.   I know I can retrieve the AdminOrganization with this:

 

            var adminOrgRef = admin.GetAdminOrgRefByName(org.Name);

 

 

            var adminOrganization = AdminOrganization.GetAdminOrgByReference(Client, adminOrgRef);

 

But if I wanted to get the AdminOrgType back, or query it by name, etc.. What would be the best way to do that?

 

Is the only way to get one to make a request to the /api/admin/org/{id}  and parse through the xml?


Viewing all articles
Browse latest Browse all 189307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>