POST api/workplan/{id}/tasks
Add Task
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Work Plan Id |
globally unique identifier |
Required |
Body Parameters
TasksRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Name | string |
None. |
|
| Fields | Dictionary of string [key] and Object [value] |
None. |
|
| WorkTypeId | globally unique identifier |
None. |
|
| ParentTaskId | globally unique identifier |
None. |
|
| Integration | TaskIntegrationInfo |
None. |
|
| Assignments | Dictionary of globally unique identifier [key] and decimal number [value] |
None. |
|
| ProcessAssignments | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"WorkTypeId": "5370e99a-7628-4d51-891e-8c7334ab7355",
"ParentTaskId": "017b7d8d-53c7-47ed-856b-25fadf539fee",
"Integration": {
"IntegrationId": "f11fe55c-dc30-47a6-a02e-1282e814759d",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"Assignments": {
"72a29f8a-6ab8-4c8b-bc88-99a23102bf7a": 2.0,
"bd4e3e20-55a9-4227-88a1-bb9402023b75": 4.0
},
"ProcessAssignments": true
}
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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "1589f0b9-055e-4de3-878c-375e03618217",
"Name": "sample string 1",
"Created": "2026-07-25T13:20:02.5630663+00:00",
"Modified": "2026-07-25T13:20:02.5630663+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"5e5d503e-d008-44ca-909a-c77a79b21c46",
"2ff023a1-72b8-4827-b8b9-30bb69403955"
],
"NonLaborAssignments": [
{
"Id": "a72aaa99-8d02-42e0-9a8f-992684a0f388",
"ResourceId": "6bac4c9b-2b76-4737-bf32-2c898c432f9f",
"Quantity": 3.0
},
{
"Id": "a72aaa99-8d02-42e0-9a8f-992684a0f388",
"ResourceId": "6bac4c9b-2b76-4737-bf32-2c898c432f9f",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "6051ae35-fbb3-4cfa-9632-b7fb6c95e68c",
"Type": 0,
"ResourceId": "b9470cea-d5bf-4fb3-bfec-fef720e42624",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "6051ae35-fbb3-4cfa-9632-b7fb6c95e68c",
"Type": 0,
"ResourceId": "b9470cea-d5bf-4fb3-bfec-fef720e42624",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "afef55aa-763f-49ac-829c-01ca17c21eff",
"WorkTypeParentId": "ebdb087a-74a9-4898-b6d6-8b56a114d6eb",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "974895a0-c46d-49b5-8eb9-19204107ff0d",
"UPN": "497191fe-dce0-40bd-a372-16f3dc1106e5",
"PostDate": "2026-07-25T13:20:02.5630663+00:00",
"Comment": "sample string 4",
"CC": [
"0905fbf7-35aa-4521-b19f-a275cfc8049e",
"0f8163f5-4a6c-4915-b803-bf61c29b0629"
],
"Users": [
"98e00613-8604-46f2-b7a6-d7616b2576bf",
"6e782c70-c7a6-457e-8323-ff0dcf314e13"
]
},
{
"Id": "974895a0-c46d-49b5-8eb9-19204107ff0d",
"UPN": "497191fe-dce0-40bd-a372-16f3dc1106e5",
"PostDate": "2026-07-25T13:20:02.5630663+00:00",
"Comment": "sample string 4",
"CC": [
"0905fbf7-35aa-4521-b19f-a275cfc8049e",
"0f8163f5-4a6c-4915-b803-bf61c29b0629"
],
"Users": [
"98e00613-8604-46f2-b7a6-d7616b2576bf",
"6e782c70-c7a6-457e-8323-ff0dcf314e13"
]
}
],
"StartDate": "2026-07-25T13:20:02.5630663+00:00",
"DueDate": "2026-07-25T13:20:02.5630663+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"17120157-51da-4a72-9b90-5567308320b0": "650fad6a-aed1-4902-9ddf-878e4cbdaa82",
"d34171c7-384d-4781-a00b-8c4e9169644f": "7b76d59c-2e95-4791-80fb-966691037572"
},
"HasUpdates": true,
"Modified": "2026-07-25T13:20:02.5630663+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-07-25T13:20:02.5630663+00:00"
},
"LastComment": "2026-07-25T13:20:02.5630663+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "5840f461-aaf4-4345-8efd-4bc47196d9b1",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "4973255a-9320-4b94-9754-929d970eb8ba",
"id": "c030f4e1-11d2-4250-87f1-c77284c01b6a",
"ConfigId": "a5f078ec-9cd4-4233-85ca-3d416c48601e"
}