CLI Reference Guide

<description>Named Approver Template</description>
...
</approvalType>
<automaticApprovalDecision> ... </automaticApprovalDecision>
<approver>
<id>8a81818f3d1437e2013d17eec74408d8</id>
...
<userName>BudgetManager</userName>
...
</approver>
<approver>
<id>8a81818f3d1437e2013d177b13f107dd</id>
...
<userName>ProjectManager</userName>
...
</approver>
</NamedApproverApprovalTemplate>
Update approval policy
Details
URI
/organization/<organization_id>/approvalPolicy/<policy_id>
Method
PUT
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 88 for the steps required to get the userIdentifier value.
Returns
200 - Ok
401 - Not authorized
404 - Object not found
500 - Server exception
Example
The following URL was sent:
https://<host>:<port>/csa/rest/organization/8a81818f3d1421e7013d1423635a0003/
approvalPolicy/8a81818f3d1437e2013d17f249c30a0c?
userIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was sent in the request. It will change the list of approvers to user
ProjectManager, set automaticApproval to false, and set automaticApprovalDecision to
REJECTED.
<NamedApproverApprovalTemplate>
<displayName>Updated-My-Approval-Template</displayName>
HP Cloud Service Automation (4.00)Page 105 of 141
APIReference
Contents