Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page Properties
hiddentrue
idDONE

Product Version
Report Note
Assignee

Resources & Remarks

Modification History

NameDateProduct VersionAction
Antje18 MAY 20212021 SummerPage created.


...

As of Version

product version 2020 Autumn | component version 

Request MethodPOST
Response FormatHTTP status code
Description


Excerpt

Updates a task specified by its taskId. The task action is defined in JSON format in the request body.

Response HTTP status codes:

HTTP Status CodeMeaning
200The action was executed.
400

The body contains an invalid value or the assignee is missing while the action requires it.

404

The specified task was not found.


Request Example

https://<host>/api-web/api/bpm/tasks/4345abc-acb3485739-ef3

Code Block
languageyml
titlerequest body
{
  "assigneeaction": {
    "id": "string""claim",
    "title": "string"
  },
  "attachments": [
    "string"
  ],
  "initiator": {
    "idsubject": "string",
 
  "titlevariables": "string"
  },
  "owner": {
    "id": "string",
    "title": "string"[
  },   "processDefinition": {
    "description": "string",
    "id": "string",
   
"idPrefix": "string",     "name": "string"
  },
  "subject": "string",   "variables": [
    {
      "namescope": "string",
      "type": "string",
      "value": {}
    }
  ]
}


Response Example

200 OK

Code Block
languageyml
titleresponse body
{
  "assignee": {
    "id": "string",
    "title": "string"
  },
  "attachments": [
    "string"
  ],
  "claimTime": "string",
  "createTime": "string",
  "description": "string",
  "formKey": "string",
  "id": "string",
  "initiator": {
    "id": "string",
    "title": "string"
  },
  "name": "string",
  "owner": {
    "id": "string",
    "title": "string"
  },
  "parentTaskId": "string",
  "processDefinition": {
    "description": "string",
    "id": "string",
    "idPrefix": "string",
    "name": "string"
  },
  "subject": "string",
  "suspended": true,
  "variables": [
    {
      "name": "string",
      "scope": "string",
      "type": "string",
      "value": {}
    }
  ]
}


...