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": "5d5b48b4-57de-4fe8-9056-aa4744a9bab6",
"ParentTaskId": "8898cce9-faa1-4c9f-9eee-5761e20cb639",
"Integration": {
"IntegrationId": "96816f61-e5ad-4755-9c65-5ab3d2dc7342",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"Assignments": {
"c3b43e3b-bb19-446f-a59c-442349d33a3c": 2.0,
"0bb3a8d5-860f-4141-89cb-0d51044fcdf1": 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": "53faaf8c-c9c2-47fa-b1eb-46beea0a1008",
"Name": "sample string 1",
"Created": "2026-08-19T09:35:24.1897841+00:00",
"Modified": "2026-08-19T09:35:24.1897841+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"02245153-e151-4fbe-a90f-416ecf625b35",
"5ae251a8-cbd0-4126-99ee-ff09a88d7d05"
],
"NonLaborAssignments": [
{
"Id": "aef32f9a-1890-49e1-9aa2-f385b0f472ba",
"ResourceId": "87f6d635-3878-4243-9dc0-b6b81e131bfb",
"Quantity": 3.0
},
{
"Id": "aef32f9a-1890-49e1-9aa2-f385b0f472ba",
"ResourceId": "87f6d635-3878-4243-9dc0-b6b81e131bfb",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "4130eb3a-13de-4e8b-9501-dd492bcca896",
"Type": 0,
"ResourceId": "ac1fbe3e-930f-4db6-9e0d-5ff8ec3a649c",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "4130eb3a-13de-4e8b-9501-dd492bcca896",
"Type": 0,
"ResourceId": "ac1fbe3e-930f-4db6-9e0d-5ff8ec3a649c",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "2f1b7607-27d3-4472-ad4f-4a8d3ac50591",
"WorkTypeParentId": "3daf65d9-68eb-479f-b564-8daef86241e0",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "cd6b5855-13a3-4801-b6a8-3425a13c0402",
"UPN": "1d1f0e00-21ad-4d7b-ac97-14246f1bafcc",
"PostDate": "2026-08-19T09:35:24.1897841+00:00",
"Comment": "sample string 4",
"CC": [
"ec4a8f7e-53f4-49c1-9287-de8e7aac4701",
"ff7614f2-c4b6-4d87-bbf6-322ce081ccd8"
],
"Users": [
"9c59f073-dfeb-4479-9af6-5f74d350dc18",
"c3e9fc4b-b042-43c7-afc5-2d5e986981b3"
]
},
{
"Id": "cd6b5855-13a3-4801-b6a8-3425a13c0402",
"UPN": "1d1f0e00-21ad-4d7b-ac97-14246f1bafcc",
"PostDate": "2026-08-19T09:35:24.1897841+00:00",
"Comment": "sample string 4",
"CC": [
"ec4a8f7e-53f4-49c1-9287-de8e7aac4701",
"ff7614f2-c4b6-4d87-bbf6-322ce081ccd8"
],
"Users": [
"9c59f073-dfeb-4479-9af6-5f74d350dc18",
"c3e9fc4b-b042-43c7-afc5-2d5e986981b3"
]
}
],
"StartDate": "2026-08-19T09:35:24.1897841+00:00",
"DueDate": "2026-08-19T09:35:24.1897841+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"abdfc331-ca53-4299-bc38-e5e3a8ff5a0b": "ac404c4c-d03b-460d-b894-18226bf9afab",
"055fca74-1ffc-400c-8615-369646912675": "af601e7a-a1dc-4946-8330-fadc678896e5"
},
"HasUpdates": true,
"Modified": "2026-08-19T09:35:24.1897841+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-08-19T09:35:24.1897841+00:00"
},
"LastComment": "2026-08-19T09:35:24.1897841+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "7cd7c3ea-e8ee-407f-b605-be307798fd8f",
"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": "86c0f09c-8dec-4d46-bfbb-a737426a6569",
"id": "e000e1cd-3298-4507-b4aa-090e30703fee",
"ConfigId": "177388ea-f452-4792-b59e-75b913a075f6"
}