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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "261eb433-b5f0-46a0-8fd7-3c1368bcc3b6",
"Name": "sample string 1",
"Created": "2026-10-19T04:47:57.4864281+00:00",
"Modified": "2026-10-19T04:47:57.4864281+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b8b4e01d-dc2c-47ec-83ba-fcf03eaa5abf",
"c1263531-da53-455a-8c0c-06bcf70079fe"
],
"NonLaborAssignments": [
{
"Id": "ac82697d-d908-48e5-9e00-9a6967fd4c5d",
"ResourceId": "c5dd49b4-3a43-4319-8a98-9f6835e18cd1",
"Quantity": 3.0
},
{
"Id": "ac82697d-d908-48e5-9e00-9a6967fd4c5d",
"ResourceId": "c5dd49b4-3a43-4319-8a98-9f6835e18cd1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "77f9f515-2cab-4725-aa47-8001de48cefb",
"Type": 0,
"ResourceId": "727e674f-2fde-426c-877c-84a5cd1b3d1f",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "e3811dae-14f6-4af2-8df0-93f3be31145f",
"Start": "2026-10-19T04:47:57.5020337+00:00",
"Due": "2026-10-19T04:47:57.5020337+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "e3811dae-14f6-4af2-8df0-93f3be31145f",
"Start": "2026-10-19T04:47:57.5020337+00:00",
"Due": "2026-10-19T04:47:57.5020337+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "77f9f515-2cab-4725-aa47-8001de48cefb",
"Type": 0,
"ResourceId": "727e674f-2fde-426c-877c-84a5cd1b3d1f",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "e3811dae-14f6-4af2-8df0-93f3be31145f",
"Start": "2026-10-19T04:47:57.5020337+00:00",
"Due": "2026-10-19T04:47:57.5020337+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "e3811dae-14f6-4af2-8df0-93f3be31145f",
"Start": "2026-10-19T04:47:57.5020337+00:00",
"Due": "2026-10-19T04:47:57.5020337+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "1c413961-2f23-4092-bb33-041f543808ce",
"WorkTypeParentId": "eea24d8f-d48b-4a64-a430-3bc3d070a591",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "0ad6ce92-1839-49b1-9b90-a9064df5d00b",
"UPN": "ff23bbab-a865-4d86-98e6-4287325e14ac",
"PostDate": "2026-10-19T04:47:57.5020337+00:00",
"Comment": "sample string 4",
"CC": [
"99a91e91-85f7-431e-b2a0-e3ecc625110a",
"f9e74432-72f3-476a-9c99-2f2366f69b08"
],
"Users": [
"f9b07863-bb12-4a3c-974b-d1a20667f7d8",
"01549d8d-3f81-4111-a7ba-be56b450d9db"
]
},
{
"Id": "0ad6ce92-1839-49b1-9b90-a9064df5d00b",
"UPN": "ff23bbab-a865-4d86-98e6-4287325e14ac",
"PostDate": "2026-10-19T04:47:57.5020337+00:00",
"Comment": "sample string 4",
"CC": [
"99a91e91-85f7-431e-b2a0-e3ecc625110a",
"f9e74432-72f3-476a-9c99-2f2366f69b08"
],
"Users": [
"f9b07863-bb12-4a3c-974b-d1a20667f7d8",
"01549d8d-3f81-4111-a7ba-be56b450d9db"
]
}
],
"StartDate": "2026-10-19T04:47:57.5020337+00:00",
"DueDate": "2026-10-19T04:47:57.5020337+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"d5dffd8d-ec12-4fcc-a7c1-7dedc37ae8f1": "57c7e10f-85a8-460f-8525-329044e05b07",
"a87088c9-14d6-433c-ac7c-e80f3a5261ba": "e5da313a-4bed-4b63-9fc5-04b195604871"
},
"HasUpdates": true,
"Modified": "2026-10-19T04:47:57.5020337+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-10-19T04:47:57.5020337+00:00"
},
"LastComment": "2026-10-19T04:47:57.5020337+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b4c49eb8-14fc-4b70-887f-82468c36f37b",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "3a415dc6-421b-4ba2-af49-7dbbb9359e5c",
"id": "7d012516-feb2-40b7-a653-edb554516c32",
"ConfigId": "bf042ecb-139e-4b20-85e6-b6f48b3ad8e9"
}