User task list operations

Get user task list

This endpoint provides a list of all tasks available for a certain user. The user is identified by the given authentication.

Request

URL: /task/tasks

Method: GET

Authorization: required

GET /ibis/rest/task/tasks HTTP/1.1
Accept: application/xml
Host: localhost:8080

Query Parameters

Use these parameters to filter the result list.

Name Description Required Allowed values

start

Start row in result (starts at 0)

no

Any positive integer

count

Number of rows

no

Any positive integer

lang

language

no (default: de)

de or en

enableDIN5007Sort

umlaut sort

no

true or false

{field}Sorting

Sorting direction

no

ascending or descending

or {field}FieldSorting

Field sorting direction (if used for custom task list entries)

no

ascending or descending

{field}Filter

Filter value

no

Any string

{field}FilterComparison

Comparison value

no

LIKE | = | < | > | ⇐ | >0

{field}FilterCaseSensitive

Apply case-sensitive comparison

no

true or false

{field}FieldFilterComparison

no

LIKE | = | < | > | ⇐ | >0

{field}FieldFilterCaseSensitive

no

true or false

{field}FieldFilter

Field filter value

no

Any string

{field}FilterTo

Filter field for ranges (do not use together with comparison)

no

Any string

Response

HTTP/1.1 200 OK
Content-Type: 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>

Delete all tasks

This endpoint deletes all tasks.

Request

URL: /task/tasks

Method: DELETE

Authorization: required

DELETE /ibis/rest/task/tasks HTTP/1.1
Accept: */*
Host: localhost:8080

Request Parameters

Name Description Required Allowed values

taskId

Unique task identifier

yes

Alphanumeric with special character(-)

Response

SUCCESS_ACCEPTED (202)

All tasks deleted successfully

Errors

Authorization Failed (401)

Authorization with the given username and password failed. Please revisit both values and provide valid credentials.

<html>

    <head>
        <title>Status page</title>
    </head>

    <body style="font-family: sans-serif;">
        <p style="font-size: 1.2em;font-weight: bold;margin: 1em 0px;">Unauthorized</p>
        <p>The request requires user authentication</p>
        <p>You can get technical details <a
                href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2">here</a>.<br>
            Please continue your visit at our <a href="/">home page</a>.
        </p>
    </body>
</html>
Server Error (500)

Execution on the INUBIT server failed. Have a look into the response message, otherwise access to the INUBIT log is required to retrieve further information.

Service Unavailable (503)

In maintenance mode the INUBIT server endpoint will not respond to incoming requests but return this error response. Once the maintenance mode is switched off the endpoint will respond normally.