7.2

Table Of Contents
"totalPages": 1,
"number": 1,
"offset": 0
}
}
Syntax for Getting Information for a Catalog Item
You can use the REST API catalog service to get information about a specic catalog item if desired.
REST API Catalog Service
The REST API supports OData ltering. For more information about supported OData lters, refer to the
vRealize Automation API Reference, particularly the REST API Tips page located at
https://$host/component-registry/services/docs/odata.html.
For specic information about catalog service lters, see the "Important Notes About catalog-service and
OData Queries" topic located at https://$host/catalog-service/api/docs/index.html.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL hps://$host/catalog-service/api/consumer/catalogItems
$host Species the host name and fully qualied domain name or IP address of the
vRealize Automation identity server.
$token Species a valid HTTP bearer token with necessary credentials.
page number The page number. Default is 1.
limit The number of entries per page. The default is 20.
$orderby Multiple comma-separated properties sorted in ascending or descending order. 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.
$top Sets the number of returned entries from the top of the response
$skip Sets the number of entries to skip.
Programming Guide
38 VMware, Inc.