GET api/Tasks/List?processName={processName}&onlyCount={onlyCount}&pageNum={pageNum}&pageSize={pageSize}
LIST all tasks by process name
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
processName | string |
Required |
|
onlyCount | boolean |
Required |
|
pageNum | integer |
Default value is 1 |
|
pageSize | integer |
Default value is 50 |
Body Parameters
None.
Response Information
Resource Description
TaskItemModelViewName | Description | Type | Additional information |
---|---|---|---|
serialNumber | string |
None. |
|
taskStatus | string |
None. |
|
taskStartDate | date |
None. |
|
taskReceiveDate | date |
None. |
|
deadline | date |
None. |
|
workflowDisplayName | string |
None. |
|
activityInstanceName | string |
None. |
|
totalDocuments | integer |
None. |
|
workflowInstanceDataFields | Dictionary of string [key] and Object [value] |
None. |
Response Formats
application/json, text/json
Sample:
{ "serialNumber": "sample string 1", "taskStatus": "sample string 2", "taskStartDate": "2025-04-04T01:44:13.2396205+01:00", "taskReceiveDate": "2025-04-04T01:44:13.2396205+01:00", "deadline": "2025-04-04T01:44:13.2396205+01:00", "workflowDisplayName": "sample string 5", "activityInstanceName": "sample string 6", "totalDocuments": 1, "workflowInstanceDataFields": { "sample string 1": {}, "sample string 3": {} } }
application/xml, text/xml
Sample:
<TaskItemModelView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models"> <activityInstanceName>sample string 6</activityInstanceName> <deadline>2025-04-04T01:44:13.2396205+01:00</deadline> <serialNumber>sample string 1</serialNumber> <taskReceiveDate>2025-04-04T01:44:13.2396205+01:00</taskReceiveDate> <taskStartDate>2025-04-04T01:44:13.2396205+01:00</taskStartDate> <taskStatus>sample string 2</taskStatus> <totalDocuments>1</totalDocuments> <workflowDisplayName>sample string 5</workflowDisplayName> <workflowInstanceDataFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> </workflowInstanceDataFields> </TaskItemModelView>