7.3

Table Of Contents
Example: JSON Output
The following JSON output is returned based on the command input.
Copy the output from an underlyingValue section into an XML editor and use it as input to create or
update a reservation.
{
"values": [
{
"underlyingValue": {
"type": "entityRef",
"componentId": null,
"classId": "AmazonSecurityGroup",
"id": "9",
"label": "test1"
},
"label": "test1"
},
{
"underlyingValue": {
"type": "entityRef",
"componentId": null,
"classId": "AmazonSecurityGroup",
"id": "10",
"label": "default"
},
"label": "default"
}
]
}
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.
Overview
This example illustrates how to get a permissible value list for the reservationStorages field. Use the
generated output as input for creating or updating a vCloud Air reservation.
Programming Guide
VMware, Inc. 245