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": "45f25c9c-7e2a-478a-91bf-4345424f03b6",
"Name": "sample string 1",
"Created": "2026-03-16T21:43:49.3587449+00:00",
"Modified": "2026-03-16T21:43:49.3587449+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"acdfa74d-5f6b-4a5f-95e9-1eccc391085a",
"0506a740-6a66-425d-aaaf-8c8c8119951b"
],
"NonLaborAssignments": [
{
"Id": "ea3244f9-40fa-4c2d-a748-b065216dd6d2",
"ResourceId": "9fd941a9-2bc8-4bbf-981e-668dde236a65",
"Quantity": 3.0
},
{
"Id": "ea3244f9-40fa-4c2d-a748-b065216dd6d2",
"ResourceId": "9fd941a9-2bc8-4bbf-981e-668dde236a65",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "020dc670-4274-4b46-8eef-859f1624ddde",
"Type": 0,
"ResourceId": "4a75465a-385c-4025-857a-fc4513223877",
"Units": 3.0
},
{
"Id": "020dc670-4274-4b46-8eef-859f1624ddde",
"Type": 0,
"ResourceId": "4a75465a-385c-4025-857a-fc4513223877",
"Units": 3.0
}
],
"ParentId": "2c38ad83-1043-4635-b5a3-0a1226cf5f8b",
"WorkTypeParentId": "800dedfb-a6c9-402f-8b80-d96684990c6d",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "daa60bb1-7e36-489a-a311-c32cca64c367",
"UPN": "62cbc3d2-253a-4c88-9a52-ea23b59aa8b5",
"PostDate": "2026-03-16T21:43:49.3587449+00:00",
"Comment": "sample string 4",
"CC": [
"7301f9fe-0004-4e86-9cde-2a4a5b856489",
"c9278be3-b3e6-4671-a37b-7a87d78e5fad"
],
"Users": [
"b90a4a97-b976-4079-98bd-0618cf04487e",
"27080a67-70f5-42e0-bd82-05953a478232"
]
},
{
"Id": "daa60bb1-7e36-489a-a311-c32cca64c367",
"UPN": "62cbc3d2-253a-4c88-9a52-ea23b59aa8b5",
"PostDate": "2026-03-16T21:43:49.3587449+00:00",
"Comment": "sample string 4",
"CC": [
"7301f9fe-0004-4e86-9cde-2a4a5b856489",
"c9278be3-b3e6-4671-a37b-7a87d78e5fad"
],
"Users": [
"b90a4a97-b976-4079-98bd-0618cf04487e",
"27080a67-70f5-42e0-bd82-05953a478232"
]
}
],
"StartDate": "2026-03-16T21:43:49.3587449+00:00",
"DueDate": "2026-03-16T21:43:49.3587449+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"21e27d70-a853-401c-8985-b5eb40047d39": "34813ed9-cf23-4f6a-9b29-db9e02c45249",
"9fbdfb28-e5d1-4200-9942-fa7d50f986fc": "e1ed2ee3-16d3-45e6-a12e-5a50da3020dd"
},
"HasUpdates": true,
"Modified": "2026-03-16T21:43:49.3587449+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-03-16T21:43:49.3743521+00:00"
},
"LastComment": "2026-03-16T21:43:49.3743521+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "6c945baf-6ef0-445b-b03d-6d342842f784",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "33571a89-74a7-4f55-ac78-d2d8eedb7486",
"id": "9024684d-4f62-4d24-aa42-eabf0746821d",
"ConfigId": "6dc17f00-09ff-45a8-b0a0-b126335b4b11"
}