Previous JavaScript must be enabled to correctly display this content

## Update a specific workflowTask by workflowTask Id

put

/PASService/rest/services/v1/workflowTasks/{workflowTaskId}

Updates a workflowTask based on the specified workflowTask Id

### Request

Path Parameters

- workflowTaskId(required): string(guid)
  WorkflowTask Id

Supported Media Types

- application/json

Request Body - application/json ()
Root Schema : schema
Type: `string`
Back to Top

### Response

#### 204 Response

successful operation
Back to Top

### Examples

This example describes how to update a specific workflowTask by workflowTask Id.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

    curl \
        -X GET \
        -H "Content-Type: application/json" \
        -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
        -L "http://server:port/PASService/rest/services/v1/workflowTask/70F1A8AB-0E4C-43CF-9558-94C9C9992DB6"

Example Request Body

The following shows an example of the request body in JSON format:

    {
      "workflowTask":
        {
          "workflowTaskDefinitionId": "70F1A8AB-0E4C-43CF-9558-94C9C9992DB6",
          "statusCode": "ASSIGNED",
          "entityCode": "CLIENT",
          "entityId": "DBAF4F5D-0007-43A6-A862-57D64FF3C81D",
          "assignedTo": "John",
          "workflowComments": {
            "comments": "Test workflow"
          }
        }
    }

Back to Top