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": "85ef9cd5-43b8-46f3-801b-2655f48fbd1e",
"ParentTaskId": "d085fc28-02d5-45e2-b802-5db51fbe8b86",
"Integration": {
"IntegrationId": "b8f7eab5-076d-4c1a-9c6f-5b24f1267d45",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"Assignments": {
"5e382911-c417-40fd-a3ad-c03bb757768c": 2.0,
"961a3271-993f-4b93-8b88-6168513c3c71": 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": "324fbbf1-c61e-4ba5-8fd4-56c59ca804c1",
"Name": "sample string 1",
"Created": "2026-07-27T14:22:11.0663039+00:00",
"Modified": "2026-07-27T14:22:11.0663039+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"43ff51df-d691-4d9e-8d3a-f55254472fe1",
"f2cc60a9-243b-4141-a002-36a83a53e191"
],
"NonLaborAssignments": [
{
"Id": "c70505e0-56a6-4ff8-8ea5-f7c7d68172e6",
"ResourceId": "16cefb6f-038a-4a46-bdca-e875d2184664",
"Quantity": 3.0
},
{
"Id": "c70505e0-56a6-4ff8-8ea5-f7c7d68172e6",
"ResourceId": "16cefb6f-038a-4a46-bdca-e875d2184664",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "b82a33bf-c204-4ae7-881e-ce0bca3f25e7",
"Type": 0,
"ResourceId": "f4dc4f58-c52b-4352-a38b-4df9d56f68e1",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "b82a33bf-c204-4ae7-881e-ce0bca3f25e7",
"Type": 0,
"ResourceId": "f4dc4f58-c52b-4352-a38b-4df9d56f68e1",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "bd159438-c314-4c4c-84b3-26bb1bb920fb",
"WorkTypeParentId": "52742ae4-625d-461b-bf38-5dd2621c59d9",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "ab78b25f-29e3-4a21-a083-e6113916fdf5",
"UPN": "0b862bdc-977f-49c2-8ed7-936f6303986e",
"PostDate": "2026-07-27T14:22:11.0663039+00:00",
"Comment": "sample string 4",
"CC": [
"ecd4642c-e5c5-4cd6-8474-9c176ce3810e",
"8706e05e-cf7f-4e39-8ae1-0bb7c5dbbc94"
],
"Users": [
"ba1fe860-ee14-4e13-b9f9-2b706eaf7054",
"7795eef6-6329-4ec5-86ce-a819a46037b2"
]
},
{
"Id": "ab78b25f-29e3-4a21-a083-e6113916fdf5",
"UPN": "0b862bdc-977f-49c2-8ed7-936f6303986e",
"PostDate": "2026-07-27T14:22:11.0663039+00:00",
"Comment": "sample string 4",
"CC": [
"ecd4642c-e5c5-4cd6-8474-9c176ce3810e",
"8706e05e-cf7f-4e39-8ae1-0bb7c5dbbc94"
],
"Users": [
"ba1fe860-ee14-4e13-b9f9-2b706eaf7054",
"7795eef6-6329-4ec5-86ce-a819a46037b2"
]
}
],
"StartDate": "2026-07-27T14:22:11.0663039+00:00",
"DueDate": "2026-07-27T14:22:11.0663039+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"89be7dea-09a4-4b91-ab23-0a7af829596f": "31fdac6a-eee6-4cb1-ac7e-c0589ada6b1c",
"4ea97db8-ae53-4114-a455-4b37c64fc5bf": "f33405b2-fe41-483a-aec5-6a5a21a368ce"
},
"HasUpdates": true,
"Modified": "2026-07-27T14:22:11.0663039+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-27T14:22:11.0663039+00:00"
},
"LastComment": "2026-07-27T14:22:11.0663039+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "4e976aec-068e-4cc2-a2be-a88d8dc30928",
"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": "9a24eb48-22dc-4b6d-b293-0014c6481d79",
"id": "201f5513-440e-473a-9f72-0f0fb2438889",
"ConfigId": "6238230b-4a5a-49ee-ba6e-c8ade44724e3"
}