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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "a5c85a65-1c46-40cc-a8b7-1256f116a52b",
"Name": "sample string 1",
"Created": "2026-07-12T18:05:07.3799234+00:00",
"Modified": "2026-07-12T18:05:07.3799234+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"ff517552-0f0d-4e8e-b049-47e04acfdb0f",
"8fbf694a-c209-4677-9af9-a69097269c1a"
],
"NonLaborAssignments": [
{
"Id": "d63f06d2-2536-485e-bacd-5c6bfc1e4f77",
"ResourceId": "73b94f66-76e1-4970-a298-fc405577bc21",
"Quantity": 3.0
},
{
"Id": "d63f06d2-2536-485e-bacd-5c6bfc1e4f77",
"ResourceId": "73b94f66-76e1-4970-a298-fc405577bc21",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "5c53b2a5-7bc7-425c-a7b0-7986a9201604",
"Type": 0,
"ResourceId": "1f9ca722-4257-4ffe-8e11-e8ebb6100ec5",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "5c53b2a5-7bc7-425c-a7b0-7986a9201604",
"Type": 0,
"ResourceId": "1f9ca722-4257-4ffe-8e11-e8ebb6100ec5",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "929a459a-a8c5-4bc7-87fe-70dc59b2ffd1",
"WorkTypeParentId": "2a4f033f-f01d-4fec-b0ea-7787f90971c6",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "f8d06b83-8c63-4b16-aabe-8cf7361aa96d",
"UPN": "65d00a91-a27a-49ff-a1d4-94695bdf40a4",
"PostDate": "2026-07-12T18:05:07.3799234+00:00",
"Comment": "sample string 4",
"CC": [
"de6df2e1-17f6-4512-a17a-3f6111d9fbef",
"3d010cfa-4921-4853-b309-4c72618ef660"
],
"Users": [
"d2e33320-6634-4245-84e9-1b41c442514a",
"c543c85a-5f6d-4c93-b3eb-37d5670a1853"
]
},
{
"Id": "f8d06b83-8c63-4b16-aabe-8cf7361aa96d",
"UPN": "65d00a91-a27a-49ff-a1d4-94695bdf40a4",
"PostDate": "2026-07-12T18:05:07.3799234+00:00",
"Comment": "sample string 4",
"CC": [
"de6df2e1-17f6-4512-a17a-3f6111d9fbef",
"3d010cfa-4921-4853-b309-4c72618ef660"
],
"Users": [
"d2e33320-6634-4245-84e9-1b41c442514a",
"c543c85a-5f6d-4c93-b3eb-37d5670a1853"
]
}
],
"StartDate": "2026-07-12T18:05:07.3799234+00:00",
"DueDate": "2026-07-12T18:05:07.3799234+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"94ef2cd9-ee6f-4892-ad69-c2e118ecace2": "8e603896-d5a7-496d-95d5-8edc618bcbbf",
"6dba5464-be2e-4b17-9920-81ee308ae431": "5166a8bf-730d-4d4a-a2a1-e8879f981971"
},
"HasUpdates": true,
"Modified": "2026-07-12T18:05:07.3799234+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-07-12T18:05:07.3799234+00:00"
},
"LastComment": "2026-07-12T18:05:07.3799234+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "d7f15fc6-5654-441b-adb4-3b9b5d40f971",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "5d38b889-5e90-46ab-b448-2b1705f3c22f",
"id": "d8b786cf-6e93-4007-a095-1f190f60e0e6",
"ConfigId": "27bda004-d69a-42f4-8d79-ef3add321266"
}