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": "4ffa7443-81ce-4c43-a197-d02b8446986d",
"Name": "sample string 1",
"Created": "2026-02-01T14:06:04.7862967+00:00",
"Modified": "2026-02-01T14:06:04.7862967+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"f0fd6e6f-ae2a-4903-9878-28971a328f0e",
"68b6c151-90e4-449c-9b85-267cc0c1a8e8"
],
"NonLaborAssignments": [
{
"Id": "58961214-4162-4cd9-ba00-602d8346e769",
"ResourceId": "25d5dd03-f119-4967-940c-002a7ebba1dc",
"Quantity": 3.0
},
{
"Id": "58961214-4162-4cd9-ba00-602d8346e769",
"ResourceId": "25d5dd03-f119-4967-940c-002a7ebba1dc",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "2b6dc3e8-26cc-43fe-ba74-738fbf6e9903",
"Type": 0,
"ResourceId": "d6a0c23b-41eb-4758-9faf-044157936b58",
"Units": 3.0
},
{
"Id": "2b6dc3e8-26cc-43fe-ba74-738fbf6e9903",
"Type": 0,
"ResourceId": "d6a0c23b-41eb-4758-9faf-044157936b58",
"Units": 3.0
}
],
"ParentId": "e9ac0341-818c-4288-811f-10fc864013b7",
"WorkTypeParentId": "2dc910a4-17ec-4a2e-aaa4-fd4d062f6a3f",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "5ac5bcfc-b216-4dea-a9ad-34147d8164c7",
"UPN": "da172fba-c8af-4106-b750-594ebfdc0f29",
"PostDate": "2026-02-01T14:06:04.7862967+00:00",
"Comment": "sample string 4",
"CC": [
"2016530c-7c83-4551-9d95-f212d663ba98",
"247758ae-8b90-4f10-8532-29dc1928d740"
],
"Users": [
"89eab8ea-38a6-48c0-a868-90986440b68a",
"f5f1bb05-e876-4159-9216-ffb33c11564a"
]
},
{
"Id": "5ac5bcfc-b216-4dea-a9ad-34147d8164c7",
"UPN": "da172fba-c8af-4106-b750-594ebfdc0f29",
"PostDate": "2026-02-01T14:06:04.7862967+00:00",
"Comment": "sample string 4",
"CC": [
"2016530c-7c83-4551-9d95-f212d663ba98",
"247758ae-8b90-4f10-8532-29dc1928d740"
],
"Users": [
"89eab8ea-38a6-48c0-a868-90986440b68a",
"f5f1bb05-e876-4159-9216-ffb33c11564a"
]
}
],
"StartDate": "2026-02-01T14:06:04.7862967+00:00",
"DueDate": "2026-02-01T14:06:04.7862967+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"2f502534-65b8-44c8-9fb2-b9abe4ac3485": "322277ba-b789-43df-9cb3-3157cf2c17e5",
"2fd46eb3-d5cf-4438-9a0d-c37a3475ec6a": "ae6718e9-84ec-43e2-a100-ed7739d05391"
},
"HasUpdates": true,
"Modified": "2026-02-01T14:06:04.7862967+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": "2026-02-01T14:06:04.7862967+00:00"
},
"LastComment": "2026-02-01T14:06:04.7862967+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "02b96978-a821-490e-8276-744bbf275bfc",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "198a3f75-1f63-407f-b49b-29d490cc5269",
"id": "e3299ddf-4cae-4c9a-acda-ed9aa533bd00",
"ConfigId": "a10b4787-1d83-4cd9-bdfc-1a97f3a3bb2a"
}