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": "3f24e508-7f24-4bf8-9331-c225940a004c",
"Name": "sample string 1",
"Created": "2026-02-02T16:02:14.5784415+00:00",
"Modified": "2026-02-02T16:02:14.5784415+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"70e122b6-ebbe-4ef4-92a6-cac92a66a642",
"9712503b-450f-43ba-817b-db1e1c95351f"
],
"NonLaborAssignments": [
{
"Id": "1c041fe1-da05-4684-8212-b8c450bd459f",
"ResourceId": "1b4f9f32-2bf6-4c02-b448-349c3caf180e",
"Quantity": 3.0
},
{
"Id": "1c041fe1-da05-4684-8212-b8c450bd459f",
"ResourceId": "1b4f9f32-2bf6-4c02-b448-349c3caf180e",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "4437788c-2fb9-4064-a555-f6203ad1a791",
"Type": 0,
"ResourceId": "231ed0f5-662d-43ac-b46a-19c016257daa",
"Units": 3.0
},
{
"Id": "4437788c-2fb9-4064-a555-f6203ad1a791",
"Type": 0,
"ResourceId": "231ed0f5-662d-43ac-b46a-19c016257daa",
"Units": 3.0
}
],
"ParentId": "b2dfe165-b907-4997-a7d4-dbd51587d6ed",
"WorkTypeParentId": "83661e80-45d5-41d7-91e1-66976482e092",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "815867e1-41aa-4c96-a540-74555d946372",
"UPN": "8151319a-b137-438b-951b-f9d50384cb33",
"PostDate": "2026-02-02T16:02:14.5784415+00:00",
"Comment": "sample string 4",
"CC": [
"33b29998-c56c-45e4-b694-e42dda19268d",
"eea7fddc-3d66-42f7-a2c8-98f4334e2f31"
],
"Users": [
"4d5aeb6d-8a5c-43eb-885e-fcbe152def3c",
"617f528d-6242-4a9e-98a7-a9e03d8d0c88"
]
},
{
"Id": "815867e1-41aa-4c96-a540-74555d946372",
"UPN": "8151319a-b137-438b-951b-f9d50384cb33",
"PostDate": "2026-02-02T16:02:14.5784415+00:00",
"Comment": "sample string 4",
"CC": [
"33b29998-c56c-45e4-b694-e42dda19268d",
"eea7fddc-3d66-42f7-a2c8-98f4334e2f31"
],
"Users": [
"4d5aeb6d-8a5c-43eb-885e-fcbe152def3c",
"617f528d-6242-4a9e-98a7-a9e03d8d0c88"
]
}
],
"StartDate": "2026-02-02T16:02:14.5784415+00:00",
"DueDate": "2026-02-02T16:02:14.5784415+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"9d9250a7-7a36-43d6-a784-f0e61574344c": "ba2aa11f-e061-46d4-8b73-5f70076f2cd1",
"ad6a199a-fc69-4915-93f0-488374589538": "ece79c67-9b35-46cb-9e2e-762b830912bb"
},
"HasUpdates": true,
"Modified": "2026-02-02T16:02:14.5784415+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-02T16:02:14.5784415+00:00"
},
"LastComment": "2026-02-02T16:02:14.5784415+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a2a9f4a4-c3fa-496a-89ba-1b98d6ee5fa7",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "4eea0079-7dfe-488d-aba2-7ef9b5602800",
"id": "98cd85b2-cea0-4c97-b463-9f8d4bd34704",
"ConfigId": "316695bf-4291-4b06-a43b-6daebaa2e646"
}