Getting Requests of a Certain Type

Note: This RESTful web service returns at most 10,000 requests of a certain type.

Request: http://<PPM_Server_IP>:<port>/itg/rest/dm/requestTypes/{id}/requests

HTTP Method: GET

Description: Get requests of a certain request type specified by the request type ID

Request path variables:

Attribute Description Required
id The ID of the request type Yes

Response entity body:

  • on success: Returns an XML object of the requests of a certain type with the following format:

    <ns2:requests xmlns:ns2="http://www.hp.com/ppm/dm/">
       <request> 
         <id>30332</id>
         <description>WebService Test</description>
       </request>
       <request>
         <id>30182</id>
         <description>Test SOAP web service</description>
       </request>
    </ns2:requests>
  • on failure: The following message codes are returned if the operation fails:

    Message Code

    Message

    Cause

    Possible Corrective Action

    PPM_WSE000

    Internal Error

    There was an internal error when you executed the operation.

    N/A

    PPM_WSE001

    Cannot Get Internal Server Connection

    There was an error when you tried to connect to the PPM server.

    N/A

    PPM_WSE020

    The Request Type {0} doesn't exist

    The request type that the user tried to access does not exist.

    Correct the Request Type ID in the URL.

    PPM_WSE021

    You do not have access to view Request Types

    The user executing this operation does not have the required access grants.

    Verify that the user has the required access grants. For more information, see Function.

    PPM_WSE023

    The request type with Id {0} is not enabled

    The request type that the user tried to access is not enabled.

    Enable the request type.