
<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 API" on page 44 to get the catalog ID. Use "List organization's
approval policies" on page 105to getan 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" on page 91 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>
APIReference
HP Cloud Service Automation (4.10) Page 68 of 150
Kommentare zu diesen Handbüchern