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": "2c2819f9-2cf4-4193-bc15-2de418d1fefc", "Name": "sample string 1", "Created": "2025-07-08T18:59:36.4523409+00:00", "Modified": "2025-07-08T18:59:36.4523409+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "7a7cd25a-e918-4af2-ab7b-029d0e3ac234", "28c4230d-47cd-4d01-a9b6-955c05f29ae8" ], "NonLaborAssignments": [ { "Id": "73c26ea8-6d65-4ef3-8b75-30c18d4f8c61", "ResourceId": "5287faa1-28a1-451c-bdb9-b75a8966ae63", "Quantity": 3.0 }, { "Id": "73c26ea8-6d65-4ef3-8b75-30c18d4f8c61", "ResourceId": "5287faa1-28a1-451c-bdb9-b75a8966ae63", "Quantity": 3.0 } ], "Assignments": [ { "Id": "1851c2a7-e44b-43aa-9488-cf0e4b2107a0", "Type": 0, "ResourceId": "4e2e079d-8316-4b65-a692-06f818f7bb0a", "Units": 3.0 }, { "Id": "1851c2a7-e44b-43aa-9488-cf0e4b2107a0", "Type": 0, "ResourceId": "4e2e079d-8316-4b65-a692-06f818f7bb0a", "Units": 3.0 } ], "ParentId": "4221f709-929b-444b-a9b3-9ea3c8061b86", "WorkTypeParentId": "88767f30-c8b7-4fb3-9ce7-275724a200da", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "3dbb3638-6a62-4bd2-825e-f0388c1adeae", "UPN": "554deec2-42c5-425c-a0c7-b908f90b1348", "PostDate": "2025-07-08T18:59:36.4523409+00:00", "Comment": "sample string 4", "CC": [ "5e61550b-9d77-47aa-9742-c588654690e0", "da02748c-7eeb-46ae-889b-45264e5de5f5" ], "Users": [ "81716c3c-4000-4283-8a98-c9de8da09d3e", "e6da6916-ab4e-4b3b-b2e5-e3ea931db46d" ] }, { "Id": "3dbb3638-6a62-4bd2-825e-f0388c1adeae", "UPN": "554deec2-42c5-425c-a0c7-b908f90b1348", "PostDate": "2025-07-08T18:59:36.4523409+00:00", "Comment": "sample string 4", "CC": [ "5e61550b-9d77-47aa-9742-c588654690e0", "da02748c-7eeb-46ae-889b-45264e5de5f5" ], "Users": [ "81716c3c-4000-4283-8a98-c9de8da09d3e", "e6da6916-ab4e-4b3b-b2e5-e3ea931db46d" ] } ], "StartDate": "2025-07-08T18:59:36.4523409+00:00", "DueDate": "2025-07-08T18:59:36.4523409+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "3f881ba1-2646-4a7c-9568-4fd81b3b90df": "6eb58794-eb3f-40c0-94e4-c3fd2c96e9ae", "9c0d14a5-b473-475b-8489-085568e69e48": "2586df35-8ab2-42e9-9c6c-cc64fae31fc4" }, "HasUpdates": true, "Modified": "2025-07-08T18:59:36.4523409+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-07-08T18:59:36.4523409+00:00" }, "LastComment": "2025-07-08T18:59:36.4523409+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "5c71d34a-15e2-4a68-bb5c-bf23b93f99cb", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "6e02d7c2-f383-4822-9c56-7f08d9cb7e93", "id": "2e5468ca-e487-47b7-960f-18ac4fbc2e7c", "ConfigId": "8ceb6279-ed7b-4270-81ac-e056a27a6b3d" }