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

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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-19T21:20:24.351137+00:00",
    "LastState": 0
  },
  {
    "TaskId": 1,
    "ShortDescription": "sample string 2",
    "Description": "sample string 3",
    "TaskType": "sample string 4",
    "CreatedDate": "2025-05-19T21:20:24.351137+00:00",
    "LastState": 0
  }
]

text/html

Sample:
[{"TaskId":1,"ShortDescription":"sample string 2","Description":"sample string 3","TaskType":"sample string 4","CreatedDate":"2025-05-19T21:20:24.351137+00:00","LastState":0},{"TaskId":1,"ShortDescription":"sample string 2","Description":"sample string 3","TaskType":"sample string 4","CreatedDate":"2025-05-19T21:20:24.351137+00:00","LastState":0}]