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": "d26336df-c41b-48b5-bda1-7c4153fa950c",
"Name": "sample string 1",
"Created": "2026-01-12T11:07:21.4470427+00:00",
"Modified": "2026-01-12T11:07:21.4470427+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"87d5d3b6-37d9-45fb-b659-539d1a33a46f",
"b35e51b3-daef-496f-a2f3-6d671536a581"
],
"NonLaborAssignments": [
{
"Id": "288bdd1b-aedc-4235-9f83-e0ddf378a45a",
"ResourceId": "c100b390-8606-4928-b207-480a846d46fe",
"Quantity": 3.0
},
{
"Id": "288bdd1b-aedc-4235-9f83-e0ddf378a45a",
"ResourceId": "c100b390-8606-4928-b207-480a846d46fe",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "d8249fc9-cb00-4d51-9917-928e1d17a102",
"Type": 0,
"ResourceId": "d61164c0-f5ca-4bca-ae16-ac319d7f0602",
"Units": 3.0
},
{
"Id": "d8249fc9-cb00-4d51-9917-928e1d17a102",
"Type": 0,
"ResourceId": "d61164c0-f5ca-4bca-ae16-ac319d7f0602",
"Units": 3.0
}
],
"ParentId": "e2f31fd6-1a1f-4adf-b46c-73762b3a978c",
"WorkTypeParentId": "54885116-bac9-42f2-893c-ddec6d2796b0",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "31b38244-7e99-4c33-9868-c4e6e34764e4",
"UPN": "0eaa7712-2575-4b4c-9dbf-ed8c5c2f213e",
"PostDate": "2026-01-12T11:07:21.4470427+00:00",
"Comment": "sample string 4",
"CC": [
"2de61ae4-6e04-4d9f-9e81-87e7d5f7d410",
"3f07028f-5794-4957-ba89-27b59581e3c4"
],
"Users": [
"5e5e2f4e-9f18-4e5e-8b4b-bfd2adfe8eba",
"3a036050-37c7-4550-9e47-26ff9adc3666"
]
},
{
"Id": "31b38244-7e99-4c33-9868-c4e6e34764e4",
"UPN": "0eaa7712-2575-4b4c-9dbf-ed8c5c2f213e",
"PostDate": "2026-01-12T11:07:21.4470427+00:00",
"Comment": "sample string 4",
"CC": [
"2de61ae4-6e04-4d9f-9e81-87e7d5f7d410",
"3f07028f-5794-4957-ba89-27b59581e3c4"
],
"Users": [
"5e5e2f4e-9f18-4e5e-8b4b-bfd2adfe8eba",
"3a036050-37c7-4550-9e47-26ff9adc3666"
]
}
],
"StartDate": "2026-01-12T11:07:21.4470427+00:00",
"DueDate": "2026-01-12T11:07:21.4470427+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b8a7e385-9fb8-4baa-b123-eb2022200fd0": "16d9a289-ac11-460c-a663-470e81462ad2",
"32fd2c4b-b9e3-449c-9046-a83b352cc812": "35aca67f-47c8-4526-961b-98553bbfced2"
},
"HasUpdates": true,
"Modified": "2026-01-12T11:07:21.4470427+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-01-12T11:07:21.4470427+00:00"
},
"LastComment": "2026-01-12T11:07:21.4470427+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3fd28c0a-779d-453c-b402-78d8871c1203",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "32fd9718-43de-4b77-a964-b7b08238f9ee",
"id": "24822dac-0ce8-4486-b1a0-2a1ef51ac5d9",
"ConfigId": "e4349abb-d6cc-4965-9463-c3d6197ee36e"
}