Request

POST /pub/v1/tasks/{id}/percent

Path parameters

Parameter name Value Description Additional
id uuid

Task ID

Required

Request body

The resource sent in the request body is  Changing task completion percentage — Request. It contains the following writable properties:

{
    "comment": "string",
    "instanceId": "uuid",
    "percent": "double"
}

Properties

Name Type Description Additional
comment string

Comment

Optional
instanceId uuid

Process instance ID

Required
percent double

Completion percentage (minimum 0, maximum 100)

Required

Authorization

This request requires the use of one of following authorisation methods: API key

Response

The following HTTP status codes may be returned:

Status code Description Resource
200 OK

Task completion percentage change model

Task completion percentage change model (Changing task completion percentage)
400 Bad Request

Invalid request parameters

403 Forbidden

Insufficient permissions to change the task completion percentage

404 Not Found

Task not found