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": "3612aa41-2af6-4481-8cb4-25de520ef5b3",
"Name": "sample string 1",
"Created": "2026-02-27T16:53:40.2755151+00:00",
"Modified": "2026-02-27T16:53:40.2755151+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e77e607f-c742-4508-b42c-f65a2f0f0e0d",
"9c09a8cd-0286-42b6-b9a3-c83b41dd6162"
],
"NonLaborAssignments": [
{
"Id": "0c941f41-0b59-4068-a786-60453ed1cc32",
"ResourceId": "89c7c8d6-22d9-40ce-a27f-871049b117e3",
"Quantity": 3.0
},
{
"Id": "0c941f41-0b59-4068-a786-60453ed1cc32",
"ResourceId": "89c7c8d6-22d9-40ce-a27f-871049b117e3",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "b1b8d79f-dfc3-49f5-8996-3066d57a135b",
"Type": 0,
"ResourceId": "bbff7b81-3a05-47e7-a47c-325fd77be616",
"Units": 3.0
},
{
"Id": "b1b8d79f-dfc3-49f5-8996-3066d57a135b",
"Type": 0,
"ResourceId": "bbff7b81-3a05-47e7-a47c-325fd77be616",
"Units": 3.0
}
],
"ParentId": "c504c432-2bfc-4344-9085-c3f69dc0ef9a",
"WorkTypeParentId": "90689ce8-16f2-44bd-adb0-6315e9f8b06f",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "da61f78e-68e9-4976-b273-bce50ebe59fb",
"UPN": "d31378e3-6a00-4bc1-85db-7faa77447ef7",
"PostDate": "2026-02-27T16:53:40.2755151+00:00",
"Comment": "sample string 4",
"CC": [
"970d9daa-7cfb-4e65-80fe-a3e19f8131f2",
"35e66189-e329-49a7-86c7-766f95789e2d"
],
"Users": [
"aa90127a-f8f3-49cd-a6ba-a05b37cbb0c8",
"ff265b7d-39ce-4e27-917e-1976ff91cea5"
]
},
{
"Id": "da61f78e-68e9-4976-b273-bce50ebe59fb",
"UPN": "d31378e3-6a00-4bc1-85db-7faa77447ef7",
"PostDate": "2026-02-27T16:53:40.2755151+00:00",
"Comment": "sample string 4",
"CC": [
"970d9daa-7cfb-4e65-80fe-a3e19f8131f2",
"35e66189-e329-49a7-86c7-766f95789e2d"
],
"Users": [
"aa90127a-f8f3-49cd-a6ba-a05b37cbb0c8",
"ff265b7d-39ce-4e27-917e-1976ff91cea5"
]
}
],
"StartDate": "2026-02-27T16:53:40.2755151+00:00",
"DueDate": "2026-02-27T16:53:40.2755151+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"1ec85562-b8f5-476b-85e7-4879f4dfcec6": "f1800ce9-996b-46e4-ab0d-f3cb7a013522",
"5657d8b1-8600-42c8-aef3-7c0267bb1ece": "56e8b15d-e398-4eaf-b968-857296d7d09f"
},
"HasUpdates": true,
"Modified": "2026-02-27T16:53:40.2755151+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-02-27T16:53:40.2755151+00:00"
},
"LastComment": "2026-02-27T16:53:40.2755151+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "abd35f23-72a7-419a-a2ca-ef582d7498fb",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "374eef1d-59d7-4193-9f57-d55bb5b7b823",
"id": "722087f6-f6aa-4b32-b540-17b6102ebf0c",
"ConfigId": "f747a356-976a-4b1a-8b89-a3d218a892d9"
}