Get user tasks for independent application

This endpoint provides the list of tasks 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 send in the body of the request.

Request

URL: /task/tasks

Method: POST

Authorization: required

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

Body

Example

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

Response

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

<Tasklist user="root" total="7" portletUrl="[5]">
    <Task id="e9c47c0c-82b8-481d-8343-b883da299c0a" process="32361" creation="1261055573295" expiration="1261059173295" action="Form" wait="0" test="true" popup="false">
        <Name xml:lang="de">zwei zusätzliche felder</Name>
        <Description xml:lang="de">qa_task_portal_9</Description>
        <Unit name="Administrator" type="Role"/>
        <Field xml:lang="de" name="zwei" index="2" type="String">test wert 2</Field>
        <Field xml:lang="de" name="eins" index="1" type="String">1261055573277</Field>
    </Task>
    ...
</Tasklist>
The response will be empty if no task with the given roles are matched.

Errors

None