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": "a50fa6d2-ec4a-4054-b8d8-7265108c063f",
"Name": "sample string 1",
"Created": "2026-03-22T07:27:57.3585081+00:00",
"Modified": "2026-03-22T07:27:57.3585081+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8bb2d238-f88b-4898-a44c-1969f6540daa",
"3d942ebf-9bed-4aba-bf55-54e31dccb2b7"
],
"NonLaborAssignments": [
{
"Id": "65f32218-c045-4841-8924-84568dacbfb7",
"ResourceId": "8ede82e8-ab34-40c4-b591-cd9ce0cecfae",
"Quantity": 3.0
},
{
"Id": "65f32218-c045-4841-8924-84568dacbfb7",
"ResourceId": "8ede82e8-ab34-40c4-b591-cd9ce0cecfae",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "7b4bd6ab-181d-453a-a8dd-223b4383541a",
"Type": 0,
"ResourceId": "5e26e3d6-2bdc-4cdd-ab2f-67d94ceb7b13",
"Units": 3.0
},
{
"Id": "7b4bd6ab-181d-453a-a8dd-223b4383541a",
"Type": 0,
"ResourceId": "5e26e3d6-2bdc-4cdd-ab2f-67d94ceb7b13",
"Units": 3.0
}
],
"ParentId": "ecd04e36-7239-4a50-a950-8e0270b2618c",
"WorkTypeParentId": "90be3931-4174-494d-8b21-0870c638e228",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9feb0769-637e-49cc-a49b-e82833a4500c",
"UPN": "4c21a68f-4be4-41eb-bd76-3f9f38a9174e",
"PostDate": "2026-03-22T07:27:57.3585081+00:00",
"Comment": "sample string 4",
"CC": [
"c25cb918-474b-416a-87c4-4615addffc3f",
"16dd5c6f-3a02-4dfd-b888-1b9629e7d726"
],
"Users": [
"cc175846-c1fb-4e02-af58-53ff8d6120ca",
"8fb51530-270f-4c68-b885-273b65f126a8"
]
},
{
"Id": "9feb0769-637e-49cc-a49b-e82833a4500c",
"UPN": "4c21a68f-4be4-41eb-bd76-3f9f38a9174e",
"PostDate": "2026-03-22T07:27:57.3585081+00:00",
"Comment": "sample string 4",
"CC": [
"c25cb918-474b-416a-87c4-4615addffc3f",
"16dd5c6f-3a02-4dfd-b888-1b9629e7d726"
],
"Users": [
"cc175846-c1fb-4e02-af58-53ff8d6120ca",
"8fb51530-270f-4c68-b885-273b65f126a8"
]
}
],
"StartDate": "2026-03-22T07:27:57.3585081+00:00",
"DueDate": "2026-03-22T07:27:57.3585081+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"6de05ae9-5aa6-4966-b089-a773638ad924": "a90b31ae-cda2-4bde-9517-e125601ee750",
"5cbdf7fe-9cbe-4351-a395-18491f0b09db": "83816589-40f3-4b66-8ab4-7885b4ff08e4"
},
"HasUpdates": true,
"Modified": "2026-03-22T07:27:57.3585081+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-22T07:27:57.3585081+00:00"
},
"LastComment": "2026-03-22T07:27:57.3585081+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "8cc7242f-4bd5-40e9-9882-8430d1ca5b20",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "a3f41afa-9e81-42b7-8a79-1b00aa67edfd",
"id": "6c25b12c-353d-4afa-a7b0-72384d55a674",
"ConfigId": "7574ef93-9000-43cf-b971-f35be379a991"
}