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": "34b5a506-14f3-4ba6-afd1-b8ebbfb6a292",
"Name": "sample string 1",
"Created": "2025-11-20T19:38:21.4263353+00:00",
"Modified": "2025-11-20T19:38:21.4263353+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a062669d-352a-4d41-b0e0-6d8e0e2daf82",
"d1ce3b4b-11ba-4145-99a0-a5475801a68f"
],
"NonLaborAssignments": [
{
"Id": "9b2912b6-f4ce-4dcd-acee-4eb229eb0230",
"ResourceId": "2bb40fe6-6236-462f-90d7-05657ca4f74c",
"Quantity": 3.0
},
{
"Id": "9b2912b6-f4ce-4dcd-acee-4eb229eb0230",
"ResourceId": "2bb40fe6-6236-462f-90d7-05657ca4f74c",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "98d5580e-c666-4758-a6d8-4341f626c2ef",
"Type": 0,
"ResourceId": "22271f5a-56b5-4444-9812-2264e2bfecd1",
"Units": 3.0
},
{
"Id": "98d5580e-c666-4758-a6d8-4341f626c2ef",
"Type": 0,
"ResourceId": "22271f5a-56b5-4444-9812-2264e2bfecd1",
"Units": 3.0
}
],
"ParentId": "a6500a4a-e7bf-4fde-8a02-9d18dd045af0",
"WorkTypeParentId": "ce852602-68af-47f3-8a4d-4fa2dc46cf91",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "dac836e1-fddf-48e8-973e-67a113aac14e",
"UPN": "19ebdcc9-1e3b-4b0a-b52d-63b4e720383e",
"PostDate": "2025-11-20T19:38:21.4263353+00:00",
"Comment": "sample string 4",
"CC": [
"2452cf76-9331-4d52-b478-9f9d4cec72ee",
"249e399b-9912-4114-b23e-5559295eb86e"
],
"Users": [
"548bd627-ef3a-4cf6-a9c3-300b8ce5a78c",
"389688e8-b988-4477-90ef-f700507ecaed"
]
},
{
"Id": "dac836e1-fddf-48e8-973e-67a113aac14e",
"UPN": "19ebdcc9-1e3b-4b0a-b52d-63b4e720383e",
"PostDate": "2025-11-20T19:38:21.4263353+00:00",
"Comment": "sample string 4",
"CC": [
"2452cf76-9331-4d52-b478-9f9d4cec72ee",
"249e399b-9912-4114-b23e-5559295eb86e"
],
"Users": [
"548bd627-ef3a-4cf6-a9c3-300b8ce5a78c",
"389688e8-b988-4477-90ef-f700507ecaed"
]
}
],
"StartDate": "2025-11-20T19:38:21.4263353+00:00",
"DueDate": "2025-11-20T19:38:21.4263353+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"1924d110-89f1-40c4-a0e7-a5d0c30f4096": "39c4c73c-63e3-4e2e-a9cd-17e77c345b0f",
"f0b7a68c-7f70-4b6e-b810-94dfd96af88d": "d5a51447-5f30-4c4d-934b-7cd7ba94a8d9"
},
"HasUpdates": true,
"Modified": "2025-11-20T19:38:21.4263353+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": "2025-11-20T19:38:21.4263353+00:00"
},
"LastComment": "2025-11-20T19:38:21.4263353+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "9efd2d32-d242-4c94-8127-e32351a6f5a1",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "4a395782-cc54-4c58-9e18-654735b8b3dc",
"id": "e094d516-ff04-4f71-b9b1-680a1abc70fd",
"ConfigId": "041c6302-fb99-4575-8426-ea0a59383937"
}