Get tasks
GET
/tm/tasksGet tasks
Request
Query Params
day
string
optional
userId
string
optional
projectId
integer
optional
completed
boolean
optional
Show only completed
boardId
integer
optional
boardColumnId
integer
optional
type
string
optional
priority
integer
optional
0 - Low 1 - Medium 2 - High 3 - Hold
search
string
optional
Search text in title and description
perPage
integer
optional
offset
integer
optional
sortBy
string
optional
startDate
string
optional
dd.mm.yyyy Required with endDate
endDate
string
optional
dd.mm.yyyy Required with startDate
all
boolean
optional
Shows all tasks, including deleted and completed. If present, the completed
parameter is ignored
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
optional
tasks
$ref(#/definitions/1260060)[]
optional
#/definitions/1260060
optional
hasMore
boolean
optional
Example
{
"success": true,
"tasks": [
{
"id": 0,
"parentId": 0,
"title": "string",
"description": "string",
"date": "string",
"time": "string",
"duration": 60,
"type": "action",
"priority": 0,
"isCompleted": true,
"authorId": "string",
"userId": "string",
"boardId": 0,
"boardColumnId": 0,
"projectId": 0,
"image": "string",
"isPrivate": true,
"dateStart": "2019-08-24",
"dateEnd": "2019-08-24",
"timeStart": "14:15:22Z",
"timeEnd": "14:15:22Z",
"tags": [
0
],
"subscribers": [
"string"
],
"workloads": [
{
"id": "bc92d5f2-3aaf-49cc-8010-5007ced66ea6",
"userId": "24d20bfa-bc7e-471e-8c17-a199734532dc",
"type": 2,
"date": "05.10.2022",
"duration": 60,
"workStartAt": null,
"workEndAt": null
}
]
}
],
"hasMore": true
}
Last modified: 6 months ago