Get user task form data for independent application

This endpoint provides the form data of a single task available. This endpoint uses INUBIT credentials for authentication. This endpoint can be used to fetch task information when client is independent and no process user configuration is done in INUBIT. The roles should be sent in the body of the request.

Request

URL: /task/data/{taskId}

Method: POST

Authorization: required

POST /ibis/rest/task/data/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

format

A string value to indicate format of data. If format is 'xml', the xml data input will be sent.

no

xml

Body

Example

{"roles":["role1", "role2", "admin"]}

Response

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

<?xml version="1.0" encoding="UTF-8"?>
<Form version="2.0" metric="px">
    <Request>
        <Panel background="#ffffff" name="main" start="true" orientation="vertical">
            <ComboBox width="300" editable="false" name="ComboBox_756522962">
                <Item label="A" value="Value of A"/>
                <Item label="B" value="Value of B"/>
            </ComboBox>
            <Button label="Submit" validate="true" event="submit(value)"/>
        </Panel>
    </Request>
</Form>
The response will be empty if no task with the given roles are matched.

Errors

None