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": "b986bda2-0064-4778-a4a1-22b21aeaabe2",
"Name": "sample string 1",
"Created": "2026-01-26T12:22:40.3909375+00:00",
"Modified": "2026-01-26T12:22:40.3909375+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"22f63f59-1473-4d57-9a39-d22047a49e32",
"ccff0c40-e182-4370-a749-f06ebf086099"
],
"NonLaborAssignments": [
{
"Id": "d7b63e6d-2c66-4c7b-8b3e-6f7bf4e87f6a",
"ResourceId": "340ca4d7-16dd-4496-b4f5-7d901750f17e",
"Quantity": 3.0
},
{
"Id": "d7b63e6d-2c66-4c7b-8b3e-6f7bf4e87f6a",
"ResourceId": "340ca4d7-16dd-4496-b4f5-7d901750f17e",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "75daf5f3-1afd-46b3-a301-cebd0b47c483",
"Type": 0,
"ResourceId": "cda27641-e783-4e42-add7-db726d4ec5d8",
"Units": 3.0
},
{
"Id": "75daf5f3-1afd-46b3-a301-cebd0b47c483",
"Type": 0,
"ResourceId": "cda27641-e783-4e42-add7-db726d4ec5d8",
"Units": 3.0
}
],
"ParentId": "e7705c13-ea19-479a-90ee-18d4fd2275a1",
"WorkTypeParentId": "f98d031e-5068-4a03-aaeb-63586b08f633",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1027f215-268a-428c-b3a1-d97e67965dee",
"UPN": "56b5f111-7b46-4197-abbd-79eedc8b1082",
"PostDate": "2026-01-26T12:22:40.3909375+00:00",
"Comment": "sample string 4",
"CC": [
"c2e85c22-727f-4e56-8c54-8c4d8a82e912",
"a3a9e90c-a02d-48df-bda2-a49672626708"
],
"Users": [
"8e3646f0-5c02-4207-a1e2-cdc0bdad0d13",
"9f609e66-58fe-4422-a323-aaff4e554e95"
]
},
{
"Id": "1027f215-268a-428c-b3a1-d97e67965dee",
"UPN": "56b5f111-7b46-4197-abbd-79eedc8b1082",
"PostDate": "2026-01-26T12:22:40.3909375+00:00",
"Comment": "sample string 4",
"CC": [
"c2e85c22-727f-4e56-8c54-8c4d8a82e912",
"a3a9e90c-a02d-48df-bda2-a49672626708"
],
"Users": [
"8e3646f0-5c02-4207-a1e2-cdc0bdad0d13",
"9f609e66-58fe-4422-a323-aaff4e554e95"
]
}
],
"StartDate": "2026-01-26T12:22:40.3909375+00:00",
"DueDate": "2026-01-26T12:22:40.3909375+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"20b34356-2bbb-4cd4-9a61-cfced1406e2d": "c6bf1b93-5e30-4785-97a7-54306eba5c80",
"82b4201a-acc9-4b30-937b-00ebf53dd9cd": "7af6a18f-57b5-4670-a7c8-4ddf9b3750ef"
},
"HasUpdates": true,
"Modified": "2026-01-26T12:22:40.3909375+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-26T12:22:40.3909375+00:00"
},
"LastComment": "2026-01-26T12:22:40.3909375+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "e78f6bc5-fdaa-4e40-a34b-e9e6da1d2812",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "ae60145b-e50c-4fa1-8702-b26bcb70b690",
"id": "fea0aa86-0ba2-42e9-95fb-8dd149de78dd",
"ConfigId": "c24d1100-34dc-4fcc-9afd-69560498115c"
}