7.3

Table Of Contents
n
Syntax for Creating an Amazon Reservation
POST /api/reservations with a reservationTypeID for Amazon, creates an Amazon
reservation.
n
Syntax for Creating a vCloud Air Reservation
POST /api/reservations with a reservationTypeID for vCloud Air, creates a vCloud Air
reservation.
n
Syntax for Verifying a Reservation and Getting Reservation Details
GET /api/reservations/{id} retrieves a vRealize Automation reservation. After you create a
reservation, you can use the reservation ID to verify that the reservation exists. You can also use the
ID to get information about the reservation in preparation for updating or deleting it.
n
Syntax for Displaying a List of Supported Reservation Types
GET /api/reservations/types displays a list of supported vRealize Automation reservation
types.
n
Syntax for Updating a Reservation
PUT /api/reservations/{id} updates an existing reservation with a given ID.
n
Syntax for Deleting a Reservation
DELETE /api/reservations/{id} deletes an existing reservation with the given ID.
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.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL https://$vRA/reservation-service/api/reservations
Method Get
$vRA Specifies the appliance name and fully qualified domain name, or IP
address of the vRealize Automation server.
$token Specifies a valid HTTP bearer token with necessary credentials.
Output
The command output contains property names and values based on the command input parameters.
Programming Guide
VMware, Inc. 193