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": "90bf295f-c479-4336-b0ee-721f9e45d958",
"Name": "sample string 1",
"Created": "2026-03-14T06:50:11.7726626+00:00",
"Modified": "2026-03-14T06:50:11.7726626+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"f2bdb67f-008a-46c7-9ec2-8c5e3dc693ab",
"30fcb475-7397-40bf-b6dd-b62b1e208b86"
],
"NonLaborAssignments": [
{
"Id": "0da53e8c-ec30-4139-95ce-654570cb8432",
"ResourceId": "19684133-4ce9-42b8-8191-313bfffbe701",
"Quantity": 3.0
},
{
"Id": "0da53e8c-ec30-4139-95ce-654570cb8432",
"ResourceId": "19684133-4ce9-42b8-8191-313bfffbe701",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "91f50d3b-9c7c-4e00-9b4e-1aa21b3224e6",
"Type": 0,
"ResourceId": "e33aac3c-66a9-4d4f-a00f-afa9ab67fb5d",
"Units": 3.0
},
{
"Id": "91f50d3b-9c7c-4e00-9b4e-1aa21b3224e6",
"Type": 0,
"ResourceId": "e33aac3c-66a9-4d4f-a00f-afa9ab67fb5d",
"Units": 3.0
}
],
"ParentId": "4015e6fb-1738-41e9-89bd-5293ac168498",
"WorkTypeParentId": "d32192e0-3eef-4123-b330-043796662b07",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1cd2e209-5dff-48f4-825d-c3fe152e8312",
"UPN": "6a2b7454-5f9e-48f2-97b1-59e2574bcdff",
"PostDate": "2026-03-14T06:50:11.7726626+00:00",
"Comment": "sample string 4",
"CC": [
"7118a570-1cb8-4c37-a5ae-d87616fdbf68",
"1440f1e4-5ae0-43b0-b0bc-e4cbf594a362"
],
"Users": [
"39c07b09-4dba-482e-844a-2dfe666e13e5",
"3869b017-9fa0-4447-aee9-963b3d5585b4"
]
},
{
"Id": "1cd2e209-5dff-48f4-825d-c3fe152e8312",
"UPN": "6a2b7454-5f9e-48f2-97b1-59e2574bcdff",
"PostDate": "2026-03-14T06:50:11.7726626+00:00",
"Comment": "sample string 4",
"CC": [
"7118a570-1cb8-4c37-a5ae-d87616fdbf68",
"1440f1e4-5ae0-43b0-b0bc-e4cbf594a362"
],
"Users": [
"39c07b09-4dba-482e-844a-2dfe666e13e5",
"3869b017-9fa0-4447-aee9-963b3d5585b4"
]
}
],
"StartDate": "2026-03-14T06:50:11.7726626+00:00",
"DueDate": "2026-03-14T06:50:11.7726626+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8201cadc-8f1e-4132-a70e-25dd84e551ff": "20304c56-53c8-4a79-903c-40153e63310e",
"66a49b27-b195-4d39-98bc-ea9fda71895f": "76948005-355b-448e-9a99-1ca356c7516d"
},
"HasUpdates": true,
"Modified": "2026-03-14T06:50:11.7726626+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-03-14T06:50:11.7726626+00:00"
},
"LastComment": "2026-03-14T06:50:11.7726626+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "dca9fa5b-136b-473d-9c78-bcd284b565ce",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "114e97e1-f737-4f35-a695-08c7259528bc",
"id": "73c88a1a-e10a-4137-a983-c0f3860dfce4",
"ConfigId": "cabed8f3-9dac-42a0-84ca-ceaa5623bddd"
}