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.

About this task

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

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

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",
		"name": "Development",
		"description": " Development ",
		"subtenantRoles": null,
		"extensionData": {
			"entries": [{
				"key": "iaas-manager-emails",
				"value": {
					"type": "string",
					"value": "user1@mycompany.com"
				}
			}]
		},
		"tenant": "qe"
	},
	{
		"@type": "Subtenant",
		"id": "ade5b8d3-decf-405e-bd0b-297f976ef721",
		"name": "Finance",
		"description": "Finance",
		"subtenantRoles": null,
		"extensionData": {
			"entries": [{
				"key": "iaas-manager-emails",
				"value": {
					"type": "string",
					"value": " user1@mycompany.com "
				}
			}]
		},
		"tenant": "qe"
	},
	{
		"@type": "Subtenant",
		"id": "ef58f604-528d-4441-a219-4725bead629b",
		"name": "Test Sub Tenant",
		"description": "VMPS",
		"subtenantRoles": null,
		"extensionData": {
			"entries": []
		},
		"tenant": "qe"
	},
	{
		"@type": "Subtenant",
		"id": "92926c91-37de-4647-9aee-70b8d557ce8d",
		"name": "Quality Engineering",
		"description": "created by demo content",
		"subtenantRoles": null,
		"extensionData": {
			"entries": [{
				"key": "iaas-manager-emails",
				"value": {
					"type": "string",
					"value": " user1@mycompany.com "
				}
			}]
		},
		"tenant": "qe"
	}],
	"metadata": {
		"size": 20,
		"totalElements": 4,
		"totalPages": 1,
		"number": 1,
		"offset": 0
	}
}