CLI Reference Guide
URI
/user/request/count
Gets the number of requests for the user associated with userIdentifier. The
results are grouped by request state.
Returns
200 - Ok
401 - Not authorized
500 - Server exception
Cancel multiple service requests
Details
URI
/user/multipleRequest/cancel
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 88 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 requests were canceled.)
401 - Not authorized
404 - Object not found
500 - Server exception
A request can only be cancelled if its state is PENDING.
Note:
l When a pending subscription modification request is canceled, only the modification is
canceled; the subscription is not changed.
l Once a subscription request has been approved, the request can no longer be canceled. The
subscription, though, can be canceled.
Example
Use the following URL:
https://<host>:<port>/csa/rest/user/multipleRequest/cancel
?userIdentifier=90d965c0379fd06601379fd192b30ee6
The following XML was sent in the request:
<ServiceRequestList>
<ServiceRequest>
<id>90e72e283b05aff1013b0b2c015103a4</id>
<catalogItem>
<catalog>
<id>90d965c0379fd06601379fd1936a0f05</id>
HP Cloud Service Automation (4.00) Page 126 of 141
APIReference
Contents