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": "6861914d-71da-4cc2-ac73-94c590cd5fe7",
"Name": "sample string 1",
"Created": "2026-04-18T15:49:36.9585738+00:00",
"Modified": "2026-04-18T15:49:36.9585738+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"602c8448-ae45-4cf6-9eb3-d41537ecfd26",
"6b716c28-2ac4-4175-8c1e-5a3cc654833a"
],
"NonLaborAssignments": [
{
"Id": "6474ed66-b743-46e3-a9cb-1c75713c4b66",
"ResourceId": "67bc5d00-45b2-4055-97b8-220c6d6ddee7",
"Quantity": 3.0
},
{
"Id": "6474ed66-b743-46e3-a9cb-1c75713c4b66",
"ResourceId": "67bc5d00-45b2-4055-97b8-220c6d6ddee7",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "a812a55a-1e69-4850-86d4-c47994352770",
"Type": 0,
"ResourceId": "3ec9cf33-ecce-4d44-a18d-2998d2fcf3e7",
"Units": 3.0
},
{
"Id": "a812a55a-1e69-4850-86d4-c47994352770",
"Type": 0,
"ResourceId": "3ec9cf33-ecce-4d44-a18d-2998d2fcf3e7",
"Units": 3.0
}
],
"ParentId": "9c727eac-3c65-4025-a7ed-67a763c7d3ea",
"WorkTypeParentId": "01c0965c-07f1-45fb-9399-c493ea41a28c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9a924d64-53da-45c9-9701-a87c27f27864",
"UPN": "a2fc5126-3ef2-49c9-b78d-4225cfd1b617",
"PostDate": "2026-04-18T15:49:36.9585738+00:00",
"Comment": "sample string 4",
"CC": [
"d1e821da-0643-44f2-9926-7b63b5e6cc84",
"7ae51c15-9d32-4810-8d70-40b3244debfb"
],
"Users": [
"890a057d-a3e3-4619-8f3c-1bcb1ae0d691",
"401964da-0ca7-4dcb-bbfc-ac7c08f92af3"
]
},
{
"Id": "9a924d64-53da-45c9-9701-a87c27f27864",
"UPN": "a2fc5126-3ef2-49c9-b78d-4225cfd1b617",
"PostDate": "2026-04-18T15:49:36.9585738+00:00",
"Comment": "sample string 4",
"CC": [
"d1e821da-0643-44f2-9926-7b63b5e6cc84",
"7ae51c15-9d32-4810-8d70-40b3244debfb"
],
"Users": [
"890a057d-a3e3-4619-8f3c-1bcb1ae0d691",
"401964da-0ca7-4dcb-bbfc-ac7c08f92af3"
]
}
],
"StartDate": "2026-04-18T15:49:36.9585738+00:00",
"DueDate": "2026-04-18T15:49:36.9585738+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"18881399-caf6-4a67-9c78-af8ac0c6a69b": "d05e5fbd-966e-4ea5-b6cd-5d0eaba0480d",
"0cc1051a-aad2-4792-988a-3e3134a0302c": "46d8f34e-043c-4499-bbd2-6fc91cc710cb"
},
"HasUpdates": true,
"Modified": "2026-04-18T15:49:36.9585738+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-18T15:49:36.9585738+00:00"
},
"LastComment": "2026-04-18T15:49:36.9585738+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "5661b844-ab94-4405-8438-adcec31dc34a",
"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": "89729caf-fe10-44a8-9712-3ec909cd4bbf",
"id": "6c8dd0e8-7dd9-435d-8da6-bd514a8765e3",
"ConfigId": "9f9de1f7-8734-48a8-9e3d-afc344fcb29d"
}