6.2

Table Of Contents
Property Description
quote Contains a quote made by the provider defining the estimated cost(s) associated with the
request and/or any resources provisioned as a result of the request.
requestCompletion Contains additional request completion information.
requestData Contains a map of the provider-specific field-value pairs collected for this request.
retriesRemaning Specifies the number of attempts remaining to move this request from its current state to the
next state in the request workflow.
Some state transitions require calls to external services. These calls may fail due to transient
errors such as momentary network errors. In these cases, the catalog will retry the call a
number of times before failing.
This property defines the number of retries remaining for the current state transition. When it
reaches 0, the catalog will stop retrying and mark the request as failed. This property is reset to
the default number of retries for every new operation that is triggered.
requestedItemName Specifies the item name.
requestedItemDescription Specifies the item description.
Example: curl Command
The following example command displays the status of a vCloud Air machine request, where
510051b5-52ce-45db-8889-d4eeabf68da1 is the value of the request ID.
curl --insecure -H "Content-Type: application/json"
-H "Authorization: Bearer $token"
https://$host/catalog-service/api/consumer/requests/510051b5-52ce-45db-8889-d4eeabf68da1
Example: JSON Output
The following JSON output is returned based on the command input.
The following sample illustrates example output for a request to query the status of a vCloud Air machine,
where 510051b5-52ce-45db-8889-d4eeabf68da1 is the value of the request ID.
{
"@type" : "CatalogItemRequest",
"id" : "510051b5-52ce-45db-8889-d4eeabf68da1",
"iconId" : "cafe_default_icon_genericCatalogItem",
"version" : 3,
"requestNumber" : 16,
"state" : "PROVIDER_FAILED",
"description" : "A simple vCloud Air machine provisioning scenario.",
"reasons" : "Requesting a vCloud Air machine.",
"requestedFor" : "Auto.admin@abx.local",
"requestedBy" : "Auto.admin@abx.local",
"organization" : {
"tenantRef" : "abx",
"tenantLabel" : "ABX",
"subtenantRef" : "43a2f89a-c04e-4941-abc5-b4dc68a2810d",
"subtenantLabel" : "vCD business group"
},
"requestorEntitlementId" : "3391b550-fd41-413a-8b45-5ae94e34f36a",
Programming Guide
VMware, Inc. 71