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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "8e97737c-460e-4126-8877-8dd539eedcbd",
"Name": "sample string 1",
"Created": "2026-06-29T22:20:37.6752977+00:00",
"Modified": "2026-06-29T22:20:37.6752977+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"5d5e995c-04da-43d0-a297-51027155d195",
"febd1fed-f0f7-477d-acf9-e52282c136c1"
],
"NonLaborAssignments": [
{
"Id": "30822c7a-af12-4bc8-990a-4fd2c2f035f7",
"ResourceId": "0f079663-2471-40b3-8007-1657a0eee38f",
"Quantity": 3.0
},
{
"Id": "30822c7a-af12-4bc8-990a-4fd2c2f035f7",
"ResourceId": "0f079663-2471-40b3-8007-1657a0eee38f",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c2840787-e997-4ee1-9d54-39ee097e97d5",
"Type": 0,
"ResourceId": "86ed40af-3d1c-4e55-bdcd-2a5226445db4",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "c2840787-e997-4ee1-9d54-39ee097e97d5",
"Type": 0,
"ResourceId": "86ed40af-3d1c-4e55-bdcd-2a5226445db4",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "86b68d6f-c2b7-475c-beff-486430011b68",
"WorkTypeParentId": "59de450c-16c8-45d8-bd63-0bb121522cbf",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "02f3c6aa-1c9d-43e1-be11-8ddd445c597f",
"UPN": "55f20543-7867-4275-b340-b72b0e7b2f47",
"PostDate": "2026-06-29T22:20:37.6752977+00:00",
"Comment": "sample string 4",
"CC": [
"b893fffa-cb21-49ad-be3d-8aff3c1778a1",
"7e924431-5528-44e4-a19e-b975e8647ade"
],
"Users": [
"b0681adf-0472-4125-9677-f869f2356e26",
"7c9a9784-2e32-4c83-a0f1-d9c154d79c1d"
]
},
{
"Id": "02f3c6aa-1c9d-43e1-be11-8ddd445c597f",
"UPN": "55f20543-7867-4275-b340-b72b0e7b2f47",
"PostDate": "2026-06-29T22:20:37.6752977+00:00",
"Comment": "sample string 4",
"CC": [
"b893fffa-cb21-49ad-be3d-8aff3c1778a1",
"7e924431-5528-44e4-a19e-b975e8647ade"
],
"Users": [
"b0681adf-0472-4125-9677-f869f2356e26",
"7c9a9784-2e32-4c83-a0f1-d9c154d79c1d"
]
}
],
"StartDate": "2026-06-29T22:20:37.6752977+00:00",
"DueDate": "2026-06-29T22:20:37.6752977+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"0521c90d-5c08-4a60-b2dd-993c2a598db0": "4a98877b-70cb-44ca-9d63-f246279303d4",
"10310275-375d-4509-b23d-6861ff462a3a": "4f78bc31-3a1c-48da-83d5-bbe6d7a344b9"
},
"HasUpdates": true,
"Modified": "2026-06-29T22:20:37.6752977+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-06-29T22:20:37.6752977+00:00"
},
"LastComment": "2026-06-29T22:20:37.6752977+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b8bdcf7e-30e4-46a1-a810-5b50b655cebb",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "1ce01458-cc4e-4f22-9f55-6a6e4fd7c192",
"id": "2ea0bb41-4d3d-457a-8418-95642b80c136",
"ConfigId": "eeb1769e-a1fd-4922-bfc5-6e3536d437f6"
}