GET api/tasks/{id}
Returns Task Details
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
the unique id of the task |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Task Details
SDTaskName | Description | Type | Additional information |
---|---|---|---|
startDate |
Task Start Date |
date |
None. |
endDate |
Task End Date |
date |
None. |
overdue |
Flag set if the task is overdue, this is based on endDate and status |
boolean |
None. |
myTask |
Flag showing if task is assigned to the current user |
boolean |
None. |
assignedUsers | Collection of ViewUserDTO |
None. |
|
assignedGroups | Collection of ViewGroupDTO |
None. |
|
children |
A list of Child Tasks |
Collection of SDTask |
None. |
mySubTask |
Flag showing if one of the child tasks is assigned to the current user. |
boolean |
None. |
i_node |
Unique database id of the item |
integer |
None. |
f_node |
Unique database id of the item's parent, this is needed sometimes to figure out the structure of the content |
integer |
None. |
item |
Name\Title of the item |
string |
None. |
description |
Description of the item |
string |
None. |
creator |
User details who created the item |
ViewUserDTO |
None. |
status |
Current status of the item |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "startDate": "2024-09-08T07:06:25.386885+00:00", "endDate": "2024-09-08T07:06:25.386885+00:00", "overdue": true, "myTask": true, "assignedUsers": [ { "userID": 1, "userName": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "email": "sample string 5", "customFields": [ { "values": [ "sample string 1", "sample string 2" ], "guid": "sample string 1", "type": "sample string 2", "dataType": "sample string 3" }, { "values": [ "sample string 1", "sample string 2" ], "guid": "sample string 1", "type": "sample string 2", "dataType": "sample string 3" } ], "status": "sample string 6", "createDate": "2024-09-08T07:06:25.386885+00:00", "groups": [ { "name": "sample string 1", "id": 2 }, { "name": "sample string 1", "id": 2 } ] }, { "userID": 1, "userName": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "email": "sample string 5", "customFields": [ { "values": [ "sample string 1", "sample string 2" ], "guid": "sample string 1", "type": "sample string 2", "dataType": "sample string 3" }, { "values": [ "sample string 1", "sample string 2" ], "guid": "sample string 1", "type": "sample string 2", "dataType": "sample string 3" } ], "status": "sample string 6", "createDate": "2024-09-08T07:06:25.386885+00:00", "groups": [ { "name": "sample string 1", "id": 2 }, { "name": "sample string 1", "id": 2 } ] } ], "assignedGroups": [ { "id": 1, "name": "sample string 2", "description": "sample string 3", "tags": "sample string 4" }, { "id": 1, "name": "sample string 2", "description": "sample string 3", "tags": "sample string 4" } ], "children": [], "mySubTask": true, "i_node": 6, "f_node": 7, "item": "sample string 8", "description": "sample string 9", "creator": { "userID": 1, "userName": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "email": "sample string 5", "customFields": [ { "values": [ "sample string 1", "sample string 2" ], "guid": "sample string 1", "type": "sample string 2", "dataType": "sample string 3" }, { "values": [ "sample string 1", "sample string 2" ], "guid": "sample string 1", "type": "sample string 2", "dataType": "sample string 3" } ], "status": "sample string 6", "createDate": "2024-09-08T07:06:25.386885+00:00", "groups": [ { "name": "sample string 1", "id": 2 }, { "name": "sample string 1", "id": 2 } ] }, "status": "sample string 10" }