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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "cf421192-57c7-4222-b05e-47b7403be4cd",
"Name": "sample string 1",
"Created": "2026-07-26T18:37:38.6252567+00:00",
"Modified": "2026-07-26T18:37:38.6252567+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e95b9c63-8a44-4fc4-bca9-dfb5e0fbb30a",
"3380e5f4-5a4f-48cf-aa2e-789d55a6ee86"
],
"NonLaborAssignments": [
{
"Id": "64e903e9-277c-4c91-9d83-dd49bd7b0ff3",
"ResourceId": "f57c2541-2685-4ccb-8cd4-a7a3009cc3aa",
"Quantity": 3.0
},
{
"Id": "64e903e9-277c-4c91-9d83-dd49bd7b0ff3",
"ResourceId": "f57c2541-2685-4ccb-8cd4-a7a3009cc3aa",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "9b6a1e31-a544-4dfe-b320-1611a08fb1f8",
"Type": 0,
"ResourceId": "a99a61f7-7f51-4a63-8b75-440d934e3df6",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "9b6a1e31-a544-4dfe-b320-1611a08fb1f8",
"Type": 0,
"ResourceId": "a99a61f7-7f51-4a63-8b75-440d934e3df6",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "4fb48930-02e5-4f89-b2d4-92c2783b815c",
"WorkTypeParentId": "2a7d6808-2f93-499e-93e8-26b0457113c5",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "8a1e7d45-d74e-49a0-9fb1-0dd20086cf08",
"UPN": "9986d2ca-c612-4132-8b6f-c3fc5a981f90",
"PostDate": "2026-07-26T18:37:38.6252567+00:00",
"Comment": "sample string 4",
"CC": [
"009ab717-5017-4cc8-a3c3-4749f32d5c3d",
"0d79944f-149b-47d7-b44c-904b01cf1fa7"
],
"Users": [
"f4a2cbd5-9f98-4a0d-8de5-75f851231f17",
"363a3eb5-4a74-478d-bbf6-c2d98d8a637a"
]
},
{
"Id": "8a1e7d45-d74e-49a0-9fb1-0dd20086cf08",
"UPN": "9986d2ca-c612-4132-8b6f-c3fc5a981f90",
"PostDate": "2026-07-26T18:37:38.6252567+00:00",
"Comment": "sample string 4",
"CC": [
"009ab717-5017-4cc8-a3c3-4749f32d5c3d",
"0d79944f-149b-47d7-b44c-904b01cf1fa7"
],
"Users": [
"f4a2cbd5-9f98-4a0d-8de5-75f851231f17",
"363a3eb5-4a74-478d-bbf6-c2d98d8a637a"
]
}
],
"StartDate": "2026-07-26T18:37:38.6252567+00:00",
"DueDate": "2026-07-26T18:37:38.6252567+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"31c8bba9-6979-4869-a9a9-8e5b5ea2e6f2": "e36a895f-b867-44ff-81e7-07ac469548f4",
"1327c9e7-c00a-48b0-8c4b-16acd804fedb": "eadacbe0-66c0-4e87-950f-442ea371194e"
},
"HasUpdates": true,
"Modified": "2026-07-26T18:37:38.6252567+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-07-26T18:37:38.6252567+00:00"
},
"LastComment": "2026-07-26T18:37:38.6252567+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ea6d55eb-921b-41ab-abd1-1ed24f6e18c1",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "1902dd3e-55db-4c63-a6c3-2c94be49e11b",
"id": "4cfdcdc2-cae4-480f-94a1-f0fc6c1d4cc8",
"ConfigId": "95159b41-f264-4f18-8d99-c5ccbad0aca6"
}