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": "0988f432-9533-43f7-a2d3-18c50c7a232b",
"ParentTaskId": "2b9ac922-2b26-4bb0-b6bf-2c658fb49c2f",
"Integration": {
"IntegrationId": "320cfc46-9f9a-4adf-b53e-f61cf5386275",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"Assignments": {
"ca3db36b-b3bd-4ce5-9c98-918d28828a05": 2.0,
"5281e7ba-dc05-466e-a02c-80a3a69d64dd": 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": "e5eb3f9d-b575-4e47-888a-9a45b6a07327",
"Name": "sample string 1",
"Created": "2026-09-08T07:18:17.5945938+00:00",
"Modified": "2026-09-08T07:18:17.5945938+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b3871a95-119c-4e23-a023-43a1d5605ac7",
"2eb4017f-304f-4951-b57d-6163b7b3795b"
],
"NonLaborAssignments": [
{
"Id": "a92094e0-de16-4106-9c4c-4ecd7660663e",
"ResourceId": "339c5701-aa78-4535-9824-029363befa0d",
"Quantity": 3.0
},
{
"Id": "a92094e0-de16-4106-9c4c-4ecd7660663e",
"ResourceId": "339c5701-aa78-4535-9824-029363befa0d",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "14135286-8cbf-4dfc-babf-5c931c5cc105",
"Type": 0,
"ResourceId": "f094c3e8-98d1-4d4c-94c5-a4dd0b3a4c4e",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "1cb64239-911c-4f74-a744-153cf4f5875b",
"Start": "2026-09-08T07:18:17.5945938+00:00",
"Due": "2026-09-08T07:18:17.5945938+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "1cb64239-911c-4f74-a744-153cf4f5875b",
"Start": "2026-09-08T07:18:17.5945938+00:00",
"Due": "2026-09-08T07:18:17.5945938+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "14135286-8cbf-4dfc-babf-5c931c5cc105",
"Type": 0,
"ResourceId": "f094c3e8-98d1-4d4c-94c5-a4dd0b3a4c4e",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "1cb64239-911c-4f74-a744-153cf4f5875b",
"Start": "2026-09-08T07:18:17.5945938+00:00",
"Due": "2026-09-08T07:18:17.5945938+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "1cb64239-911c-4f74-a744-153cf4f5875b",
"Start": "2026-09-08T07:18:17.5945938+00:00",
"Due": "2026-09-08T07:18:17.5945938+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "40cbf2ba-0fa7-4ca3-aa8c-f2ef60904654",
"WorkTypeParentId": "081fd24b-a465-4927-a4c6-74fa45385338",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "5ba305d8-785e-4009-aca3-1b78b77a5122",
"UPN": "23e43042-3e06-4faf-9f8b-1977a0ea0b88",
"PostDate": "2026-09-08T07:18:17.5945938+00:00",
"Comment": "sample string 4",
"CC": [
"67b35138-4244-4620-9f2a-29e4c57ea787",
"cb0f0323-3b5f-4c55-aa20-7f954400387f"
],
"Users": [
"d17cb78a-2219-4e2a-82f1-786c9b45f598",
"95fcfe4c-9791-47ec-8a46-6839510f1a51"
]
},
{
"Id": "5ba305d8-785e-4009-aca3-1b78b77a5122",
"UPN": "23e43042-3e06-4faf-9f8b-1977a0ea0b88",
"PostDate": "2026-09-08T07:18:17.5945938+00:00",
"Comment": "sample string 4",
"CC": [
"67b35138-4244-4620-9f2a-29e4c57ea787",
"cb0f0323-3b5f-4c55-aa20-7f954400387f"
],
"Users": [
"d17cb78a-2219-4e2a-82f1-786c9b45f598",
"95fcfe4c-9791-47ec-8a46-6839510f1a51"
]
}
],
"StartDate": "2026-09-08T07:18:17.5945938+00:00",
"DueDate": "2026-09-08T07:18:17.5945938+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"27aced8f-4621-439c-89a4-170284f0cd76": "9e9822dd-acc1-40d7-9468-8ced9dad7c18",
"015a7e07-566a-4063-9b2e-5ba74b9eaf58": "fd0399a9-87ab-4f8a-9e08-3baf8d5bfb01"
},
"HasUpdates": true,
"Modified": "2026-09-08T07:18:17.5945938+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-09-08T07:18:17.5945938+00:00"
},
"LastComment": "2026-09-08T07:18:17.5945938+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "5e53bfc1-a12e-4b2a-802f-ba685f0205d3",
"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": "22859948-a355-411d-af11-3e5318415036",
"id": "e70dcd99-0535-47f6-b3f2-3c95c3ed856c",
"ConfigId": "640381ad-96b5-443a-9640-94e76624a476"
}