Submit a task

This endpoint will submit a single task available for a certain user. The user is identified by the given authentication.

Request

URL: /task/submit/{taskId}

Method: POST

Authorization: required

POST /ibis/rest/task/submit/23 HTTP/1.1
Accept: application/xml
Host: localhost:8080

Request Parameters

Name Description Required Allowed values

taskId

Unique task identifier

yes

Any positive integer

portal

A string value to indicate that the portal has to work independently without Process user configuration.

no

standalone

Request Headers

Name Description Required Allowed values

ProcessRoles

A process role string value which has the rights to submit the task. This header is required only when the submit action is to be performed independently and without any process user configuration. The roles should be send in the body of the request.

no

Any role as string.

Body

Example


<?xml version="1.0" encoding="UTF-8"?>
<Form><Response submitter="value"><Panel><TextArea_308086401>Test</TextArea_308086401><submitId>submitId</submitId></Panel></Response></Form>

Response

HTTP/1.1 200 OK
Content-Tye: application/xml
Content-Length: 1290
204

Task data successfully submitted.

201

Task data successfully submitted. For follow-up tasks the ID of the next task will be returned.

Errors

Client error locked (423)

If task is currently locked. Task needs to be unlocked before it can be changed.