
URI
/catalog/<calalog_id>/approval/<approval_id>/approver
Use "Catalog API" on page 44 to get the catalog ID and "List approvals in the
catalog" on page 64 to get the approval ID.
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.
Body ApprovalProcess instance required in request body.
Returns 200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception
Examples
The following URL was sent to approve a subscription request:
https://<host>:<port>/csa/rest/catalog/90540a9734f502880134f502c82e0011/
approval/65920b6356n204770943t567ss2r1503/approver
?userIdentifier=90d9667ss5f46a930135f35b327e00a0
The following XML was sent in the request:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Approver>
<person>
<userName>approver0@hp.com</userName>
<organization>
<name>CSA_CONSUMER</name>
</organization>
</person>
<approverResult>
<name>APPROVED</name>
</approverResult>
</Approver>
The following URL was sent to reject a subscription request:
https://<host>:<port>/csa/rest/catalog/90540a9734f502880134f502c82e0011/
approval/65920b6356n204770943t567ss2r1503/approver
?userIdentifier=90d9667ss5f46a930135f35b327e00a0
The following XML was sent in the request:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Approver>
<person>
<userName>approver0@hp.com</userName>
APIReference
HP Cloud Service Automation (4.10) Page 67 of 150
Komentáře k této Příručce