Get tasks
GET
/tm/tasksGet tasks
Request
Parâmetros Query
day
string
opcional
userId
string
opcional
projectId
integer
opcional
completed
boolean
opcional
Show only completed
boardId
integer
opcional
boardColumnId
integer
opcional
type
string
opcional
priority
integer
opcional
0 - Low 1 - Medium 2 - High 3 - Hold
search
string
opcional
Search text in title and description
perPage
integer
opcional
offset
integer
opcional
sortBy
string
opcional
startDate
string
opcional
dd.mm.yyyy Required with endDate
endDate
string
opcional
dd.mm.yyyy Required with startDate
all
boolean
opcional
Shows all tasks, including deleted and completed. If present, the completed
parameter is ignored
Respostas
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
success
boolean
opcional
tasks
$ref(#/definitions/1260060)[]
opcional
#/definitions/1260060
opcional
hasMore
boolean
opcional
Exemplo
{
"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