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": "8a957253-10b4-4ecc-adf0-3e2ba53092cf",
"Name": "sample string 1",
"Created": "2026-03-10T18:08:25.8198109+00:00",
"Modified": "2026-03-10T18:08:25.8198109+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"4bd2b981-f156-4a72-afe5-c27d80a75014",
"23a6ba81-28dc-40f8-804f-640f7a550457"
],
"NonLaborAssignments": [
{
"Id": "e1a6eeda-11fe-46ef-a55b-32fb123bc2ef",
"ResourceId": "c4a8f59c-3697-4639-987b-6385550e971a",
"Quantity": 3.0
},
{
"Id": "e1a6eeda-11fe-46ef-a55b-32fb123bc2ef",
"ResourceId": "c4a8f59c-3697-4639-987b-6385550e971a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "d0555665-bfcb-46fe-833d-c605eef355ee",
"Type": 0,
"ResourceId": "abb21e29-a272-4a93-9d3b-fcdee777d252",
"Units": 3.0
},
{
"Id": "d0555665-bfcb-46fe-833d-c605eef355ee",
"Type": 0,
"ResourceId": "abb21e29-a272-4a93-9d3b-fcdee777d252",
"Units": 3.0
}
],
"ParentId": "ed363e21-1406-4bce-81a2-0be5ccc91c9d",
"WorkTypeParentId": "56f12404-cd65-46de-aa6e-00eaf7fd996b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "85a28b88-1273-44ca-96aa-32728ff9fd37",
"UPN": "226e9d1e-6f18-4945-9a40-e76d87bfb69e",
"PostDate": "2026-03-10T18:08:25.8198109+00:00",
"Comment": "sample string 4",
"CC": [
"caefa57c-cb21-4b93-a734-54c2d25bc110",
"e287e59e-7aa3-46db-b7ad-dc4bde7f31e5"
],
"Users": [
"42357e84-383d-4b48-9c91-0c1a0f97936d",
"8aad6c80-8049-4f5d-a38d-047fb958a0b1"
]
},
{
"Id": "85a28b88-1273-44ca-96aa-32728ff9fd37",
"UPN": "226e9d1e-6f18-4945-9a40-e76d87bfb69e",
"PostDate": "2026-03-10T18:08:25.8198109+00:00",
"Comment": "sample string 4",
"CC": [
"caefa57c-cb21-4b93-a734-54c2d25bc110",
"e287e59e-7aa3-46db-b7ad-dc4bde7f31e5"
],
"Users": [
"42357e84-383d-4b48-9c91-0c1a0f97936d",
"8aad6c80-8049-4f5d-a38d-047fb958a0b1"
]
}
],
"StartDate": "2026-03-10T18:08:25.8198109+00:00",
"DueDate": "2026-03-10T18:08:25.8198109+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"ddf33030-66a8-4e6b-bbb6-d5dd05c6b970": "82d2763a-c6fe-43b1-8f11-1457d2bd2117",
"fb91140f-8faf-4d62-b189-52094ac3ff0f": "35a7d2ff-f777-4ee3-8ce0-39d847f439df"
},
"HasUpdates": true,
"Modified": "2026-03-10T18:08:25.8198109+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-10T18:08:25.8198109+00:00"
},
"LastComment": "2026-03-10T18:08:25.8198109+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "eee52e45-186d-4ee7-83d7-b062ff5ff683",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "fc03ddf1-690d-4b6a-b63b-7b1a9091f14d",
"id": "cc453883-39c3-48a2-9a95-b8d0ac69033b",
"ConfigId": "82da604e-1539-4b19-8231-1f95ee40529a"
}