7.2

Table Of Contents
}]
}
},
{
"key": "resourcePool",
"value": {
"type": "entityRef",
"componentId": null,
"classId": "ResourcePools",
"id": "4e51fabc-19e8-4e79-b413-d52309b3bb62",
"label": "CoreDev"
}
}],
"metadata": {
"size": 0,
"totalElements": 1,
"totalPages": 1,
"number": 1,
"offset": 0
}
}
Syntax for Displaying a List of Reservations
You can use the REST API reservation service to display a list of existing vRealize Automation reservations.
You can use this list to obtain the required reservation ID value in preparation for updating or deleting a
reservation.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL hps://$host/reservation-service/api/reservations
Method Get
$host Species the host name and fully qualied domain name or IP
address of the vRealize Automation identity server.
$token Species a valid HTTP bearer token with necessary credentials.
Output
The command output contains property names and values based on the command input parameters.
Property Description
Links Species an array of link objects, each of which contains the following parts:
rel Species the name of the link.
n
Self refers to the object which was returned or requested.
n
First, Previous, Next, and Last refer to corresponding pages of pageable lists.
n
Species the application or service that determines the other names.
href Species the URL that produces the result.
Content Species an array of data rows, each of which represents one of the tenant objects returned in a
pageable list.
Metadata Species the paging-related data.
Chapter 3 REST API Use Cases
VMware, Inc. 249