Develop > Application Programming Interface > Deprecated APIs > List requests in the catalog

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.

Details

URI /catalog/<catalog_id>/request
Use /catalog to get the catalog 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|view]
    Optional; default is base.

detail=basic
    Optional; The only valid value is basic.

submitter=<user_name>
    Required; user name must be valid and must be authorized to view the request.

returnRetired=[true|false]
    Optional; default is false.

Returns 200 - Ok
401 - Not authorized
500 - Server exception

Examples

The following URL was sent:

https://localhost:8444/csa/rest/catalog/8a8181853810699a0138106dcebc0011/request/ ?userIdentifier=8a8181853810699a01381076be5400a0

The following XML was returned in the response:


<ServiceRequestList>
   <count>21</count>
   <limit>0</limit>
   <ServiceRequest>
      <id>8a8181853810699a01381079190800a7</id>
      <objectId>8a8181853810699a01381079190800a7</objectId>
      <createdOn>2012-06-21T12:16:08.073-07:00</createdOn>
      <updatedOn>2012-06-21T12:16:50.787-07:00</updatedOn>
      <isCriticalSystemObject>false</isCriticalSystemObject>
      <description>SD2 Offering</description>
      <detailedDescription>desc - SD2 offering</detailedDescription>
      <iconUrl>/csa/images/library/application.png</iconUrl>
      <name>request 1</name>
      <displayName>request 1</displayName>
      <state>
         <id>90d96588360da0c701360da0ef470038</id>
         <objectId>90d96588360da0c701360da0ef470038</objectId>
         <createdOn>2012-06-21T11:51:43.267-07:00</createdOn>
         <isCriticalSystemObject>true</isCriticalSystemObject>
         <description>Active</description>
         <iconUrl>/csa/images/categories/artifact_state/active.png</iconUrl>
         <name>ACTIVE</name>
         <displayName>Active</displayName>
         <disabled>false</disabled>
         <categoryType>
            <id>90d96588360da0c701360da0ef420037</id>
            <objectId>90d96588360da0c701360da0ef420037</objectId>
            <isCriticalSystemObject>true</isCriticalSystemObject>
            <name>ARTIFACT_STATE</name>
            <displayName>Artifact State</displayName>
            <extensible>false</extensible>
         </categoryType>
      </state>
      ...
   </ServiceRequest>
</ServiceRequestList>