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": "0b203b68-dc18-42d3-be68-97edb06085f9",
"Name": "sample string 1",
"Created": "2026-02-07T23:56:52.1287615+00:00",
"Modified": "2026-02-07T23:56:52.1287615+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8c32c6b4-f0a9-4a48-abdd-d11ba4982ab0",
"94eb8f86-10b1-4d97-9ceb-b32ad19f2f8d"
],
"NonLaborAssignments": [
{
"Id": "bbf0a5f7-1acd-4468-9587-f87afb6d1885",
"ResourceId": "5e652268-80d1-4b7a-9052-d4b7cb9ad9f9",
"Quantity": 3.0
},
{
"Id": "bbf0a5f7-1acd-4468-9587-f87afb6d1885",
"ResourceId": "5e652268-80d1-4b7a-9052-d4b7cb9ad9f9",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0d827906-4f92-4e85-941a-021cbe0ac519",
"Type": 0,
"ResourceId": "77264e45-2e94-4618-9005-5e9015405950",
"Units": 3.0
},
{
"Id": "0d827906-4f92-4e85-941a-021cbe0ac519",
"Type": 0,
"ResourceId": "77264e45-2e94-4618-9005-5e9015405950",
"Units": 3.0
}
],
"ParentId": "7a403089-2861-4096-b4f0-8775b608c58d",
"WorkTypeParentId": "d64a4c70-6d2e-4744-ac8e-cb5821e24e30",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "41c41127-da3b-42e6-bb09-0572e28adbb6",
"UPN": "3c018261-f856-466d-b1a1-1760e314986f",
"PostDate": "2026-02-07T23:56:52.1287615+00:00",
"Comment": "sample string 4",
"CC": [
"f182c613-264d-4227-8906-3cc8b423463a",
"04156e69-8cd3-4014-8d75-aef90500955b"
],
"Users": [
"ff3a7f1b-3d99-4535-8bc1-a4b36ef12853",
"6b21b087-2daf-4afc-afc2-edee1ae4d637"
]
},
{
"Id": "41c41127-da3b-42e6-bb09-0572e28adbb6",
"UPN": "3c018261-f856-466d-b1a1-1760e314986f",
"PostDate": "2026-02-07T23:56:52.1287615+00:00",
"Comment": "sample string 4",
"CC": [
"f182c613-264d-4227-8906-3cc8b423463a",
"04156e69-8cd3-4014-8d75-aef90500955b"
],
"Users": [
"ff3a7f1b-3d99-4535-8bc1-a4b36ef12853",
"6b21b087-2daf-4afc-afc2-edee1ae4d637"
]
}
],
"StartDate": "2026-02-07T23:56:52.1287615+00:00",
"DueDate": "2026-02-07T23:56:52.1287615+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"e7ce5435-d75f-4ee7-bf64-891dc40e3c89": "cb447b65-8a51-4540-aea6-e78b49892554",
"908b0d34-fcaa-48dd-9019-caebfa579665": "04c9a52c-3bc4-4448-bd8e-21aa6e6b1e06"
},
"HasUpdates": true,
"Modified": "2026-02-07T23:56:52.1287615+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-07T23:56:52.1287615+00:00"
},
"LastComment": "2026-02-07T23:56:52.1287615+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "c404d357-dbcc-4f6a-97e0-111d6a803514",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "87f1d818-f1c3-4251-8bcf-cefa964d731f",
"id": "ccc77ebd-c394-40c7-90b6-22ffd73d9b95",
"ConfigId": "0a5c3fa8-40dd-49dd-919e-cf7a368acc13"
}