Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Querying customProperties via vRA Cafe API

$
0
0

I am trying to get a list of Custom Properties attached to a given Business Group via the vRA 6.2.1 Cafe appliance REST API.  For some reason I can only get a few of the attributes of the Business Group back when doing an HTTP GET to the follow service:

 

/api/tenants/{tenantId}/subtenants/{id}

 

JSON response:

{  "id": "72cbcf98-79a8-4c0e-b2d0-9de98e9d1f34",  "name": "testgroup",  "description": "VMPS",  "subtenantRoles": null,  "extensionData": {    "entries": []  },  "tenant": "vsphere.local"
}

 

According to the API documentation for 6.2, the customProperties should be in the "extensionData" object, but as you can see above, it comes back as an empty "entries" array.  I know that this data exists since I can see it in my vRO plugin for vCAC.  I have a hunch that maybe I'm referencing the data model incorrectly, but thought I'd ask.  Has anyone else been successful with pulling this data via API?

 

Attached is a screenshot of my BG in the Web UI for reference of the properties I'm looking for.


Viewing all articles
Browse latest Browse all 9859

Trending Articles



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