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": "52807d94-d1fe-4679-8dff-20a5e1a2daa8",
"Name": "sample string 1",
"Created": "2026-03-16T01:53:18.7419746+00:00",
"Modified": "2026-03-16T01:53:18.7419746+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"94ed5147-f875-4d96-891e-ac2445324dd5",
"3bcf8bde-a379-41f6-9d1a-d88d455fce8f"
],
"NonLaborAssignments": [
{
"Id": "aad5d271-6bb6-412f-b4d4-3867184df7bb",
"ResourceId": "ae9e4f5e-8d86-45ac-b343-286ddb72d280",
"Quantity": 3.0
},
{
"Id": "aad5d271-6bb6-412f-b4d4-3867184df7bb",
"ResourceId": "ae9e4f5e-8d86-45ac-b343-286ddb72d280",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "ab0bdd58-067f-486c-90d7-b04e00902e74",
"Type": 0,
"ResourceId": "a0a80650-2c9d-4fbe-9553-420d06407ab8",
"Units": 3.0
},
{
"Id": "ab0bdd58-067f-486c-90d7-b04e00902e74",
"Type": 0,
"ResourceId": "a0a80650-2c9d-4fbe-9553-420d06407ab8",
"Units": 3.0
}
],
"ParentId": "c6cf35d4-fd7b-4e2f-8874-6cb5a8b57598",
"WorkTypeParentId": "a7953556-8742-4231-9e6e-0403516e07df",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "893e5fe2-cc26-4b0a-a3c7-53ae34bc8864",
"UPN": "78e06cdb-a384-485f-833e-2d9821a75310",
"PostDate": "2026-03-16T01:53:18.7419746+00:00",
"Comment": "sample string 4",
"CC": [
"8c37f0ed-5c6e-445d-afe9-e036b7306ff6",
"40aa4dac-599a-43ff-9666-ea1094985bb4"
],
"Users": [
"4d5bba9f-4eae-4c1e-b62d-c75089aa3205",
"b60831fa-6665-4772-a53f-211be3dfca10"
]
},
{
"Id": "893e5fe2-cc26-4b0a-a3c7-53ae34bc8864",
"UPN": "78e06cdb-a384-485f-833e-2d9821a75310",
"PostDate": "2026-03-16T01:53:18.7419746+00:00",
"Comment": "sample string 4",
"CC": [
"8c37f0ed-5c6e-445d-afe9-e036b7306ff6",
"40aa4dac-599a-43ff-9666-ea1094985bb4"
],
"Users": [
"4d5bba9f-4eae-4c1e-b62d-c75089aa3205",
"b60831fa-6665-4772-a53f-211be3dfca10"
]
}
],
"StartDate": "2026-03-16T01:53:18.7419746+00:00",
"DueDate": "2026-03-16T01:53:18.7419746+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"ceebddc3-a861-4485-b77b-18691ab7460f": "f449f21a-75b3-4fba-8e87-1a9de650509a",
"4a9d3d10-d82a-43f6-8d33-e0ad6b042a1e": "182160d2-9e1c-45e4-9a09-6f1021ccda79"
},
"HasUpdates": true,
"Modified": "2026-03-16T01:53:18.7419746+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-16T01:53:18.7419746+00:00"
},
"LastComment": "2026-03-16T01:53:18.7419746+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a73546e9-eb1c-4f8e-b1b7-dbead134e1f5",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "738a0af7-e74e-4903-aa07-5e7e2d09cb18",
"id": "233b04cf-1de1-480d-bd14-d16435e2f387",
"ConfigId": "40ab2f69-c9f7-4df3-b380-da392c67edb8"
}