CLI Reference Guide
List most requested, recently requested, or new
offerings
Details
URI
/organization/offering
Organization is determiend by userIdentifier.
Method
GET
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 88 for the steps required to get the userIdentifier value.
queryType=[mostRequested|recentlyRequested|newReleases]
Optional; the ten most requested, most recently requested, or newly released
offerings in all catalogs for the organization are returned.
Returns
200 - Ok
401 - Not authorized
404 - Not found
500 - Server exception
Example
The following URL was sent:
https://<host>:<port>/csa/rest/organization/offering?userIdentifier=90e763db3ed8
fe91013ed90155e600b0&queryType=mostRequested
The following XML was returned in the response:
<ServiceOfferingList>
<count>1</count>
<limit>0</limit>
<ServiceOffering>
<id>90e763db3ed8fe91013ed9017c4e0264</id>
<createdOn>2013-05-24T17:05:53.358-07:00</createdOn>
<updatedOn>2013-05-24T17:06:05.287-07:00</updatedOn>
<isCriticalSystemObject>false</isCriticalSystemObject>
<description>Ready to do more today? Standardize on Red Hat Enterprise Linu
x and get more of everything you expect from an enterprise-class open source ope
rating system with flexibility, efficiency and control.</description>
<detailedDescription>Ready to do more today? Standardize on Red Hat Enterpr
ise Linux and get more of everything you expect from an enterprise-class open so
urce operating system with flexibility, efficiency and control.</detailedDescrip
tion>
<iconUrl>/csa/images/offerings/Microsoft-Frontpage-icon.png</iconUrl>
HP Cloud Service Automation (4.00)Page 109 of 141
APIReference
Contents