7.3

Table Of Contents
"type": "dynamic",
"customAllowed": false,
"dependencies": [
"computeResource"
]
},
"state": {
"dependencies": [
],
"facets": [
{
"type": "mandatory",
"value": {
"type": "constantClause",
"value": {
"type": "boolean",
"value": true
}
}
}
]
},
"isMultiValued": true
}
]
}
Get the Business Group ID for a Reservation
You can use reservation service to get the business group ID for a vRealize Automation reservation. The
business group is also referred to as the subtenant in the API.
When you create a reservation, you must supply the business group ID, also referred to as the subtenant
ID, in the REST command line. Use this procedure to obtain the subTenantId value.
Procedure
u
Get business group ID for a vRealize Automation reservation with the reservation service.
curl --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$vRA/identity/api/tenants/qe/subtenants
Example: Get the Business Group ID for a Reservation
The following sample displays JSON output for the request.
{
"links": [],
"content": [{
"@type": "Subtenant",
"id": "7d7dbb19-d2dc-44a3-9fc2-7435552c8a05",
Programming Guide
VMware, Inc. 153