REST API - saveTerminatedProcessInstances - For all process templates

The table summarizes the REST API - saveTerminatedProcessInstances.

Request

Format
PUT <baseurl>/process/save/terminated/instances/<willsave>
Path parameters willSave: indicates whether terminated process instances should be saved.

Response

JSON If successful, returns 200 OK in the response header, and status message in the response body.
XML If successful, returns 200 OK in the response header, and status message in the response body.

Example using

Request
PUT <baseurl>/process/save/terminated/instances/true
Response
{
  "xml-fragment": {
    "statusMessage": "saveTerminatedProcessInstances operation has completed. Save state was updated for 2 process templates",
    "details": "saveTerminatedProcessInstances criteria used:
<saveTerminatedProcessInstancesRequest xmlns=\"http://www.tibco.com/bx/2009/management/processManagerType\">
<willSave>true</willSave>
</saveTerminatedProcessInstancesRequest>"
  }
}