7.2

Table Of Contents
Input
Use the supported input parameters to control the command output.
Parameter Description
URL hps://$host/reservation-service/api/data-
service/schema/$schemaclassid/default/$eldid/values
Method Post
$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.
$schemaclassid Species the schema class ID.
This example illustrates how to use the reservationStorages eld of a
reservation type as an example. The schema class ID of a vCloud Air
reservation is Infrastructure.Reservation.Cloud.vCloudAir. For this
example, the input value for $schemaclassid is
Infrastructure.Reservation.Cloud.vCloudAir.
$eldId Species the eld ID of the resource.
For example, the eld ID for the reservation storage is
reservationStorages. For this example, the input value for $eldId is
reservationStorages.
HTTP body Contains information about dependencies.
Because the dependency of the permissible value eld reservationStorages
is computeResource, you must include a dependency denition in the HTTP
body.
text Empty
dependencyValues JSON string that denes the dependency values
entries key -- Species the eld ID of dependent eld. For this example, enter
computeResource.
value -- Species the value of the dependent eld. For this example, copy and
paste the vCloud HTTP response obtained by using the Get Compute
Resource task. See “Syntax for Geing Resources Schema for a vCloud Air
Reservation,” on page 202.
Output
The command output contains property names and values based on the command input parameters.
Property Description
values An array of data rows, each of which represents one of the reservation storage objects
returned in a pageable list. Each reservation storage object contains an
underlyingValue and label entry.
underlyingValue JSON string representing one permissible value for a eld:
n
type -- data type of entityRef, complexRef, or primary
n
component ID -- componentID
n
classId -- schema class ID of current data type
n
id -- unique reservation storage ID
n
label --reservation storage label
label
Species the reservation storage label. This value matches the underlyingValue value.
Chapter 3 REST API Use Cases
VMware, Inc. 203