7.2

Table Of Contents
Parameter Description
$lter Boolean expression for whether a particular entry should be included in the response.
Valid OData properties include the following:
n
name - lter based on catalog item name.
n
status - lter based on catalog item status.
n
service/id - lter based on catalog item service id.
n
service/name - lter based on catalog item service name.
n
organization/subTenant/id - lter based on catalog item business group ID, which
you can nd in the catalogItem payload under organization > subtenantRef
n
organization/subTenant/name - lter based on catalog item business group name,
which you can nd in catalogItem payload under organization
>subtenantLabel
n
outputResourceType/id - lter based on catalog item output resource type ID, for
example : Infrastructure.Virtual
n
outputResourceType/name - Filter based on catalog item output resource type
name, for example: "VirtualMavhine".
n
catalogItemType/id - lter based on catalog item type ID, for example:
"Infrastructure.Virtual".
n
catalogItemType/name - lter based on catalog item type name, for example:
"VirtualMachine".
n
icon/id - lter based on catalog item icon ID.
serviceId (Optional) Query parameter to lter the returned catalog items by one specic service.
onBehalfOf (Optional) Query parameter that provides the value of the user ID when making a
request on behalf of another user.
Output
The command output contains property names and values based on the command input parameters.
Property Description
outputResourceTypeRef Species the type of the resource that results from requesting the catalog item.
catalogItemId Species the catalog item identier.
name Species the user friendly name of the catalog item. Species the property type is
string.
description Species a short description of the catalog item. Species the property type is string.
catalogItemTypeRef Species the type of the catalog item.
serviceRef Species the catalog service that contains the catalog item.
iconId Species the associated icon representing this item.
isNoteworthy Species if the catalog item should be highlighted to users for a period of time.
dateCreated Species the date that this item was created in the catalog.
lastUpdatedDate Species the date that this item was last updated in the catalog.
entitledOrganizations The list of organizations in which the current user can consume the catalog item.
Example Curl Command
The following example command retrieves information about all the available shared catalog items of the
type ConsumerEntitledCatalogItemView.
curl --insecure -H "Content-Type: application/json"
-H "Authorization: Bearer $token” https://$host/catalog-
service/api/consumer/entitledCatalogItemViews
Chapter 3 REST API Use Cases
VMware, Inc. 39