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
WorkPlanTask| Name | 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": "53498eda-1685-4dd5-9de8-3d2c96b1acd6",
"Name": "sample string 1",
"Created": "2025-12-03T13:05:49.4499659+00:00",
"Modified": "2025-12-03T13:05:49.4499659+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e370d47d-e535-40f5-9bb2-3492a0b83b40",
"67fa6b7d-f1b0-4366-9c48-1f47bea5dfd4"
],
"NonLaborAssignments": [
{
"Id": "8ee38fc9-cac2-48f6-a57c-226a3020ffbe",
"ResourceId": "968b1646-9755-4d2f-bf07-6a9ff380ea68",
"Quantity": 3.0
},
{
"Id": "8ee38fc9-cac2-48f6-a57c-226a3020ffbe",
"ResourceId": "968b1646-9755-4d2f-bf07-6a9ff380ea68",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "5619d06c-99dd-434f-9c51-47adaddbe6e8",
"Type": 0,
"ResourceId": "46b28cdf-2764-4997-a806-43c6ba94421f",
"Units": 3.0
},
{
"Id": "5619d06c-99dd-434f-9c51-47adaddbe6e8",
"Type": 0,
"ResourceId": "46b28cdf-2764-4997-a806-43c6ba94421f",
"Units": 3.0
}
],
"ParentId": "ffa1cb3d-a9c5-45cc-b2f1-f1d83a85a3b7",
"WorkTypeParentId": "1523fab1-0f04-4fa1-8baa-d7a5706047c1",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1a5b1462-cd25-440a-8ba3-5adbf736ac17",
"UPN": "a76f42e4-427c-47a7-ba2d-9126a55c6a09",
"PostDate": "2025-12-03T13:05:49.4499659+00:00",
"Comment": "sample string 4",
"CC": [
"0cecf483-f64e-401b-8043-51110ffd4209",
"6a75bcc0-5f3c-4b8d-9f19-338289eb480b"
],
"Users": [
"86a78141-0b2e-48fd-b887-04758524f1cb",
"19c78749-0fd9-4547-8303-3f2d6de84b49"
]
},
{
"Id": "1a5b1462-cd25-440a-8ba3-5adbf736ac17",
"UPN": "a76f42e4-427c-47a7-ba2d-9126a55c6a09",
"PostDate": "2025-12-03T13:05:49.4499659+00:00",
"Comment": "sample string 4",
"CC": [
"0cecf483-f64e-401b-8043-51110ffd4209",
"6a75bcc0-5f3c-4b8d-9f19-338289eb480b"
],
"Users": [
"86a78141-0b2e-48fd-b887-04758524f1cb",
"19c78749-0fd9-4547-8303-3f2d6de84b49"
]
}
],
"StartDate": "2025-12-03T13:05:49.4499659+00:00",
"DueDate": "2025-12-03T13:05:49.4499659+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"7e483b10-711a-4f62-b218-009a43bc97dc": "47e4b3be-ff22-4575-b1ea-aacae807738e",
"05c4b645-1a96-4835-b77a-1ed561ac4729": "13074ed4-e212-43d5-8347-cc63094f2974"
},
"HasUpdates": true,
"Modified": "2025-12-03T13:05:49.4499659+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-12-03T13:05:49.4499659+00:00"
},
"LastComment": "2025-12-03T13:05:49.4499659+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "4a366a0c-3b6f-4bf4-96ed-8dcfa130de49",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "55c4ae59-e401-49cf-b1db-701ae7e4014a",
"id": "0b2e544a-059e-41ef-810e-264f7ab1b2d5",
"ConfigId": "3ee5088d-f07c-4069-b11e-1e2e4aab810b"
}