
URI
/catalog/<catalog_id>/offering/<offering_id>
Use "Catalog API" on page 44 to get the catalog ID and "List offerings in the
catalog" on the previous page to get the offering 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.
scope=[base|baseplusone|subtree]
Optional; default is base. If value is base, then the object is returned. If value is
baseplusone, then the object and its first level children are returned. If value is
subtree, then the object and all of its descendants are returned.
detail=[required|basic|standard|template|full]
Optional; default is full. See "Values for the detail parameter" on page 147. Some
API calls do not support all possible values for this parameter.
Returns 200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception
Examples
Use the following URL:
https://<host>:<port>/csa/rest/catalog/402895e33732af18013732b6f435006b/
offering/402895e337326d300137327ce1e30074
?userIdentifier=90d9652b67ss6a930135f35b327e00a0
The following XML was returned in the response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceOffering>
<id>402895e337326d300137327ce1e30074</id>
<objectId>402895e337326d300137327ce1e30074</objectId>
<createdOn>2012-05-09T10:44:34.147-06:00</createdOn>
<updatedOn>2012-05-09T11:48:26.170-06:00</updatedOn>
...
</ServiceOffering>
List requests in the catalog
Deprecation Notice
The GET/catalog/<catalog_id>/request URI has been deprecated. Use URI /user/myrequest
instead as using the deprecated URI will not allow viewing requests created by users who
previously had access to the catalog, but no longer have access.
APIReference
HP Cloud Service Automation (4.10) Page 56 of 150
Comentarios a estos manuales