7.3

Table Of Contents
n
Syntax for Displaying a List of Reservations
GET /api/reservations displays 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.
n
Syntax for Displaying a Schema Definition for a vSphere Reservation
GET /api/data-service/schema/{classId}/default with classId for vSphere, displays the
schema definition for a vSphere reservation.
n
Syntax for Displaying a Schema Definition for an Amazon Reservation
GET /api/data-service/schema/{classId}/default with classId for Amazon, displays the
schema definition for an Amazon reservation.
n
Syntax for Displaying a Schema Definition for a vCloud Air Reservation
GET /api/data-service/schema/{classId}/default with classId for vCloud Air, displays the
schema definition for a vCloud Air reservation.
n
Syntax for Getting the Business Group ID for a Reservation
GET /api/tenants/{tenantId}/subtenants of the identity service API, lists all business groups.
The business group is also referred to as the subtenant in the API. When you create a reservation,
you must provide the business group ID, also referred to as the subtenant ID, in the REST command
line. Use this procedure to obtain the subTenantId value.
n
Syntax for Getting a Compute Resource for a Reservation
POST /api/data-service/schema/{schemaClassId}/default/{fieldId}/values creates a
compute resource for a vRealize Automation reservation.
n
Syntax for Getting Resources Schema for a vSphere Reservation
POST /api/data-service/schema/{schemaClassId}/default/{fieldId}/values with a
schemaClassId for vSphere, displays information about available resources for a vSphere
reservation, such as storage and network information.
n
Syntax for Getting Resources Schema for an Amazon Reservation
POST /api/data-service/schema/{schemaClassId}/default/{fieldId}/values with a
schemaClassId for Amazon, displays resource schema information, such as storage and network
data, for an Amazon reservation.
n
Syntax for Getting Resources Schema for a vCloud Air Reservation
POST /api/data-service/schema/{schemaClassId}/default/{fieldId}/values with a
schemaClassId for vCloud Air, displays information about available resources, such as storage and
network information, for a vCloud Air reservation.
n
Syntax for Creating a vSphere Reservation
POST /api/reservations with a reservationTypeID for vSphere, creates a vSphere reservation.
Programming Guide
VMware, Inc. 192