Get one task info
GET
/tm/tasks/{id}Request
Path Params
id
string
required
Responses
Successful response(200)
Successful response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
optional
task
object (Task)
optional
id
integer
optional
parentId
integer | null
optional
title
string
optional
description
string | null
optional
duration
integer | null
optional
In minutes
overdue
integer
required
type
enum<string>
optional
Allowed values:
actionmeetcall
priority
integer | null
optional
0 - Low
1 - Medium
2 - High
3 - Hold
>= 0<= 3
isCompleted
boolean
optional
authorId
string
optional
ID of the user who created the task
userId
string | null
optional
ID of the user who is executing the task
boardId
integer | null
optional
boardColumnId
integer | null
optional
projectId
integer | null
optional
image
string | null
optional
isPrivate
boolean
optional
startDate
string <date> | null
optional
Start date of the task in Y-m-d
format
startDateTime
string <date-time> | null
optional
Start date of the task in ISO 8601 format
dueDate
string <date> | null
optional
Due date of the task in Y-m-d
format
dueDateTime
string <date-time> | null
optional
Due date of the task in ISO 8601 format
createdAt
string <date-time>
required
Date the task was created in ISO 8601 format
updatedAt
string <date-time>
required
Date the task was last updated in ISO 8601 format
tags
array[integer]
optional
subscribers
array[string]
optional
subTasks
array[integer]
optional
workloads
array [object {7}]
optional
timeEntries
array[object (Time entry) {6}]
required
customFields
array[object (CustomFieldValue) {6}]
optional
attachments
array[object (Attachment) {7}]
optional
Example
{
"success": true,
"task": {
"id": 4,
"parentId": null,
"title": "To deal with the font on the One Ring",
"description": "The ring interface needs to be redesigned. UX tests show that the font is small and generally illegible, moreover, not everyone gets to heat it up (the test report attached to the task). It's not urgent, but you should try not to forget about the task, it'll remind you about itself.",
"date": "01.01.1970",
"time": "23:00",
"duration": 60,
"type": "action",
"priority": 2,
"isCompleted": false,
"authorId": "3e265f8a-5c6c-4169-a2b1-6182f10b712b",
"userId": null,
"boardId": null,
"boardColumnId": null,
"projectId": 4,
"image": null,
"isPrivate": false,
"dateStart": null,
"dateEnd": null,
"timeStart": null,
"timeEnd": null,
"tags": [
1,
2
],
"subscribers": [
"3e265f8a-5c6c-4169-a2b1-6182f10b712b"
],
"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
}
]
}
}
Last modified: 10 months ago