Develop > Application Programming Interface > Legacy APIs > Organization API > List most requested, recently requested, or new offerings

List most requested, recently requested, or new offerings

Details

URI /organization/offering
Organization is determined by userIdentifier.
Method GET
Parameters

userIdentifier=<user_id>
    Required; the user ID that you want to use as credentials for this API call. See Get userIdentifier 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=90e763db3ed8fe91013ed90155e600b0&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 Linux and get more of everything you expect from an enterprise-class open source operating system with flexibility, efficiency and control.</description> 
     <detailedDescription>Ready to do more today? Standardize on Red Hat Enterprise Linux and get more of everything you expect from an enterprise-class open source operating system with flexibility, efficiency and control.</detailedDescription> 
     <iconUrl>/csa/images/offerings/Microsoft-Frontpage-icon.png</iconUrl> 
     <name>Enterprise Red Hat Linux Server</name> 
     <displayName>Enterprise Red Hat Linux Server</displayName> 
     <catalogItem> 
       <id>90e763db3ed8fe91013ed901a9ae047d</id> 
       <catalog> 
         <id>90e763db3ed8fe91013ed90156b100b4</id> 
         <isCriticalSystemObject>false</isCriticalSystemObject> 
         <disabled>false</disabled> 
       </catalog>  
       <category> 
         <id>90d96588360da0c701360da0f4cc00ec</id> 
         <isCriticalSystemObject>false</isCriticalSystemObject>
         <name>APPLICATION_SERVERS</name>
         <displayName>Application Servers</displayName> 
         <disabled>false</disabled> 
       </category> 
     </catalogItem> 
     …
     <catalogItem>…</catalogItem>
     <state> 
       <isCriticalSystemObject>false</isCriticalSystemObject> 
       <disabled>false</disabled> 
     </state> 
     <artifactType> 
        <id>90d96588360da0c701360da0eecb001b</id> 
       <isCriticalSystemObject>false</isCriticalSystemObject> 
       <disabled>false</disabled> 
     </artifactType> 
     <disabled>false</disabled>
   </ServiceOffering> 
 </ServiceOfferingList>