CLI Reference Guide

List catalogs
Details
URI
/catalog
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" on page 88 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 basic. See "Values for the detail parameter" on page 139.
Some API calls do not support all possible values for this parameter.
Returns
200 - Ok
401 - Not authorized
500 - Server exception
Examples
Use the following URL:
https://<host>:<port>/csa/rest/catalog
?userIdentifier=90d9652b35f46a930135f35b327e00a0&scope=base&detail=basic
The following XML was returned in the response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CatalogList>
<count>12</count>
<limit>0</limit>
<catalog>
<id>402895e566cb32ss0136cb831752000f</id>
<objectId>402895e566cb32ss0136cb831752000f</objectId>
<createdOn>2012-04-19T09:23:04.913-06:00</createdOn>
<updatedOn>2012-04-19T09:23:04.913-06:00</updatedOn>
<isCriticalSystemObject>false</isCriticalSystemObject>
<description>Default catalog for the organization.</description>
<name>consumer_catalog_a</name>
<displayName>Consumer Catalog A</displayName>
HP Cloud Service Automation (4.00) Page 46 of 141
APIReference
Contents