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": "1f95757d-9483-4a9a-9521-2e0a71dbad71",
"Name": "sample string 1",
"Created": "2026-01-27T20:17:26.3820824+00:00",
"Modified": "2026-01-27T20:17:26.3820824+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"f867d6d0-2643-4451-af2c-6bc69351f623",
"30aa8d16-9383-4759-b29f-ec7679151d6c"
],
"NonLaborAssignments": [
{
"Id": "fd732bea-2aa3-4c02-8773-ae57257c35b9",
"ResourceId": "c0be664d-6402-4837-98a5-9b85c560ca9c",
"Quantity": 3.0
},
{
"Id": "fd732bea-2aa3-4c02-8773-ae57257c35b9",
"ResourceId": "c0be664d-6402-4837-98a5-9b85c560ca9c",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "43819a61-78f1-44a0-97a1-958058e34247",
"Type": 0,
"ResourceId": "c3a996f3-ea1d-451a-acff-60d929fad5da",
"Units": 3.0
},
{
"Id": "43819a61-78f1-44a0-97a1-958058e34247",
"Type": 0,
"ResourceId": "c3a996f3-ea1d-451a-acff-60d929fad5da",
"Units": 3.0
}
],
"ParentId": "2e469a26-6326-41d5-91a4-05c6b1b22d81",
"WorkTypeParentId": "6db62aa7-027c-448c-bb3d-925f05018e59",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "fa978b0e-bb5b-4932-b125-0d03dcba3ef7",
"UPN": "4c393b38-537d-4d51-8e18-6cbd48bbf30c",
"PostDate": "2026-01-27T20:17:26.3820824+00:00",
"Comment": "sample string 4",
"CC": [
"12c8bd8e-9cab-45d9-abc6-b630ba72dd59",
"d0862058-7419-430d-af5d-765358372874"
],
"Users": [
"61dc708d-1f47-44a2-898f-7ba2182b509b",
"80d424aa-6356-4d58-840d-2cbfa7fd7baa"
]
},
{
"Id": "fa978b0e-bb5b-4932-b125-0d03dcba3ef7",
"UPN": "4c393b38-537d-4d51-8e18-6cbd48bbf30c",
"PostDate": "2026-01-27T20:17:26.3820824+00:00",
"Comment": "sample string 4",
"CC": [
"12c8bd8e-9cab-45d9-abc6-b630ba72dd59",
"d0862058-7419-430d-af5d-765358372874"
],
"Users": [
"61dc708d-1f47-44a2-898f-7ba2182b509b",
"80d424aa-6356-4d58-840d-2cbfa7fd7baa"
]
}
],
"StartDate": "2026-01-27T20:17:26.3820824+00:00",
"DueDate": "2026-01-27T20:17:26.3820824+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"769c627a-a26a-44e3-8033-d1ef8ca38e40": "b39449e2-e91f-423a-b4ad-caa60ee4b63b",
"a65a8ac2-ce31-4f79-ac1b-fe9828f2e6af": "cf9a7083-9579-42d5-8fab-51e0c84cf782"
},
"HasUpdates": true,
"Modified": "2026-01-27T20:17:26.3820824+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-01-27T20:17:26.3820824+00:00"
},
"LastComment": "2026-01-27T20:17:26.3820824+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "e63da60e-a27f-44fc-8777-d350bbdcb135",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "1cd640e9-f21b-4e90-8f79-20840dbc12ad",
"id": "2b554c1a-e78c-42ec-96e3-8544f6860f26",
"ConfigId": "a6632b8f-b384-4c14-9d06-09dd92bd85e4"
}