Get Offering Details

Details

URI /catalog/<catalog_id>/offering/<offering_id>
Use Catalog API to get the catalog ID and List Offerings in the Catalog to get the offering ID.
Method GET
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 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. Some API calls do not support all possible values for this parameter.

restrict=[true|false]

Optional; default is true. If the value is true, then the output fields of the REST response are restricted. By default, the following fields are not displayed: createdBy, updatedBy, createdOn, updatedOn, description, iconUrl, and categoryType. If the value is false, then the output fields are displayed.

See Values for the restrict Parameter for more information.

excludedoc=[true|false]

Optional; default is true. If the value is true, then the document field is not included in the REST response. If the value is false then the document field is included in the REST repsonse.

See Values for the excludedoc Parameter for more information.

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>