7.3

Table Of Contents
6 (Optional) View the details of your request.
You can perform a GET on the URI in the Location header to retrieve the updated request details. In
this example, the URI-in-Location-header is 7aaf9baf-aa4e-47c4-997b-edd7c7983a5b.
curl --insecure -H "Accept: application/json" -H "Content-Type: application/json" -H
"Authorization: Bearer $token" https://$vRA/catalog-service/api/consumer/requests/7aaf9baf-
aa4e-47c4-997b-edd7c7983a5b
For details regarding input and output for this request, see Syntax for Viewing Details of a Machine
Request.
Catalog Service Examples for Requesting a Machine
Syntax for each service example lists input parameters, output parameters, and curl commands.
n
Syntax for Listing Shared and Private Catalog Items
GET /api/consumer/entitledCatalogItemViews retrieves a list of all shared viewable catalog
items for the current user. Shared catalog items do not belong to a specific business group. This
service also retrieves a list of all shared and private catalog items that can be viewed, including their
business groups.
n
Syntax for Getting Information for a Catalog Item
GET /api/consumer/entitledCatalogItemViews/{id} gets information about a specific catalog
item.
n
Syntax for Getting a Template Request for a Catalog Item
GET /api/consumer/entitledCatalogItems/{id}/requests/template retrieves a template
request for a specific catalog item. VMware supplies a number of templates to help you create
different types of machine requests.
n
Syntax for Requesting a Machine
POST /api/consumer/entitledCatalogItems/{id}/requests submits a request for a specific
catalog item with input provided in a JSON file.
n
Syntax for Viewing Details of a Machine Request
GET /api/consumer/requests/{requestId} provides the details of a machine request, where
requestId is the URI in the Location header.
Syntax for Listing Shared and Private Catalog Items
GET /api/consumer/entitledCatalogItemViews retrieves a list of all shared viewable catalog items
for the current user. Shared catalog items do not belong to a specific business group. This service also
retrieves a list of all shared and private catalog items that can be viewed, including their business groups.
Input
Use the supported input parameters to control the command output.
Programming Guide
VMware, Inc. 44