CLI Reference Guide
Details
URI
/catalog/<calalog_id>/policy/<policy_id>/setSOApprovalPolicy
Use /catalog to get the catalog ID. Use /catalog/<catalog_id>/offeringto geta
catalog's service offering IDs, and /catalog/<catalog_id>/offering/<offering_
id>to get a service offering's policy ID.
Method
POST
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See Get
userIdentifier for the steps required to get the userIdentifier value.
Request
Body
The request body contains the list of service offering IDs that are to be updated.
Response
Body
The response body will be a MessageListVO with success and failure
messages.
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/8a81818f3d4251ed013d46cc8590012c/setSOApprovalPolicy?
userIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was sent in the request body:
<ServiceOfferingList>
<ServiceOffering>
<id>8a81818f3d4251ed013d427c75e5005d<id>
</ServiceOffering>
<ServiceOffering>
<id>8a81818f3d4251ed013d427c75e127c3<id>
</ServiceOffering>
<ServiceOffering>
<id>12345<id>
</ServiceOffering>
</ServiceOfferingList>
The following XML was returned:
HP Cloud Service Automation (4.00)Page 69 of 141
APIReference
Contents