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": "3fac94fb-dd46-43dd-bcb5-ab26fd89a306",
"Name": "sample string 1",
"Created": "2026-02-19T01:51:11.82641+00:00",
"Modified": "2026-02-19T01:51:11.82641+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e7d0d657-1919-48b1-ade0-d226b33f7613",
"e52b7485-5ce6-449e-903f-1b507e208c50"
],
"NonLaborAssignments": [
{
"Id": "95b449cd-50d6-408f-8a0e-9aaa234a6ed1",
"ResourceId": "56c80e47-2cde-4064-82d9-19ee47026f72",
"Quantity": 3.0
},
{
"Id": "95b449cd-50d6-408f-8a0e-9aaa234a6ed1",
"ResourceId": "56c80e47-2cde-4064-82d9-19ee47026f72",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "8ce1f0db-59fe-4f31-9c67-b418ba515d88",
"Type": 0,
"ResourceId": "f8b6eeaa-b472-4775-b21d-b8817ec6d28b",
"Units": 3.0
},
{
"Id": "8ce1f0db-59fe-4f31-9c67-b418ba515d88",
"Type": 0,
"ResourceId": "f8b6eeaa-b472-4775-b21d-b8817ec6d28b",
"Units": 3.0
}
],
"ParentId": "47be59b7-e60e-49b3-ba67-8fa934a5f1bf",
"WorkTypeParentId": "9bd0b861-bb40-4067-b434-effa33c7e501",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "b360eddf-e742-45a4-bb85-f03282b14210",
"UPN": "e2dd3e66-6695-41d5-88ec-3740741b65e6",
"PostDate": "2026-02-19T01:51:11.82641+00:00",
"Comment": "sample string 4",
"CC": [
"bd7c62c4-f5da-45dd-8faf-b4bd133d2dfc",
"bc6de4fc-afe3-42e3-b4ab-0b30c9a5438d"
],
"Users": [
"91516d7f-434c-403c-b7e4-115f74ed30e6",
"1c970c49-2f74-4c6a-9eb4-1cfaed54c78f"
]
},
{
"Id": "b360eddf-e742-45a4-bb85-f03282b14210",
"UPN": "e2dd3e66-6695-41d5-88ec-3740741b65e6",
"PostDate": "2026-02-19T01:51:11.82641+00:00",
"Comment": "sample string 4",
"CC": [
"bd7c62c4-f5da-45dd-8faf-b4bd133d2dfc",
"bc6de4fc-afe3-42e3-b4ab-0b30c9a5438d"
],
"Users": [
"91516d7f-434c-403c-b7e4-115f74ed30e6",
"1c970c49-2f74-4c6a-9eb4-1cfaed54c78f"
]
}
],
"StartDate": "2026-02-19T01:51:11.82641+00:00",
"DueDate": "2026-02-19T01:51:11.82641+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"bf1c1895-3d01-4193-a7ff-49917144a8b8": "b70316bb-75f0-4fac-9fa7-455f30df96ab",
"962da383-c634-4c62-9ffb-d0941993e582": "6f785b58-7a73-45e4-8017-a5513e700f15"
},
"HasUpdates": true,
"Modified": "2026-02-19T01:51:11.82641+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-02-19T01:51:11.82641+00:00"
},
"LastComment": "2026-02-19T01:51:11.82641+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "62513ad3-49d8-469b-a26d-2a05c9465b84",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "0a898985-af8f-4e43-a88a-9293e3a0fa30",
"id": "0c5bdfd8-935f-4551-85c1-c7ed37790898",
"ConfigId": "97ab5d32-c51b-43df-b259-0dde9ff20142"
}