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. |
|
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": "e23c2771-bef9-4de7-8132-31f948417154", "Name": "sample string 1", "Created": "2025-05-23T20:56:58.7331919+00:00", "Modified": "2025-05-23T20:56:58.7331919+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "44014a79-01bf-481f-b12b-e35ab0a6d366", "f1bb5c99-1961-469f-b3e3-c60860c8508a" ], "Assignments": [ { "Id": "9e0ed3ae-4c10-42f5-bdcf-14d04a099315", "Type": 0, "ResourceId": "6f9a325d-18eb-479b-901c-34dd8f165c3d", "Units": 3.0 }, { "Id": "9e0ed3ae-4c10-42f5-bdcf-14d04a099315", "Type": 0, "ResourceId": "6f9a325d-18eb-479b-901c-34dd8f165c3d", "Units": 3.0 } ], "ParentId": "f42af2dd-3972-44ad-9a6d-79ad10697e03", "WorkTypeParentId": "b991b807-e87f-46e1-805c-e17d0c25cf1f", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "b4f5bb8f-335d-427f-b663-24798f466a2a", "UPN": "a1dc4c9d-2216-4bcd-a798-6d1d0a064902", "PostDate": "2025-05-23T20:56:58.7331919+00:00", "Comment": "sample string 4", "CC": [ "78ff2eb1-52bc-423d-80fa-1e60497da935", "694fc743-e00d-416c-b2e7-9ba1bc5482ad" ], "Users": [ "3302a6db-2c8f-4dcb-b9bd-ed682e47058c", "cf1cd9c2-3157-469e-9ebf-8c07c5f60298" ] }, { "Id": "b4f5bb8f-335d-427f-b663-24798f466a2a", "UPN": "a1dc4c9d-2216-4bcd-a798-6d1d0a064902", "PostDate": "2025-05-23T20:56:58.7331919+00:00", "Comment": "sample string 4", "CC": [ "78ff2eb1-52bc-423d-80fa-1e60497da935", "694fc743-e00d-416c-b2e7-9ba1bc5482ad" ], "Users": [ "3302a6db-2c8f-4dcb-b9bd-ed682e47058c", "cf1cd9c2-3157-469e-9ebf-8c07c5f60298" ] } ], "StartDate": "2025-05-23T20:56:58.7331919+00:00", "DueDate": "2025-05-23T20:56:58.7331919+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "53bd3aed-4c9f-4cc5-8ae4-9a697e747569": "56686008-72c5-4f30-a3a8-0bc351b994ef", "e8016b02-d482-4749-a7f8-efc741bf0f3d": "709c742d-e5df-43be-8d86-38452f67f50a" }, "HasUpdates": true, "Modified": "2025-05-23T20:56:58.7331919+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-05-23T20:56:58.7331919+00:00" }, "LastComment": "2025-05-23T20:56:58.7331919+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "9e3a5427-d388-4eb4-bb72-f3a86983a9c4", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "430c0ec0-def1-443f-98ef-1dcc29098aa5", "id": "322697e8-55d4-4b69-8949-6e26d3fedc99", "ConfigId": "33da463c-1f33-45ee-a819-97a27c47502a" }