GET api/workplan/{id}/tasks/{taskid}
Get task by id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Work Plan Id |
globally unique identifier |
Required |
taskid | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
WorkPlanTaskName | Description | Type | Additional information |
---|---|---|---|
WorkTypeId | globally unique identifier |
None. |
|
Name | string |
None. |
|
Created | date |
None. |
|
Modified | date |
None. |
|
Author | string |
None. |
|
Editor | string |
None. |
|
AssignedTo | Collection of globally unique identifier |
None. |
|
NonLaborAssignments | Collection of TaskNonLaborAssignment |
None. |
|
Assignments | Collection of TaskAssignment |
None. |
|
ParentId | globally unique identifier |
None. |
|
WorkTypeParentId | globally unique identifier |
None. |
|
WorkTypeIndex | integer |
None. |
|
Fields | Dictionary of string [key] and Object [value] |
None. |
|
Index | integer |
None. |
|
Complete | boolean |
None. |
|
Comments | Collection of TaskComment |
None. |
|
StartDate | date |
None. |
|
DueDate | date |
None. |
|
TaskScheduleType | TaskType |
None. |
|
StatusUpdate | StatusUpdateClass |
None. |
|
LastComment | date |
None. |
|
IsScheduled | boolean |
None. |
|
Integration | TaskIntegrationInfo |
None. |
|
WorkPlanId | globally unique identifier |
None. |
|
id | globally unique identifier |
None. |
|
ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "WorkTypeId": "e19ff843-86ea-4584-a351-8fc904dd9e9d", "Name": "sample string 1", "Created": "2025-10-19T09:18:36.7525305+00:00", "Modified": "2025-10-19T09:18:36.7525305+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "bae2b9eb-ba66-452e-9cb0-81bec09f5311", "bf74b35f-688a-45e7-b516-bd5a1cf4b3d8" ], "NonLaborAssignments": [ { "Id": "a08a7831-b644-4a1e-a2f9-96bc47928d19", "ResourceId": "db94a84f-6ecb-4753-8ca2-c51c5c7ce1b1", "Quantity": 3.0 }, { "Id": "a08a7831-b644-4a1e-a2f9-96bc47928d19", "ResourceId": "db94a84f-6ecb-4753-8ca2-c51c5c7ce1b1", "Quantity": 3.0 } ], "Assignments": [ { "Id": "96cabc16-f6e5-4a5c-8a8f-76e1ad975c56", "Type": 0, "ResourceId": "b1444e72-3e0b-4176-9925-223c3ea464d4", "Units": 3.0 }, { "Id": "96cabc16-f6e5-4a5c-8a8f-76e1ad975c56", "Type": 0, "ResourceId": "b1444e72-3e0b-4176-9925-223c3ea464d4", "Units": 3.0 } ], "ParentId": "d965c952-dab8-4e10-91a3-bb4173f9ceac", "WorkTypeParentId": "2fb0eb73-a71f-4053-a6a0-0ff37b1a9cc7", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "cc9f1975-a626-4244-9de4-21ef50aba3a8", "UPN": "49c3c857-2cdf-40c7-b5c8-6cb1d3fc12de", "PostDate": "2025-10-19T09:18:36.7525305+00:00", "Comment": "sample string 4", "CC": [ "cf406a39-b4a1-450d-a792-2b9dc1f81cf1", "6e5476ff-91fe-42a0-a804-ea07206593c4" ], "Users": [ "c59ee63a-4a4a-4c00-b3ad-bfbf6d7499e4", "bbaa0574-27e6-4f9c-86b3-3fe98d2275dd" ] }, { "Id": "cc9f1975-a626-4244-9de4-21ef50aba3a8", "UPN": "49c3c857-2cdf-40c7-b5c8-6cb1d3fc12de", "PostDate": "2025-10-19T09:18:36.7525305+00:00", "Comment": "sample string 4", "CC": [ "cf406a39-b4a1-450d-a792-2b9dc1f81cf1", "6e5476ff-91fe-42a0-a804-ea07206593c4" ], "Users": [ "c59ee63a-4a4a-4c00-b3ad-bfbf6d7499e4", "bbaa0574-27e6-4f9c-86b3-3fe98d2275dd" ] } ], "StartDate": "2025-10-19T09:18:36.7525305+00:00", "DueDate": "2025-10-19T09:18:36.7525305+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "12490d1d-4a85-4a48-aa61-58309aab6d96": "95d67382-67f7-428e-a42f-bc60080e341d", "6cfcf498-6219-4e69-a64e-db789ba0478e": "1b3f7c82-ca55-4608-b9c4-e4a5c282befe" }, "HasUpdates": true, "Modified": "2025-10-19T09:18:36.7525305+00:00", "Editor": "sample string 3", "Fields": { "sample string 1": {}, "sample string 3": {} }, "CalcFields": { "sample string 1": {}, "sample string 3": {} }, "State": 0, "ApproveRejectBy": "sample string 4", "ApproveRejectDate": "2025-10-19T09:18:36.7525305+00:00" }, "LastComment": "2025-10-19T09:18:36.7525305+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "c64ce4fd-ca3d-4d59-8700-c0fe9cca74d3", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "c18b4b50-7226-4030-aa19-257e78242340", "id": "af54d540-9487-451e-b5ce-279329073142", "ConfigId": "97ec0f67-6197-4a40-aca5-dfb17e7d74e2" }