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": "8fecb835-b5a9-4a47-89b1-e07835793553", "Name": "sample string 1", "Created": "2024-12-23T07:36:42.373252+00:00", "Modified": "2024-12-23T07:36:42.373252+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "4b7284d3-9914-493d-b9ac-4548b3f409b1", "0c49d981-32ce-4143-b512-7499ac8b4af8" ], "Assignments": [ { "Id": "8448bfdd-c8a0-4413-aa19-f76c725a2e76", "Type": 0, "ResourceId": "2315d77a-864c-4512-b202-6f55d05d7365", "Units": 3.0 }, { "Id": "8448bfdd-c8a0-4413-aa19-f76c725a2e76", "Type": 0, "ResourceId": "2315d77a-864c-4512-b202-6f55d05d7365", "Units": 3.0 } ], "ParentId": "0a9a219e-a5b1-4c4d-a983-80f1d365363a", "WorkTypeParentId": "1c4b63f0-e4a0-44b7-92e1-cb2289a2ab91", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "0aba5ef7-9d03-4a94-b022-3526e7f7c2d9", "UPN": "e88f9036-14cd-4625-b2ce-65b4e34e32cc", "PostDate": "2024-12-23T07:36:42.373252+00:00", "Comment": "sample string 4", "CC": [ "182987d0-087b-4c92-9792-6db29be6148b", "42369969-6055-4ea7-b219-80af48d521b6" ], "Users": [ "4d027326-fd87-422f-a573-722e4b97aab7", "b5beac02-7d02-46c4-b3d4-bea21a9e9709" ] }, { "Id": "0aba5ef7-9d03-4a94-b022-3526e7f7c2d9", "UPN": "e88f9036-14cd-4625-b2ce-65b4e34e32cc", "PostDate": "2024-12-23T07:36:42.373252+00:00", "Comment": "sample string 4", "CC": [ "182987d0-087b-4c92-9792-6db29be6148b", "42369969-6055-4ea7-b219-80af48d521b6" ], "Users": [ "4d027326-fd87-422f-a573-722e4b97aab7", "b5beac02-7d02-46c4-b3d4-bea21a9e9709" ] } ], "StartDate": "2024-12-23T07:36:42.373252+00:00", "DueDate": "2024-12-23T07:36:42.373252+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "170d0632-435b-4a80-8d99-a2601ebc86de": "41eb5ce4-1bdc-4589-b1e4-a91df93588cc", "6a568e8d-1ad7-46dc-b3e6-87a28ab59e8d": "f7712c93-bdf3-4dff-bff7-c2930236755b" }, "HasUpdates": true, "Modified": "2024-12-23T07:36:42.373252+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": "2024-12-23T07:36:42.373252+00:00" }, "LastComment": "2024-12-23T07:36:42.373252+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "96083a40-3ae7-4a7f-b988-ef471eb7b10c", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "f9ac3253-0736-4261-a5df-e1f412243fc0", "id": "ae7cd299-0dc3-41de-a3a7-8fa4596cfedc", "ConfigId": "72cd9764-0731-4796-a3f9-068b274b36ac" }