POST api/mywork/{id}
Update my work task
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
Dictionary of string [key] and Object [value]Request Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
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": "6a579467-e771-4e1f-be02-79db953f11d6",
"Name": "sample string 1",
"Created": "2025-11-22T01:39:21.9319209+00:00",
"Modified": "2025-11-22T01:39:21.9319209+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"2e13db34-eecd-4550-92ef-f907fd81e061",
"db163ce5-b6ea-419b-8b3d-6b96a8e7b386"
],
"NonLaborAssignments": [
{
"Id": "ad28ba95-7319-4aa0-8d7f-ec5b3214ad07",
"ResourceId": "b11b9198-48c9-4032-bee6-7cf588c87117",
"Quantity": 3.0
},
{
"Id": "ad28ba95-7319-4aa0-8d7f-ec5b3214ad07",
"ResourceId": "b11b9198-48c9-4032-bee6-7cf588c87117",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c1449e8c-0db4-4658-8664-86a6c1c8d323",
"Type": 0,
"ResourceId": "d62518ec-914d-4b7f-8482-00553fa1b247",
"Units": 3.0
},
{
"Id": "c1449e8c-0db4-4658-8664-86a6c1c8d323",
"Type": 0,
"ResourceId": "d62518ec-914d-4b7f-8482-00553fa1b247",
"Units": 3.0
}
],
"ParentId": "ba67c452-d79a-4d33-9b0d-638db604f00d",
"WorkTypeParentId": "e129ec03-d2cd-4670-b364-0e4fad580e2d",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "c40a56d6-5c1f-43e9-a3fe-7b0eb42bbd0e",
"UPN": "6d5db523-51cb-4886-8d94-ed66b2e6b38a",
"PostDate": "2025-11-22T01:39:21.9475483+00:00",
"Comment": "sample string 4",
"CC": [
"9f0bcca4-d3cf-4377-ba7f-134ac8a4b732",
"b9260f0b-4906-487d-b79b-2438fd8c4e14"
],
"Users": [
"e7d92da7-a331-404c-809b-5a601819d250",
"8e8bcb25-5b88-4f1a-bdbb-a25c72a1a652"
]
},
{
"Id": "c40a56d6-5c1f-43e9-a3fe-7b0eb42bbd0e",
"UPN": "6d5db523-51cb-4886-8d94-ed66b2e6b38a",
"PostDate": "2025-11-22T01:39:21.9475483+00:00",
"Comment": "sample string 4",
"CC": [
"9f0bcca4-d3cf-4377-ba7f-134ac8a4b732",
"b9260f0b-4906-487d-b79b-2438fd8c4e14"
],
"Users": [
"e7d92da7-a331-404c-809b-5a601819d250",
"8e8bcb25-5b88-4f1a-bdbb-a25c72a1a652"
]
}
],
"StartDate": "2025-11-22T01:39:21.9475483+00:00",
"DueDate": "2025-11-22T01:39:21.9475483+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"433d3288-a930-4d98-8ce9-de5566875704": "36d7701f-ef20-4112-9970-8b8a5f13be06",
"9e38f924-aedd-48d6-a468-2fba4653d099": "9a5578b4-faf7-4f4b-90f2-2729acf95d55"
},
"HasUpdates": true,
"Modified": "2025-11-22T01:39:21.9475483+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": "2025-11-22T01:39:21.9475483+00:00"
},
"LastComment": "2025-11-22T01:39:21.9475483+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a6ea8da9-ab72-4818-8da7-716fe178b50b",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "ae06ecb8-297a-4e98-ab54-0cf99821af2e",
"id": "7d9315dd-09bb-4f25-9f31-5c1a27d68935",
"ConfigId": "045f0a34-005b-421a-8391-78947fbaeec1"
}