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": "d2048050-5302-44a4-b9cf-fd4a6981ddd5",
"Name": "sample string 1",
"Created": "2026-05-10T11:25:41.0059759+00:00",
"Modified": "2026-05-10T11:25:41.0059759+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"7b5668d4-f079-40be-a8b9-d80db5399972",
"518a52b8-ff08-400c-85aa-932013b12ddf"
],
"NonLaborAssignments": [
{
"Id": "b3f7a592-1f79-4702-b73c-7b715b14bc60",
"ResourceId": "d8478fc7-a984-4060-ac91-fecce487edb4",
"Quantity": 3.0
},
{
"Id": "b3f7a592-1f79-4702-b73c-7b715b14bc60",
"ResourceId": "d8478fc7-a984-4060-ac91-fecce487edb4",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e880e016-d07a-48af-bfbf-d1bc10cbd6d8",
"Type": 0,
"ResourceId": "b6ef6431-a49a-4e34-93c2-abb62c1e611b",
"Units": 3.0
},
{
"Id": "e880e016-d07a-48af-bfbf-d1bc10cbd6d8",
"Type": 0,
"ResourceId": "b6ef6431-a49a-4e34-93c2-abb62c1e611b",
"Units": 3.0
}
],
"ParentId": "1036483e-4d4a-41b1-9109-079ae288ff4e",
"WorkTypeParentId": "69f3aaae-896f-467c-ac36-97c954a8d6ad",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "a39b4df3-57a6-41d7-b8b3-38002d6d11a3",
"UPN": "84bca015-a0d9-447b-822c-a9910ab478a1",
"PostDate": "2026-05-10T11:25:41.0059759+00:00",
"Comment": "sample string 4",
"CC": [
"0d1f7db4-cbfa-40ae-91e4-0027d75b78ce",
"44ffcfdb-0f20-4e58-b0f4-319ac900d69e"
],
"Users": [
"65c9134a-5c40-41de-ab7f-3f3177209bab",
"06bd7226-3e95-431a-9262-871db5586882"
]
},
{
"Id": "a39b4df3-57a6-41d7-b8b3-38002d6d11a3",
"UPN": "84bca015-a0d9-447b-822c-a9910ab478a1",
"PostDate": "2026-05-10T11:25:41.0059759+00:00",
"Comment": "sample string 4",
"CC": [
"0d1f7db4-cbfa-40ae-91e4-0027d75b78ce",
"44ffcfdb-0f20-4e58-b0f4-319ac900d69e"
],
"Users": [
"65c9134a-5c40-41de-ab7f-3f3177209bab",
"06bd7226-3e95-431a-9262-871db5586882"
]
}
],
"StartDate": "2026-05-10T11:25:41.0059759+00:00",
"DueDate": "2026-05-10T11:25:41.0059759+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"94e3b015-d2ea-4204-a014-8c7fd166cb5f": "91547e00-f3dd-40c7-8ab6-b7402bb2c829",
"0230f9c4-5fe8-4b7b-a1d1-02b1a743985b": "76d7fdaa-17e8-49be-90c5-2bf3fef1eb7d"
},
"HasUpdates": true,
"Modified": "2026-05-10T11:25:41.0059759+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-10T11:25:41.0059759+00:00"
},
"LastComment": "2026-05-10T11:25:41.0059759+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "66828694-8f35-480c-b151-9869b7d65f39",
"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": "9f4fca3b-d447-4d0e-8cb4-4d5ba18155e0",
"id": "5af539ca-e33b-44da-a258-5057d180fcba",
"ConfigId": "00ce0e58-e682-4ecd-acd3-f779409b0ccf"
}