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": "93f34eab-bfe8-49dd-b301-e9d1f961aaa6", "Name": "sample string 1", "Created": "2025-09-03T03:48:04.7215775+00:00", "Modified": "2025-09-03T03:48:04.7215775+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "ac9b230f-e2b2-4532-a72d-2ee0df3ae270", "77905104-0d24-4703-af71-c81e63af1ad7" ], "NonLaborAssignments": [ { "Id": "59aec0b7-992f-473b-a057-f1ec108bfda8", "ResourceId": "e39b6667-c440-4be8-b6fd-07fab437a154", "Quantity": 3.0 }, { "Id": "59aec0b7-992f-473b-a057-f1ec108bfda8", "ResourceId": "e39b6667-c440-4be8-b6fd-07fab437a154", "Quantity": 3.0 } ], "Assignments": [ { "Id": "58592b78-9d79-4a9c-9cef-fc9a0b8a143f", "Type": 0, "ResourceId": "49ac0d3d-d1b6-4f9c-a890-bb4c9ef7f4da", "Units": 3.0 }, { "Id": "58592b78-9d79-4a9c-9cef-fc9a0b8a143f", "Type": 0, "ResourceId": "49ac0d3d-d1b6-4f9c-a890-bb4c9ef7f4da", "Units": 3.0 } ], "ParentId": "1260fcbe-be3d-4272-8ede-b378d12ba688", "WorkTypeParentId": "f8b0537e-362f-42cb-b864-a860ec06d1b8", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "93772dec-69c9-4a97-b0d8-acc7a607d074", "UPN": "745f53e4-13cd-49cc-8594-ed3d6c580a81", "PostDate": "2025-09-03T03:48:04.7215775+00:00", "Comment": "sample string 4", "CC": [ "dbcb6c89-8f89-4f5d-b7f2-82a2e457d5c8", "7eee3129-4aa3-473b-9197-51a825965d9a" ], "Users": [ "01ce3166-64b2-4d57-bd48-a33e46b32e47", "d95e1147-9e3b-4be0-a1bf-af7e27035123" ] }, { "Id": "93772dec-69c9-4a97-b0d8-acc7a607d074", "UPN": "745f53e4-13cd-49cc-8594-ed3d6c580a81", "PostDate": "2025-09-03T03:48:04.7215775+00:00", "Comment": "sample string 4", "CC": [ "dbcb6c89-8f89-4f5d-b7f2-82a2e457d5c8", "7eee3129-4aa3-473b-9197-51a825965d9a" ], "Users": [ "01ce3166-64b2-4d57-bd48-a33e46b32e47", "d95e1147-9e3b-4be0-a1bf-af7e27035123" ] } ], "StartDate": "2025-09-03T03:48:04.7215775+00:00", "DueDate": "2025-09-03T03:48:04.7215775+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "2a5bd962-e21f-4b95-8173-43a35e1be6f6": "977df368-b21d-4021-a661-1efceb593515", "28151567-4bc4-4b5a-ac6b-773fc06dc407": "1845304c-265c-40a4-a6c1-52447583a4b5" }, "HasUpdates": true, "Modified": "2025-09-03T03:48:04.7215775+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-09-03T03:48:04.7215775+00:00" }, "LastComment": "2025-09-03T03:48:04.7215775+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "3e06a8a4-dbad-40c9-8f77-cd1832aa984f", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "e867719e-1dff-4dfe-b6c5-b824512030f5", "id": "d88332c2-b3ee-40ae-a2fa-295558577ff5", "ConfigId": "c625ce6f-fc1a-4736-8c84-3fbea8532e7b" }