GET api/smarttask/users/{userId}/tasks
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 |
Body Parameters
None.
Response Information
Resource Description
List of TaskGeneralInformation DTOs
Collection of TaskGeneralInformationName | 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-05-19T22:48:25.4889383+00:00", "LastState": 0 }, { "TaskId": 1, "ShortDescription": "sample string 2", "Description": "sample string 3", "TaskType": "sample string 4", "CreatedDate": "2025-05-19T22:48:25.4889383+00:00", "LastState": 0 } ]
text/html
Sample:
[{"TaskId":1,"ShortDescription":"sample string 2","Description":"sample string 3","TaskType":"sample string 4","CreatedDate":"2025-05-19T22:48:25.4889383+00:00","LastState":0},{"TaskId":1,"ShortDescription":"sample string 2","Description":"sample string 3","TaskType":"sample string 4","CreatedDate":"2025-05-19T22:48:25.4889383+00:00","LastState":0}]