GET api/smarttask/users/{userId}/tasks/state/{state}/paged/{page}/size/{pageSize}
GET a list of tasks assigned to the given user
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
GUID id of the user |
string |
Required |
| page | integer |
Required |
|
| pageSize | integer |
Required |
|
| state | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of TaskGeneralInformation DTOs
Collection of TaskGeneralInformation| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskId | integer |
None. |
|
| ShortDescription | string |
Required |
|
| Description | string |
None. |
|
| TaskType | string |
Required |
|
| CreatedDate | date |
None. |
|
| LastState | WorkOrderState |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"TaskId": 1,
"ShortDescription": "sample string 2",
"Description": "sample string 3",
"TaskType": "sample string 4",
"CreatedDate": "2025-12-26T09:31:18.4165504+00:00",
"LastState": 0
},
{
"TaskId": 1,
"ShortDescription": "sample string 2",
"Description": "sample string 3",
"TaskType": "sample string 4",
"CreatedDate": "2025-12-26T09:31:18.4165504+00:00",
"LastState": 0
}
]
text/html
Sample:
[{"TaskId":1,"ShortDescription":"sample string 2","Description":"sample string 3","TaskType":"sample string 4","CreatedDate":"2025-12-26T09:31:18.4165504+00:00","LastState":0},{"TaskId":1,"ShortDescription":"sample string 2","Description":"sample string 3","TaskType":"sample string 4","CreatedDate":"2025-12-26T09:31:18.4165504+00:00","LastState":0}]