7.2

Table Of Contents
Property Description
Size Species the maximum number of rows per page.
totalElements Species the number of rows returned.
totalPages Species the total number of pages of data available.
Number Species the current page number.
Oset Species the number of rows skipped.
Example: curl Command
The following example command displays a list of reservations.
curl --insecure -H "Accept:application/json"
-H "Authorization: Bearer $token"
https://$host/reservation-service/api/reservations
Example: JSON Output
The following sample output lists two vSphere reservations, named MyTestReservation1 and
MyTestReservation2. For related information, see “Syntax for Verifying a Reservation and Geing
Reservation Details,” on page 236.
You can use the id value for each reservation to update or delete them. For related information, see “Syntax
for Updating a Reservation,” on page 259 or “Syntax for Deleting a Reservation,” on page 264.
{
"links": [],
"content": [{
"id": "94d74105-831a-4598-8f42-efd590fea15c ",
"name": "TestReservation",
"reservationTypeId": "Infrastructure.Reservation.Virtual.vSphere",
"tenantId": "qe",
"subTenantId": "ef58f604-528d-4441-a219-4725bead629b",
"enabled": true,
"priority": 3,
"reservationPolicyId": "b71c3a5f-087a-4d9e-9a56-fab785a3d128",
"alertPolicy": {
"enabled": true,
"frequencyReminder": 20,
"emailBgMgr": false,
"recipients": ["user1@mycompany.com",
"user2@mycompany.com"],
"alerts": [{
"alertPercentLevel": 10,
"referenceResourceId": "storage",
"id": "storage"
},
{
"alertPercentLevel": 20,
"referenceResourceId": "memory",
"id": "memory"
},
{
"alertPercentLevel": 30,
"referenceResourceId": "cpu",
"id": "cpu"
Programming Guide
250 VMware, Inc.