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": "d2da23e3-c14b-401a-86a7-777e0b6ff7df",
"Name": "sample string 1",
"Created": "2026-02-26T04:05:19.3271725+00:00",
"Modified": "2026-02-26T04:05:19.3271725+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"7685ea28-7577-4dc6-91fa-d6de2e80c14e",
"840e6444-9c2b-47e9-9fb6-f06e3dab0282"
],
"NonLaborAssignments": [
{
"Id": "b0fcaf0e-002d-4880-80cd-3770709e321d",
"ResourceId": "acf7b685-6bf7-4e02-9282-cee60d8735a2",
"Quantity": 3.0
},
{
"Id": "b0fcaf0e-002d-4880-80cd-3770709e321d",
"ResourceId": "acf7b685-6bf7-4e02-9282-cee60d8735a2",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c23ddca3-234c-49ee-b9b9-03f3e4a56042",
"Type": 0,
"ResourceId": "28e66d03-fbb7-4312-9970-7aebf098bf33",
"Units": 3.0
},
{
"Id": "c23ddca3-234c-49ee-b9b9-03f3e4a56042",
"Type": 0,
"ResourceId": "28e66d03-fbb7-4312-9970-7aebf098bf33",
"Units": 3.0
}
],
"ParentId": "518ae1dc-ebbb-4407-994b-9b7f63cea760",
"WorkTypeParentId": "c06ce2b3-706b-4c9b-bfd9-d24467d02462",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "3a898127-a339-440a-9bf2-dcfdc05da0ae",
"UPN": "3468d84b-06ed-41aa-a45e-916fdfde460a",
"PostDate": "2026-02-26T04:05:19.3271725+00:00",
"Comment": "sample string 4",
"CC": [
"e7958751-c458-45d3-b4e5-37c3501b0594",
"6e996b34-38f3-4190-aa2b-d53da285e91d"
],
"Users": [
"92034a1b-0f7e-4385-bb91-786490f30bb0",
"6e794efa-2a8d-4af7-ac77-e37f0cfb45fe"
]
},
{
"Id": "3a898127-a339-440a-9bf2-dcfdc05da0ae",
"UPN": "3468d84b-06ed-41aa-a45e-916fdfde460a",
"PostDate": "2026-02-26T04:05:19.3271725+00:00",
"Comment": "sample string 4",
"CC": [
"e7958751-c458-45d3-b4e5-37c3501b0594",
"6e996b34-38f3-4190-aa2b-d53da285e91d"
],
"Users": [
"92034a1b-0f7e-4385-bb91-786490f30bb0",
"6e794efa-2a8d-4af7-ac77-e37f0cfb45fe"
]
}
],
"StartDate": "2026-02-26T04:05:19.3271725+00:00",
"DueDate": "2026-02-26T04:05:19.3271725+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"92eb2c73-9201-48d2-a6de-1f637cad06f1": "96f63c86-e137-4ebb-b42c-05e5bb21d86b",
"1a4428a8-5fa3-485b-8392-d76ff00903f0": "1a9924cb-6482-4c0c-84eb-fdac23644041"
},
"HasUpdates": true,
"Modified": "2026-02-26T04:05:19.3271725+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-02-26T04:05:19.3271725+00:00"
},
"LastComment": "2026-02-26T04:05:19.3271725+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "07ab3a7b-06a6-4fb0-8246-6e74b3768d7d",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "56d5a827-f8a6-429d-ab0e-8ce4b1cd8404",
"id": "c0834637-e04c-4344-80ec-15746d65f271",
"ConfigId": "374acf80-2f2a-4e7a-b731-b72fdaa15f0c"
}