Partially Update a specific workflowTask by workflowTask Id

patch

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

Partially Updates a workflowTask based on the specified workflowTask Id

Request

Path Parameters
Supported Media Types
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 by providing partial payload.

Note

Below is the list of Fields that are not allowed for update using PATCH.

  • CreateBy
  • CreatedGmt
  • UpdatedBy
  • UpdatedGMT
  • EntityCode
  • EntityId
  • workflowTaskDefinitionId
  • WorkflowTaskId

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/ED2D806B-EDCB-4925-AF01-650D7856FEDB"

Example Request Body

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

{
  "workflowTask":
    {
      "statusCode": "ReassignedTo",
      "assignedTo": "JohnD"
        "workflowComments": {
        "comments": "Update workflow comment"
      }
    }
}
Back to Top