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": "c23f7200-3d91-40f8-9d8e-23a7a3dd1368",
"Name": "sample string 1",
"Created": "2026-01-29T15:18:25.7824971+00:00",
"Modified": "2026-01-29T15:18:25.7824971+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"7ef0348c-f598-4edc-9efe-1f8916e2120b",
"fbfe2985-bd20-49d6-bd2c-2f9e8f61da48"
],
"NonLaborAssignments": [
{
"Id": "894d443d-a0da-4cbc-ab66-4e38e71ad76e",
"ResourceId": "affb1f47-70bc-4d8e-8bfa-9d62b5040581",
"Quantity": 3.0
},
{
"Id": "894d443d-a0da-4cbc-ab66-4e38e71ad76e",
"ResourceId": "affb1f47-70bc-4d8e-8bfa-9d62b5040581",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c880a819-1eec-4dd2-9972-70db840244c5",
"Type": 0,
"ResourceId": "66cec904-0274-4dc2-b722-d9eb51f95144",
"Units": 3.0
},
{
"Id": "c880a819-1eec-4dd2-9972-70db840244c5",
"Type": 0,
"ResourceId": "66cec904-0274-4dc2-b722-d9eb51f95144",
"Units": 3.0
}
],
"ParentId": "24543201-aff4-4435-8ff9-a24deb4364fd",
"WorkTypeParentId": "001bd838-9458-4846-95d2-a94f3a056b12",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "deda14b7-1ba9-4e43-84ee-5e73fe6b93fb",
"UPN": "b04ab7d7-9d6f-4d00-a38d-0910d29fbff2",
"PostDate": "2026-01-29T15:18:25.7824971+00:00",
"Comment": "sample string 4",
"CC": [
"07825875-d306-47d5-b062-7d8a553e0b27",
"380716d0-bf22-4932-8122-06131a3e080a"
],
"Users": [
"052173b7-eda8-4878-b1ad-fa9c9ca67398",
"4a57ca2c-65b1-4e9f-8e24-737c62dadcab"
]
},
{
"Id": "deda14b7-1ba9-4e43-84ee-5e73fe6b93fb",
"UPN": "b04ab7d7-9d6f-4d00-a38d-0910d29fbff2",
"PostDate": "2026-01-29T15:18:25.7824971+00:00",
"Comment": "sample string 4",
"CC": [
"07825875-d306-47d5-b062-7d8a553e0b27",
"380716d0-bf22-4932-8122-06131a3e080a"
],
"Users": [
"052173b7-eda8-4878-b1ad-fa9c9ca67398",
"4a57ca2c-65b1-4e9f-8e24-737c62dadcab"
]
}
],
"StartDate": "2026-01-29T15:18:25.7824971+00:00",
"DueDate": "2026-01-29T15:18:25.7824971+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"20b34501-ef6a-4a14-9163-921e4db7a5af": "fdada47c-52bd-447f-b5ae-74a606889c3d",
"bd65b759-5838-4f22-a74a-8aaa6416b48b": "25ab105e-e4ae-46e4-996f-3340e24d4ef4"
},
"HasUpdates": true,
"Modified": "2026-01-29T15:18:25.7824971+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-29T15:18:25.7824971+00:00"
},
"LastComment": "2026-01-29T15:18:25.7824971+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "6a3acbb9-9e28-4044-9592-e8e14793fa80",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "9e1bfe3e-fe3f-4545-be65-7188b695fb2a",
"id": "140fb64f-737a-4224-a579-73525d2ee1db",
"ConfigId": "10ec6fbc-d436-44e1-9215-24e900d3506e"
}