CLI Reference Guide
List approvals in the catalog
Deprecation Notice
The GET/catalog/<catalog_id>/approval URI has been deprecated. Use URI /user/myapproval
instead as using the deprecated URI will not allow access to new functionality including the ability
to list all approvals from all catalogs for a specified approver.
Details
URI
/catalog/<catalog_id>/approval
Use "List catalogs" on page 46 to get the catalog ID.
Method
GET
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. This user
should be a consumer user who has the necessary permissions for the data you
want to work with. See "Get userIdentifier" on page 88 for the steps required to
get the userIdentifier value.
scope=[base|baseplusone|subtree|view]
Optional; default is base. If value is base, then the object is returned. If value is
baseplusone, then the object and its first level children are returned. If value is
subtree, then the object and all of its descendants are returned. If the value is
view, then the view parameter is required.
detail=[required|basic|standard|template|full]
Optional; default is basic. See "Values for the detail parameter" on page 139.
Some API calls do not support all possible values for this parameter.
approver=<user_name>
Optional; the name of the approver.
returnRetired=[true|false]
Optional; default is false.
Caution: The users specified by userIdentifierand approvermust be in
the same organization.
Returns
200 - Ok
401 - Not authorized
500 - Server exception
HP Cloud Service Automation (4.00)Page 63 of 141
APIReference
Contents