Getting Enabled Request Types

Request: http://<PPM_Server_IP>:<port>/itg/rest/dm/requestTypes

HTTP Method: GET

Description: Get enabled request types.

Response entity body:

  • on success: Returns an XML object of the enabled request types with the following format:

    <ns2:requestTypes xmlns:ns2="http://www.hp.com/ppm/dm/">
       <requestType>
          <id>31060</id>
          <name>DEM - Application Bug</name>
          <description> Application bugs should be used to report problems in 
            current IT applications.</description>
       </requestType>
       <requestType>
          <id>31120</id>
          <name>DEM - Database Refresh</name>
          <description> Database refresh requests can be made for all IT Ops 
          applications in the testing phase. Standard IT Ops service levels apply.
          </description>
       </requestType>
       <requestType>
          <id>31150</id>
          <name>DEM - Initiative</name>
          <description> Initiative request should be used to request key projects for future quarters. Provided approval from key stakeholders, 
           Initiative requests will be reviewed in the third week of each quarter.</description>
       </requestType>
       <requestType>
          <id>31430</id>
          <name>test</name>
          <description>Bug Request type</description>
       </requestType>
    </ns2:requestTypes>
  • 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_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.