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": "70c7fa6e-7b9c-4d35-8218-6370c666ac2b", "Name": "sample string 1", "Created": "2025-07-16T12:29:37.8470893+00:00", "Modified": "2025-07-16T12:29:37.8470893+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "9034d7df-b8da-42f1-9e4c-098c1dfa32c7", "f534a1f5-f70c-45ca-9fd2-9ae0ed9cd584" ], "NonLaborAssignments": [ { "Id": "2664ce33-fb6f-41c5-8584-715995bd45e2", "ResourceId": "8107001f-8fc3-4b1d-8178-43ff8f7943c6", "Quantity": 3.0 }, { "Id": "2664ce33-fb6f-41c5-8584-715995bd45e2", "ResourceId": "8107001f-8fc3-4b1d-8178-43ff8f7943c6", "Quantity": 3.0 } ], "Assignments": [ { "Id": "ddc26d2b-f168-45c7-b288-e6ed2d5121cd", "Type": 0, "ResourceId": "94e2cbdb-ef2f-4872-9d6c-7d5937aec0c1", "Units": 3.0 }, { "Id": "ddc26d2b-f168-45c7-b288-e6ed2d5121cd", "Type": 0, "ResourceId": "94e2cbdb-ef2f-4872-9d6c-7d5937aec0c1", "Units": 3.0 } ], "ParentId": "327dc939-1972-4fcd-bc2c-75fed6845f53", "WorkTypeParentId": "c3c09c9e-95b1-41ae-aeb6-f62ca1cd19bc", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "ade2a972-3191-4659-86d1-eb63faf74c6a", "UPN": "99ff3591-2ce6-44b4-8819-d31ee086ad90", "PostDate": "2025-07-16T12:29:37.8470893+00:00", "Comment": "sample string 4", "CC": [ "cb7baff1-bb51-41b1-bcc0-0246bbe83c1f", "c8a4773f-781f-48b6-a59b-e16de1f59279" ], "Users": [ "becb3333-1fc9-4114-a58d-158c7e0083bc", "e368269b-3ef8-4555-9590-550045478cc1" ] }, { "Id": "ade2a972-3191-4659-86d1-eb63faf74c6a", "UPN": "99ff3591-2ce6-44b4-8819-d31ee086ad90", "PostDate": "2025-07-16T12:29:37.8470893+00:00", "Comment": "sample string 4", "CC": [ "cb7baff1-bb51-41b1-bcc0-0246bbe83c1f", "c8a4773f-781f-48b6-a59b-e16de1f59279" ], "Users": [ "becb3333-1fc9-4114-a58d-158c7e0083bc", "e368269b-3ef8-4555-9590-550045478cc1" ] } ], "StartDate": "2025-07-16T12:29:37.8470893+00:00", "DueDate": "2025-07-16T12:29:37.8470893+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "3b266312-8281-4795-ac43-52acaa3ba6ca": "135ff788-f045-4176-97ae-8405f29bb35f", "d57d234f-9956-4c40-9af5-8d8c1cb0495e": "4d39ef15-577d-4a55-ad05-6c6ac8bdd08d" }, "HasUpdates": true, "Modified": "2025-07-16T12:29:37.8470893+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-16T12:29:37.8470893+00:00" }, "LastComment": "2025-07-16T12:29:37.8470893+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "472c7ab2-cfb3-43e6-baed-c004bc6bdb06", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "c56adf2a-f940-4b7a-859f-3a9b06369a42", "id": "f164f505-c31d-4176-8ab9-6ff66bd687eb", "ConfigId": "71642db4-383c-4c76-bca8-89e893127894" }