PUT /rest/bpm/htm/v1/task/{tkiid}?action={string}&mode={string}[&relation={string}][&parentTaskID={string}]| Name | Value Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| action | string | Action to be performed for the specified task.
|
||||||
| mode | string | Task start mode.
|
| Name | Value Type | Description | ||||
|---|---|---|---|---|---|---|
| relation | string | Task relationship - must be specified together with the parentTaskID parameter.
|
||||
| parentTaskID | string | Task ID of the parent task - must be specified together with the relation parameter.
|
The default content-type is application/xml.
The default content-type is application/xml.
The default content-type is application/json.
{ "description": "Error Response",
"type": "object",
"properties":
{ "errorNumber": {"type": "string",
"description": "Message ID of the exception."
},
"errorMessage": {"type": "string",
"description": "Message text of the exception."
},
"errorMessageParameters": {"type": ["string"], "optional": true,
"description":"Message text parameters of the exception."
},
"programmersDetails": {"type": "object", "optional": true,
"description":"Additional, exception details, for example, a stack trace."
}
}
}
| Code | Description |
|---|---|
| 200 OK | Success completion. |
| 400 Bad Request | The parameters are not valid or they are missing. |
| 401 Unauthorized | The caller is not authorized for this request. |
| 404 Not Found | The task does not exist.
|
| 406 Not Acceptable | The requested content type or content encoding is not supported. |
| 409 Conflict | A conflict exists with the current state of the resource. |
| 415 Unsupported Media Type | The content type or content encoding of the request is not supported. |
| 500 Internal Server Error | A severe problem has occurred. Programmer's details are provided. |
| Release | Description |
|---|---|
| 6.2 | New parameters have been added to this method to allow starting a previously created task as a subtask of another task:
|
6.1.2
Parent topic: Task Instance Resource