CLI Reference Guide
<organization>
<name>CSA_CONSUMER</name>
</organization>
</person>
<approverResult>
<name>REJECTED</name>
</approverResult>
<approvalComment>comment</approvalComment>
</Approver>
Update catalog approval policies
Use this API to associate an approval policy with the specified catalog.
Details
URI
/catalog/<calalog_id>/policy/<policy_id>/setCatalogApprovalPolicy
Use /catalog to get the catalog ID. Use /organization/<organization_
id>/approvalPolicyīto getīan organization's approval policy IDs.
Method
POST
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See Get
userIdentifier for the steps required to get the userIdentifier value.
Response
Body
The response body will be an ApprovalPolicyVO of base/full.
Returns
200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception
Examples
The following URL was sent:
https://<host>:<port>/csa/rest/catalog/8a81818f3d4251ed013d46c2b7f602bc/
policy/8a81818f3d4251ed013d4259f57c0008/setCatalogApprovalPolicy?
userIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ApprovalPolicyList>
<count>2</count>
<limit>0</limit>
<approvalPolicy>
HP Cloud Service Automation (4.00)Page 67 of 141
APIīReference
Contents