WebSphere Process Server, Version 6.2.0.1 Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, i5/OS, z/OS


Business Flow Manager REST Interface - Process Template Resource - GET Method

Use this method to retrieve details of a specified process template.

Resource URI

GET /v1/processTemplate/{ptid}

Parameters

None.

Request Content

None.

Response Content

Process template details.

The default content-type is application/json.

MIME Type: application/json


+ View Schema
{  "description": "BFM Process Template", 
   "type": "object",
   "properties":
   {  "applicationName": {"type": "string",
         "description": "Name of the application the process template is part of."
      },
      "autoDeletionMode": {"type": "string", 
         "description": "Specifies whether an instance of the process template is automatically or conditionally deleted when it reaches an end execution state.",
         "enum":
         [
            "AUTO_DELETE_YES",
            "AUTO_DELETE_NO",
            "AUTO_DELETE_ON_SUCCESSFUL_COMPLETION"
         ]
      },
      "autonomy": {"type": "string", 
         "description": "Specifies whether an instance of the process template runs dependently of a potential parent or not.",
         "enum":
         [
            "AUTONOMY_PEER", 
            "AUTONOMY_CHILD",
            "AUTONOMY_NOT_APPLICABLE" 
         ]
      },
      "creationTime": {"type": "string", "format": "date-time",
         "description": "Creation time of the process template."
      },
      "customProperties" : {"type": "object", "additionalProperties": {"type": "string"},
         "description": "List of custom property names and values."
      },
      "description": {"type": "string",
         "description": "Description of the process template."
      },
      "displayName": {"type": "string",
         "description": "Display name of the process template."
      },
      "executionMode": {"type": "string", 
         "description": "States whether the process template can be executed as a microflow or as a macroflow.",
         "enum":
         [
            "EXECUTION_MODE_LONG_RUNNING",
            "EXECUTION_MODE_MICROFLOW" 
         ]
      },
      "inputType": {"type": "string", 
         "description": "Name of the input message type. The value has the format {namespace}localname."
      },  
      "isBusinessRelevant": {"type": "boolean",
         "description": "States whether a process instance derived from this template is a business relevant or an 'auxiliary' step."
      },
      "isCompensationDefined": {"type": "boolean",
         "description": "States whether an instance of the process template can be compensated."
      },
      "isContinueOnError": {"type": "boolean",
         "description": "States whether process instances derived from this template stop in case of an unhandled error or not."
      },
      "lastModificationTime": {"type": "string", "format": "date-time",
         "description": "Last time a property of the process template changed."
      },
      "name": {"type": "string",
         "description": "Name of the process template."
      },
      "ptid": {"type": "string",
         "description": "ID of the process template."
      },
      "schemaVersion": {"type": "string",
         "description": "Version of the XML schema that describes the process template."
      },
      "state": {"type": "string", 
         "description": "States whether the process template is started or stopped.",
         "enum":
         [
            "STATE_STARTED",
            "STATE_STOPPED" 
         ]
      },
      "targetNamespace": {"type": "string",
         "description": "XML Schema target namespace of the process template."
      },
      "validFromTime": {"type": "string", "format": "date-time",
         "description": "Time the process template became or becomes valid."
      },
      "version": {"type": "string",
         "description": "User-specified version of the process template."
      }
   }
}

Error Response Content

Detailed error information.

The default content-type is application/json.

MIME Type: application/json


+ View Schema
{  "description": "BFM Error Response", 
   "type": "object",
   "properties":
   {  "errorNumber": {"type": "string",
         "description":"Message ID of the exception."
      },
      "errorMessage": {"type": "string",
         "description":"Message text of the exception."
      },
      "programmersDetails": {"type": "object", "optional": true,
         "description":"Additional, exception details, for example, a stack trace."
      }
   }
} 

Status Codes

The method returns one of the following status codes:
CodeDescription
200 OKSuccess completion.
400 Bad RequestThe parameters are not valid or they are missing.
401 UnauthorizedThe caller is not authorized for this request.
404 Not Found
The process template does not exist.
500 Internal Server ErrorA severe problem has occurred, programmer's details are provided.

Available Since

6.2

Parent Topic: Process Template Resource