POST api/mywork/AcceptUpdate?TaskId={TaskId}
Approve a task update
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskId | globally unique identifier |
Required |
Body Parameters
None.
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": "281ef286-1e9a-4766-9ea1-a9e59806aecb",
"Name": "sample string 1",
"Created": "2026-01-07T23:23:49.6988762+00:00",
"Modified": "2026-01-07T23:23:49.6988762+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"311cbff6-57f6-4cbd-a6ab-2dcfe9625a10",
"0827d63f-b195-479c-a947-82435deba724"
],
"NonLaborAssignments": [
{
"Id": "5bc952f9-a1dc-449a-a6f3-4c397a46068b",
"ResourceId": "a05107de-c069-49c7-aa48-a468afd4cb71",
"Quantity": 3.0
},
{
"Id": "5bc952f9-a1dc-449a-a6f3-4c397a46068b",
"ResourceId": "a05107de-c069-49c7-aa48-a468afd4cb71",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0900b44d-0cae-43b5-8ef4-cc30f559e9eb",
"Type": 0,
"ResourceId": "b5b05e3b-0d88-41ec-9f61-ff80840629b4",
"Units": 3.0
},
{
"Id": "0900b44d-0cae-43b5-8ef4-cc30f559e9eb",
"Type": 0,
"ResourceId": "b5b05e3b-0d88-41ec-9f61-ff80840629b4",
"Units": 3.0
}
],
"ParentId": "35d40e6d-b107-47be-8b9a-3031af8ababa",
"WorkTypeParentId": "4171b582-a63c-4901-9198-9c16804254a8",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "30de9fd8-4572-49d0-9b70-73b64f437941",
"UPN": "ddc3e640-4db4-4f49-827b-723964d8aacb",
"PostDate": "2026-01-07T23:23:49.6988762+00:00",
"Comment": "sample string 4",
"CC": [
"1a07cacb-c6e5-4fa7-b0c0-0a513e0842ba",
"ed5f4c02-b55c-4714-a7db-76be30c5f451"
],
"Users": [
"33db644f-3476-46cf-9758-595774d98cf7",
"516f42b3-420e-457e-ae6f-aa7b7c54b858"
]
},
{
"Id": "30de9fd8-4572-49d0-9b70-73b64f437941",
"UPN": "ddc3e640-4db4-4f49-827b-723964d8aacb",
"PostDate": "2026-01-07T23:23:49.6988762+00:00",
"Comment": "sample string 4",
"CC": [
"1a07cacb-c6e5-4fa7-b0c0-0a513e0842ba",
"ed5f4c02-b55c-4714-a7db-76be30c5f451"
],
"Users": [
"33db644f-3476-46cf-9758-595774d98cf7",
"516f42b3-420e-457e-ae6f-aa7b7c54b858"
]
}
],
"StartDate": "2026-01-07T23:23:49.6988762+00:00",
"DueDate": "2026-01-07T23:23:49.6988762+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"31edcc73-9be3-4c1f-84f3-4d27e55e6878": "9f0dacf9-8e56-40af-ad6d-62e245ce5c03",
"90d465f2-3cb9-4cd3-9465-d70021ed522b": "29803973-7f1b-4957-b709-3edb01b13d0e"
},
"HasUpdates": true,
"Modified": "2026-01-07T23:23:49.6988762+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-01-07T23:23:49.6988762+00:00"
},
"LastComment": "2026-01-07T23:23:49.6988762+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "c16f4c70-2be3-4ab4-8a2e-9dd18c61951f",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "78603754-018b-4412-b5d7-a21aff18574c",
"id": "e612c30f-5da2-46e5-abcd-14a2c6c354b6",
"ConfigId": "19a2f35b-2989-4531-a6bf-1a933026a55d"
}