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": "9b303d43-c1d0-4c38-b589-36f414484d48",
"Name": "sample string 1",
"Created": "2026-06-29T18:26:00.0334178+00:00",
"Modified": "2026-06-29T18:26:00.0334178+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b1206ac6-7ea5-46d5-b6db-3de63c3893ae",
"c62ac48f-b82f-49bf-9bfa-e0166e35c629"
],
"NonLaborAssignments": [
{
"Id": "976f9451-ba16-4471-aef1-1a759a8800b3",
"ResourceId": "6af80eb2-8bfe-4836-ab67-0ec08e1a8441",
"Quantity": 3.0
},
{
"Id": "976f9451-ba16-4471-aef1-1a759a8800b3",
"ResourceId": "6af80eb2-8bfe-4836-ab67-0ec08e1a8441",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "1ec28091-3a4f-4314-b91c-0e3567fc9f29",
"Type": 0,
"ResourceId": "e2e08410-9ed1-4192-9a3a-773cd0f0af89",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "1ec28091-3a4f-4314-b91c-0e3567fc9f29",
"Type": 0,
"ResourceId": "e2e08410-9ed1-4192-9a3a-773cd0f0af89",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "fb42b468-04d1-4e39-8c0d-7a28eefd1890",
"WorkTypeParentId": "e7adb3e1-228e-4b29-a402-1da6a3a61a54",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "f95de592-33ec-48f9-9342-0296e43b696b",
"UPN": "35d84428-3dd7-4c22-a475-8cb04efe86aa",
"PostDate": "2026-06-29T18:26:00.0334178+00:00",
"Comment": "sample string 4",
"CC": [
"af1c228a-76ab-40f5-aa15-4bc0c2c77988",
"c2edb14e-5853-43f0-a366-fbb2a66e70fe"
],
"Users": [
"3468eaaf-0e9d-47cf-abda-2f3cd99d1d62",
"5f165413-c640-4f8e-b924-8e7a9c0cd6c3"
]
},
{
"Id": "f95de592-33ec-48f9-9342-0296e43b696b",
"UPN": "35d84428-3dd7-4c22-a475-8cb04efe86aa",
"PostDate": "2026-06-29T18:26:00.0334178+00:00",
"Comment": "sample string 4",
"CC": [
"af1c228a-76ab-40f5-aa15-4bc0c2c77988",
"c2edb14e-5853-43f0-a366-fbb2a66e70fe"
],
"Users": [
"3468eaaf-0e9d-47cf-abda-2f3cd99d1d62",
"5f165413-c640-4f8e-b924-8e7a9c0cd6c3"
]
}
],
"StartDate": "2026-06-29T18:26:00.0334178+00:00",
"DueDate": "2026-06-29T18:26:00.0334178+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"5182f614-71ba-406d-ac9f-1b082f8e9194": "f3a08483-f0e8-4a66-93c4-d367e69a24b4",
"1e9a3428-9893-4f17-9130-cd3723959bbc": "8c1af6de-18e0-428c-a75c-77506086869b"
},
"HasUpdates": true,
"Modified": "2026-06-29T18:26:00.0334178+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-29T18:26:00.0334178+00:00"
},
"LastComment": "2026-06-29T18:26:00.0334178+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "9b3e5a0a-9ffc-4cbf-a43d-fb05dc056455",
"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": "e0e6b0d6-8159-467e-82f4-8e7fbd087311",
"id": "966cbfb8-e134-4527-96a2-446fbbf3fa39",
"ConfigId": "5caff3de-4f99-4b2f-bbc9-8f92f930491a"
}