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": "19a26505-0ed0-40a2-9f2d-efe808d86afd",
"Name": "sample string 1",
"Created": "2026-02-27T04:50:03.1859441+00:00",
"Modified": "2026-02-27T04:50:03.1859441+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8d9281c4-005d-4885-b998-685d8c1714cd",
"7f4cee62-818f-4a77-9d87-397c3bb17c74"
],
"NonLaborAssignments": [
{
"Id": "b37a4b59-2e49-49a1-902b-1c0ce41d0ebe",
"ResourceId": "3d0dbe1b-c5d2-484e-84fc-1eb3d23f9217",
"Quantity": 3.0
},
{
"Id": "b37a4b59-2e49-49a1-902b-1c0ce41d0ebe",
"ResourceId": "3d0dbe1b-c5d2-484e-84fc-1eb3d23f9217",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "f69f41d1-8491-4362-8acf-1e4b4baaa974",
"Type": 0,
"ResourceId": "1e0f3acb-96a9-4207-8649-b896a28738f9",
"Units": 3.0
},
{
"Id": "f69f41d1-8491-4362-8acf-1e4b4baaa974",
"Type": 0,
"ResourceId": "1e0f3acb-96a9-4207-8649-b896a28738f9",
"Units": 3.0
}
],
"ParentId": "a5536ca3-288a-4958-b4bd-6aa896fb7054",
"WorkTypeParentId": "a781b1a7-86e8-4063-8024-3a2ab276aa64",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "d8267cce-4931-46ec-a545-7fbbd61675de",
"UPN": "68750ef3-6a4b-4470-9804-d90f8e3b8e9e",
"PostDate": "2026-02-27T04:50:03.1859441+00:00",
"Comment": "sample string 4",
"CC": [
"3eee0168-11ad-4c78-865a-0ec067bdc0ec",
"114f5ebc-82ef-494f-bdf4-2fb333503907"
],
"Users": [
"e4a2039e-91e1-4593-b0b0-a8ab8da783e9",
"b9eb9d1f-53a9-43f9-8aa8-79f9da4127c4"
]
},
{
"Id": "d8267cce-4931-46ec-a545-7fbbd61675de",
"UPN": "68750ef3-6a4b-4470-9804-d90f8e3b8e9e",
"PostDate": "2026-02-27T04:50:03.1859441+00:00",
"Comment": "sample string 4",
"CC": [
"3eee0168-11ad-4c78-865a-0ec067bdc0ec",
"114f5ebc-82ef-494f-bdf4-2fb333503907"
],
"Users": [
"e4a2039e-91e1-4593-b0b0-a8ab8da783e9",
"b9eb9d1f-53a9-43f9-8aa8-79f9da4127c4"
]
}
],
"StartDate": "2026-02-27T04:50:03.1859441+00:00",
"DueDate": "2026-02-27T04:50:03.1859441+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"6d4ac760-7dc2-490f-b9e8-f4778522f99e": "8d5429de-e34a-4cd1-b304-9e6772ea6f7a",
"93333f97-3fd4-47fd-a327-98f36b39c16b": "42b1de00-4a2a-4d52-a04b-ec10aefd6d7f"
},
"HasUpdates": true,
"Modified": "2026-02-27T04:50:03.1859441+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-27T04:50:03.1859441+00:00"
},
"LastComment": "2026-02-27T04:50:03.1859441+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "2d58e47b-95f8-4359-804a-51cbd8c3c9c9",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "f03651d7-44b5-42a6-8b23-7cf3aca88c15",
"id": "54eb5b4c-e5eb-42d3-bbb4-3892ce90b846",
"ConfigId": "1deaa919-f4e7-40a5-ab13-0afb61da7fe6"
}