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": "d1b13551-9ada-4b05-8ca6-de23bae7bac7",
"Name": "sample string 1",
"Created": "2026-02-09T01:24:21.6565248+00:00",
"Modified": "2026-02-09T01:24:21.6565248+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"ca879872-863a-47e1-9390-bb5960cca385",
"ca10af7e-807a-4d98-a802-2eff557aab2b"
],
"NonLaborAssignments": [
{
"Id": "2e768edf-a7f1-45fc-abef-b1161703bac9",
"ResourceId": "c700d2a0-2ad9-476a-8d1b-7bd77b0def6b",
"Quantity": 3.0
},
{
"Id": "2e768edf-a7f1-45fc-abef-b1161703bac9",
"ResourceId": "c700d2a0-2ad9-476a-8d1b-7bd77b0def6b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "b84c7422-e8f8-41bc-9384-075c0268ceb9",
"Type": 0,
"ResourceId": "1495552b-bc63-4cfb-9da4-a5ec30376e6c",
"Units": 3.0
},
{
"Id": "b84c7422-e8f8-41bc-9384-075c0268ceb9",
"Type": 0,
"ResourceId": "1495552b-bc63-4cfb-9da4-a5ec30376e6c",
"Units": 3.0
}
],
"ParentId": "0feee182-14a2-4402-9738-190bdf8f94b7",
"WorkTypeParentId": "10519d76-b0c6-4691-9c19-02289cc61910",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "79cb5331-caba-4021-9122-1532f69bd81a",
"UPN": "1197ad97-64af-4c56-875e-fcb2110173fa",
"PostDate": "2026-02-09T01:24:21.6565248+00:00",
"Comment": "sample string 4",
"CC": [
"f3b9b1d8-0275-49f7-ada3-9dadeb1c0281",
"2bf31c0e-377a-45e5-97a2-b415617a540d"
],
"Users": [
"9557aa17-4830-4606-abe5-fb5ec01b429a",
"9e31d5ef-7bb3-4fbc-90d3-ae3141370047"
]
},
{
"Id": "79cb5331-caba-4021-9122-1532f69bd81a",
"UPN": "1197ad97-64af-4c56-875e-fcb2110173fa",
"PostDate": "2026-02-09T01:24:21.6565248+00:00",
"Comment": "sample string 4",
"CC": [
"f3b9b1d8-0275-49f7-ada3-9dadeb1c0281",
"2bf31c0e-377a-45e5-97a2-b415617a540d"
],
"Users": [
"9557aa17-4830-4606-abe5-fb5ec01b429a",
"9e31d5ef-7bb3-4fbc-90d3-ae3141370047"
]
}
],
"StartDate": "2026-02-09T01:24:21.6565248+00:00",
"DueDate": "2026-02-09T01:24:21.6565248+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"f0aa9c38-ad0c-44b5-ab51-60a773f1d014": "1e5358aa-12a8-49af-9040-7095e4285808",
"af115e81-80cd-4889-a3a1-e3e6e2a48933": "7647f7cd-1f1b-48d1-aa18-3466db315857"
},
"HasUpdates": true,
"Modified": "2026-02-09T01:24:21.6565248+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-09T01:24:21.6565248+00:00"
},
"LastComment": "2026-02-09T01:24:21.6565248+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "2da580e3-ed6d-4dd5-b54c-ac53de414b12",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "83313cbf-94bd-4feb-aa2e-9fac3567550c",
"id": "47909a92-9f59-406a-a61e-c6f725d598e9",
"ConfigId": "a3d27c0f-bf91-45f8-92f2-ee276c214f48"
}