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": "9814bbed-58b6-4ce7-813b-3c072387f7a2",
"Name": "sample string 1",
"Created": "2026-04-12T13:38:29.1297123+00:00",
"Modified": "2026-04-12T13:38:29.1297123+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"783806cb-eb52-4afd-8b33-c6eba1c7db79",
"96ea2b68-d636-4804-b003-9d03e5b2a28c"
],
"NonLaborAssignments": [
{
"Id": "c98bc374-0b3c-44e5-86fa-ccb04ee198d1",
"ResourceId": "3177135d-6f6c-47d3-87c4-3c984b612433",
"Quantity": 3.0
},
{
"Id": "c98bc374-0b3c-44e5-86fa-ccb04ee198d1",
"ResourceId": "3177135d-6f6c-47d3-87c4-3c984b612433",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "624567e6-cb2c-4962-bf5a-5f8ec47e4b63",
"Type": 0,
"ResourceId": "2a7eeb38-873e-4f0b-a0ed-b988a30b6ac7",
"Units": 3.0
},
{
"Id": "624567e6-cb2c-4962-bf5a-5f8ec47e4b63",
"Type": 0,
"ResourceId": "2a7eeb38-873e-4f0b-a0ed-b988a30b6ac7",
"Units": 3.0
}
],
"ParentId": "0c2260df-c47b-4359-8ffd-6c7038223052",
"WorkTypeParentId": "29fec7af-427f-494e-a265-9ed6daa7a2f3",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9d5df336-502b-4afb-a9b5-153827e17550",
"UPN": "d96b56ff-6e1c-44ea-8026-3d0d4dc11f31",
"PostDate": "2026-04-12T13:38:29.1297123+00:00",
"Comment": "sample string 4",
"CC": [
"15872b26-c773-4468-9a40-1aea9d8c76b7",
"8aa90614-e40d-405b-8c6d-a6642daa8710"
],
"Users": [
"6e3afc04-92d2-4f52-a390-6a55ad502d25",
"0b1382d1-234f-4c4f-97c1-dbde64eb23ab"
]
},
{
"Id": "9d5df336-502b-4afb-a9b5-153827e17550",
"UPN": "d96b56ff-6e1c-44ea-8026-3d0d4dc11f31",
"PostDate": "2026-04-12T13:38:29.1297123+00:00",
"Comment": "sample string 4",
"CC": [
"15872b26-c773-4468-9a40-1aea9d8c76b7",
"8aa90614-e40d-405b-8c6d-a6642daa8710"
],
"Users": [
"6e3afc04-92d2-4f52-a390-6a55ad502d25",
"0b1382d1-234f-4c4f-97c1-dbde64eb23ab"
]
}
],
"StartDate": "2026-04-12T13:38:29.1297123+00:00",
"DueDate": "2026-04-12T13:38:29.1297123+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"dc656b4a-a7bd-48e8-a4b6-8a3e31660212": "e04bb6f0-2214-457c-b834-22b768ec3858",
"6de8d60b-2455-4d1c-b25e-a9a36b8391ba": "0c521170-70d0-46d9-b618-b5d92d2877c6"
},
"HasUpdates": true,
"Modified": "2026-04-12T13:38:29.1297123+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-04-12T13:38:29.1297123+00:00"
},
"LastComment": "2026-04-12T13:38:29.1297123+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "7a3ee766-9fa2-4bf4-af9d-5d7a3f67d9cb",
"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": "b4f2b2af-7570-426f-89ad-391d1d02a49e",
"id": "768ed458-4d14-4f93-8366-11863ced39ac",
"ConfigId": "87a1488a-aee7-4e54-85ad-1428885c411c"
}