CLI Reference Guide
<name>BUSINESS_ROLE</name>
<displayName>Business Role</displayName>
<extensible>false</extensible>
</categoryType>
</businessRole>
</Organization>
List organization's approval policies
Details
URI
/organization/<organization_id>/approvalPolicy
Method
GET
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?userIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was returned:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ApprovalPolicyList>
<UserContextApprovalTemplate>
<id>8a81818f3d1421e7013d1423646e0008</id>
<objectId>8a81818f3d1421e7013d1423646e0008</objectId>
<createdOn>2013-02-25T17:34:56.623-08:00</createdOn>
<updatedOn>2013-02-25T17:34:56.627-08:00</updatedOn>
...
<name>USER_CONTEXT_APPROVAL_TEMPLATE_QA_ORG_1</name>
<displayName>
QA Org 1 User Context Approval Template
</displayName>
<state> ... </state>
<artifactType> ... </artifactType>
...
<automaticApproval>false</automaticApproval>
HP Cloud Service Automation (4.00) Page 100 of 141
APIReference
Contents