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": "4f2ff05f-dd0f-42a9-9fbe-70ea1dea263e",
"Name": "sample string 1",
"Created": "2026-04-03T07:12:15.1223876+00:00",
"Modified": "2026-04-03T07:12:15.1223876+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b7f7f637-7782-4352-910a-541b9d72183d",
"da3752af-6783-48fc-be7a-f26c03a6556c"
],
"NonLaborAssignments": [
{
"Id": "10cd5b1e-4861-487d-b165-8f59c8fa5afc",
"ResourceId": "bf738f5b-83e4-48f9-84a2-24b70c98166d",
"Quantity": 3.0
},
{
"Id": "10cd5b1e-4861-487d-b165-8f59c8fa5afc",
"ResourceId": "bf738f5b-83e4-48f9-84a2-24b70c98166d",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "eb690ec8-085d-4be7-b36a-1d8a7b6e28b6",
"Type": 0,
"ResourceId": "6fa5831e-355a-4639-8470-18c093107227",
"Units": 3.0
},
{
"Id": "eb690ec8-085d-4be7-b36a-1d8a7b6e28b6",
"Type": 0,
"ResourceId": "6fa5831e-355a-4639-8470-18c093107227",
"Units": 3.0
}
],
"ParentId": "45ae3651-ef0b-4812-84f7-d2f6a1287c49",
"WorkTypeParentId": "92a7203d-0c66-49cc-80d4-760a7d433ba2",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "f2f26fe7-855b-4a8d-a91a-57cd4a003723",
"UPN": "d5ad9a1c-9dfa-4e8a-a3a5-6167e0e62de1",
"PostDate": "2026-04-03T07:12:15.1223876+00:00",
"Comment": "sample string 4",
"CC": [
"6552cf67-8ef6-413c-a66b-b5b9bd2a74c1",
"f67d2c65-760c-40cd-b675-aa994eed60f5"
],
"Users": [
"ac640633-568d-4eb0-b014-9f74dfdb6a51",
"de40a4b9-dd33-4d5a-ae66-a3a3a86c6ec0"
]
},
{
"Id": "f2f26fe7-855b-4a8d-a91a-57cd4a003723",
"UPN": "d5ad9a1c-9dfa-4e8a-a3a5-6167e0e62de1",
"PostDate": "2026-04-03T07:12:15.1223876+00:00",
"Comment": "sample string 4",
"CC": [
"6552cf67-8ef6-413c-a66b-b5b9bd2a74c1",
"f67d2c65-760c-40cd-b675-aa994eed60f5"
],
"Users": [
"ac640633-568d-4eb0-b014-9f74dfdb6a51",
"de40a4b9-dd33-4d5a-ae66-a3a3a86c6ec0"
]
}
],
"StartDate": "2026-04-03T07:12:15.1223876+00:00",
"DueDate": "2026-04-03T07:12:15.1223876+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"995f14ff-6500-41ad-9a94-fe6618224ce9": "79a9c88b-b026-42ed-ad0c-17cdf2362529",
"0f78d76b-0f8f-4ba0-99d3-a5d2d61c6da5": "a0e57017-5fc0-4a6b-bd4c-2cfe090422ce"
},
"HasUpdates": true,
"Modified": "2026-04-03T07:12:15.1223876+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-04-03T07:12:15.1223876+00:00"
},
"LastComment": "2026-04-03T07:12:15.1380152+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3990fe72-f888-47e9-91d9-f01dd40674a7",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "72fcda09-fcf1-492c-b96a-52ad52a858e7",
"id": "b0d35641-96e4-4ffe-b964-b92b6cbf777a",
"ConfigId": "616c0ccf-f208-4d39-a4a5-1ad62bc23746"
}