
Get count of approvals for user
Details
URI
/user/approval/count
Gets the number of approvals for the user associated with userIdentifier. The
results are grouped by approval result state.
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 91 for the steps required to get
the userIdentifier value.
Returns 200 - Ok
401 - Not authorized
500 - Server exception
Delete multiple approval requests
Details
URI
/user/multipleApprovals/delete
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.
Returns 200 - Ok (Indicates the REST call executed without error.See XML return content
for whether all specified approvalrequests were deleted.)
401 - Not authorized
404 - Object not found
500 - Server exception
An approval request can only be deleted if its state is APPROVED or DENIED.
Example
The following URL was sent:
https://<host>:<port>/csa/rest/user/multipleApprovals/delete
?userIdentifier=90d965c0379fd06601379fd192b30ee6
The following XML was sent in the request:
APIReference
HP Cloud Service Automation (4.10) Page 137 of 150
Kommentare zu diesen Handbüchern