Create workflowTask

post

/PASService/rest/services/v1/workflowTasks

Creates single or multiple workflowTasks

Request

There are no request parameters for this operation.

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

Response

201 Response

successful operation
Back to Top

Examples

This example describes how to create a workflowTask.

Example cURL Command

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

curl -X POST \
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
     -L "http://server:port/PASService/rest/services/v1/workflowTask/70F1A8AB-0E4C-43CF-9558-94C9C9992DB6" \
     -d '{"Use this placeholder to plug-in the example request body given below"}'

Example Request Body

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

{
  "workflowTasks": [
    {
      "workflowTaskDefinitionId": "70F1A8AB-0E4C-43CF-9558-94C9C9992DB6",
      "statusCode": null,
      "entityCode": "CLIENT",
      "entityId": "DBAF4F5D-0007-43A6-A862-57D64FF3C81D",
      "assignedTo": null,
      "workflowComments": {
        "comments": "Test workflow"
      }
    }
  ]
}
Back to Top