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": "32c14d2f-659d-42da-a581-ac3a66bfdc3d",
"Name": "sample string 1",
"Created": "2026-05-31T13:23:41.2815524+00:00",
"Modified": "2026-05-31T13:23:41.2815524+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8203ed08-dbe8-4e6f-81aa-316537f0a001",
"b84b27f2-ccdd-40ad-b688-b418578ec4ca"
],
"NonLaborAssignments": [
{
"Id": "3abdf649-b202-4aa9-af32-92d862789474",
"ResourceId": "8c927dbd-f77c-497d-add1-01ab1a4e8d3f",
"Quantity": 3.0
},
{
"Id": "3abdf649-b202-4aa9-af32-92d862789474",
"ResourceId": "8c927dbd-f77c-497d-add1-01ab1a4e8d3f",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "a2391744-d4af-4044-9abd-d0e3ad23371e",
"Type": 0,
"ResourceId": "311540af-c505-40a1-8ca1-719565bdf5bf",
"Units": 3.0
},
{
"Id": "a2391744-d4af-4044-9abd-d0e3ad23371e",
"Type": 0,
"ResourceId": "311540af-c505-40a1-8ca1-719565bdf5bf",
"Units": 3.0
}
],
"ParentId": "3bedcd84-c418-4fa3-aff2-2d0c1dc9fbb1",
"WorkTypeParentId": "44dfec19-0d22-4af3-a577-fd75fddc8b4a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "e80fd33c-526e-4f98-8985-3a8baf16dca0",
"UPN": "668c1039-b4b0-4785-ab89-1715bd5f3f87",
"PostDate": "2026-05-31T13:23:41.2815524+00:00",
"Comment": "sample string 4",
"CC": [
"3325c857-39cb-4b58-8e00-b6e6ce5e0646",
"175fee24-20d5-4f2a-a55c-d5feb11f1cca"
],
"Users": [
"a3e7f0dc-d819-4802-9f34-3866230615fe",
"6060185a-84ea-4a8b-a0ff-eb3b93da39d6"
]
},
{
"Id": "e80fd33c-526e-4f98-8985-3a8baf16dca0",
"UPN": "668c1039-b4b0-4785-ab89-1715bd5f3f87",
"PostDate": "2026-05-31T13:23:41.2815524+00:00",
"Comment": "sample string 4",
"CC": [
"3325c857-39cb-4b58-8e00-b6e6ce5e0646",
"175fee24-20d5-4f2a-a55c-d5feb11f1cca"
],
"Users": [
"a3e7f0dc-d819-4802-9f34-3866230615fe",
"6060185a-84ea-4a8b-a0ff-eb3b93da39d6"
]
}
],
"StartDate": "2026-05-31T13:23:41.2815524+00:00",
"DueDate": "2026-05-31T13:23:41.2815524+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"2116b7bb-5a87-4fa4-ac1b-178cfe14f544": "f52a8ef7-eca3-435a-afa1-938eae21d97d",
"e41de571-a002-4878-b3ca-ff60b8dae044": "d02ecea9-d54f-475a-93f4-ac8e9ccf6180"
},
"HasUpdates": true,
"Modified": "2026-05-31T13:23:41.2815524+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-05-31T13:23:41.2815524+00:00"
},
"LastComment": "2026-05-31T13:23:41.2815524+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "dbcaed5c-bf7f-4bbe-8e35-a0cdb8ed86f7",
"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": "d88b61d2-c995-4b45-b29d-c8969b4c9008",
"id": "107ccea7-0885-4c38-8f23-85f7e58ca1a1",
"ConfigId": "a3557071-ee5e-4f4d-a9d6-33b204898526"
}