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": "65df7f3b-8a48-4d7f-bd73-c42851e9ed43",
"Name": "sample string 1",
"Created": "2026-01-22T12:23:11.398776+00:00",
"Modified": "2026-01-22T12:23:11.398776+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"2e3c4528-0769-4e0a-971a-0cea18154e7d",
"31abef51-c692-478a-bca2-586941fc6a66"
],
"NonLaborAssignments": [
{
"Id": "d2aee4e8-a059-44f7-b278-2036fb352726",
"ResourceId": "be00eed1-36c1-4428-a817-52e654511373",
"Quantity": 3.0
},
{
"Id": "d2aee4e8-a059-44f7-b278-2036fb352726",
"ResourceId": "be00eed1-36c1-4428-a817-52e654511373",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "14ce47a3-4d5c-4654-bead-8ab7b762e341",
"Type": 0,
"ResourceId": "bce517c6-40bc-4998-8638-29144631f8ac",
"Units": 3.0
},
{
"Id": "14ce47a3-4d5c-4654-bead-8ab7b762e341",
"Type": 0,
"ResourceId": "bce517c6-40bc-4998-8638-29144631f8ac",
"Units": 3.0
}
],
"ParentId": "86806671-f2b9-42dd-b1b2-e80f3a89d31d",
"WorkTypeParentId": "fc38930c-31d1-4cb1-83e4-f25720310cbe",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "7e86e560-9a15-44f0-aa41-9a15d7e708de",
"UPN": "ffc229e6-0f7f-455f-bb40-525fd08a10b0",
"PostDate": "2026-01-22T12:23:11.398776+00:00",
"Comment": "sample string 4",
"CC": [
"357e1e00-9e12-4a69-96c6-faec661e62b0",
"c1bf16c8-f25f-4c25-9282-cbd57377cf4a"
],
"Users": [
"17279f3a-d3ec-433f-a4ad-e30c778fb9b9",
"07380feb-4bca-4075-b3cc-9097c9da0741"
]
},
{
"Id": "7e86e560-9a15-44f0-aa41-9a15d7e708de",
"UPN": "ffc229e6-0f7f-455f-bb40-525fd08a10b0",
"PostDate": "2026-01-22T12:23:11.398776+00:00",
"Comment": "sample string 4",
"CC": [
"357e1e00-9e12-4a69-96c6-faec661e62b0",
"c1bf16c8-f25f-4c25-9282-cbd57377cf4a"
],
"Users": [
"17279f3a-d3ec-433f-a4ad-e30c778fb9b9",
"07380feb-4bca-4075-b3cc-9097c9da0741"
]
}
],
"StartDate": "2026-01-22T12:23:11.398776+00:00",
"DueDate": "2026-01-22T12:23:11.398776+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"14cf10fa-6c05-427e-a7dc-53d20571c1e4": "4bad4c0d-b457-4bfa-8796-b62fae5b5611",
"97eba177-4da1-4c91-9929-ad5932f8727a": "defceffd-3ffb-4063-9c97-a445afcec1bf"
},
"HasUpdates": true,
"Modified": "2026-01-22T12:23:11.398776+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-22T12:23:11.398776+00:00"
},
"LastComment": "2026-01-22T12:23:11.398776+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "2f0ee893-dd57-4422-ba89-92da8ce6a649",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "5bbd0dba-173f-4d0f-acf3-252f13a6ee61",
"id": "a9cf3213-8434-4753-b205-df2313e06401",
"ConfigId": "0a947f1d-83a3-4b54-bc4a-ff9ae93628d7"
}