6.2

Table Of Contents
Property Description
requestedItemName Specifies the item name.
requestedItemDescription Specifies the item description.
Example: curl Command
The following example command submits a request that includes the specifications in an
ec2machine_specific.json input file.
curl --insecure -H "Content-Type: application/json"
-H "Authorization: Bearer $token"
https://$host/catalog-service/api/consumer/requests --data @ec2machine_specific.json
Example: JSON Output
The following JSON output is returned based on the command input.
The highlighted URL in the following sample indicates the location and ID of the vRealize Automation
request.
Request Headers
{
Accept = application/json
Content-Type = application/json
Content-Length = 1347
Accept-Charset = big5, big5-hkscs, ...
}
Response Headers
{
Date = Tue, 11 Oct 2014 22:28:35 GMT
ETag = "0"
Location = https://abx148-084-124.eng.mycompany.com/catalog-
service/api/consumer/requests/25211c6c-f09d-4e2b-
9be4-7b09c47c9f6c
Content-Type = application/json;charset=UTF-8
Content-Length = 0
Vary = Accept-Encoding,User-Agent
Keep-Alive = timeout=15, max=100
Connection = Keep-Alive
}
null
Syntax for Viewing the Details of an Amazon Machine Request
You can use the REST API catalog service to check the status of your Amazon EC2 Machine request.
Input
Use the supported input parameters to control the command output.
Programming Guide
VMware, Inc. 87