REST API - listProcessTemplates

The table summarizes the REST API - listProcessTemplates.

Request

Format
GET <baseurl>/process/list/template
Query parameters
  • module=string (0..n): Name of the module to which the process template belongs.
  • process=string (0..n): Name of the process template.
  • version=string (0..n): OSGi-style version number of the process template. (This version number is the same as that of the module

    These parameters can be obtained from queryProcessTemplates and queryProcessTemplatesAlt . Omitting these values, returns a list of all process templates.

Response

JSON Returns a JSON representation of the content of the basicProcessTemplates element.
XML Returns the content of the basicProcessTemplates element (from the ProcessManagement schema).

Example

Request
GET <baseurl>/process/list/template
Response
{
  "xml-fragment": {
    "proc:basicProcessTemplate": [
{
        "@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType",
        "proc:processQName": {
          "proc:moduleName": "/SalesSurvey/Process Packages/SalesSurvey.xpdl",
          "proc:processName": "SalesSurveyProcess",
          "proc:version": "1.0.1.201301210953"
        }
      },
{
        "@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType",
        "proc:processQName": {
          "proc:moduleName": "/SalesCallback/Process Packages/SalesCallback.xpdl",
          "proc:processName": "SalesCallbackProcess",
          "proc:version": "1.0.4.201301210953"
        }
      },
                .
                .
                .
      {
        "@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType",
        "proc:processQName": {
          "proc:moduleName": "/HelpDesk/Process Packages/HelpDesk.xpdl",
          "proc:processName": "InternalHelpDesk",
          "proc:version": "1.0.0.201301210953"
        },
        "proc:description": "*** Generated by TIBCO Business Studio."
      }
    ]
  }
}