HP CloudSystem Enterprise Uživatelská příručka Strana 70

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 150
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 69
Details
URI
/catalog/<calalog_id>/policy/<policy_id>/setSOApprovalPolicy
Use "Catalog API" on page 44 to get the catalog ID. Use "List offerings in the
catalog" on page 54to geta catalog's service offering IDs, and "Get offering
details" on page 55to 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" on page 91 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:
APIReference
HP Cloud Service Automation (4.10) Page 70 of 150
Zobrazit stránku 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 149 150

Komentáře k této Příručce

Žádné komentáře