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": "38885d4d-4390-4233-8031-3369f7801ccd",
"Name": "sample string 1",
"Created": "2026-02-22T03:03:04.0891588+00:00",
"Modified": "2026-02-22T03:03:04.0891588+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1c01454e-16b7-4b75-b045-5b7bb9dbc939",
"87604b37-6d18-4455-8c15-7eeb09b244a6"
],
"NonLaborAssignments": [
{
"Id": "65910417-5236-4bfd-9d57-20cc08b6fc7e",
"ResourceId": "aae0110b-948e-4533-9b44-4742b7708cb1",
"Quantity": 3.0
},
{
"Id": "65910417-5236-4bfd-9d57-20cc08b6fc7e",
"ResourceId": "aae0110b-948e-4533-9b44-4742b7708cb1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "f923df49-9ba6-4030-acfa-49619a0a3907",
"Type": 0,
"ResourceId": "b25ea3f6-997a-4ee8-ae6c-7ca1b59a73c0",
"Units": 3.0
},
{
"Id": "f923df49-9ba6-4030-acfa-49619a0a3907",
"Type": 0,
"ResourceId": "b25ea3f6-997a-4ee8-ae6c-7ca1b59a73c0",
"Units": 3.0
}
],
"ParentId": "0b86d4a5-abf4-4050-b688-176222cd0c5e",
"WorkTypeParentId": "e6b980d6-a7a6-4888-a634-ab20af835c88",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "4c2909f2-16f9-4023-9834-0733f7ea408d",
"UPN": "64c05b8a-307e-47ca-8b6c-fa92b8a6d90f",
"PostDate": "2026-02-22T03:03:04.0891588+00:00",
"Comment": "sample string 4",
"CC": [
"f07c0ce8-b924-41ea-912a-e494cf00f27d",
"2412a5ed-c067-40a1-aabb-5da656783ce4"
],
"Users": [
"2ae66189-63a9-43ac-9e42-7047264ce432",
"a97617a4-794c-490d-b590-a49daaa073ee"
]
},
{
"Id": "4c2909f2-16f9-4023-9834-0733f7ea408d",
"UPN": "64c05b8a-307e-47ca-8b6c-fa92b8a6d90f",
"PostDate": "2026-02-22T03:03:04.0891588+00:00",
"Comment": "sample string 4",
"CC": [
"f07c0ce8-b924-41ea-912a-e494cf00f27d",
"2412a5ed-c067-40a1-aabb-5da656783ce4"
],
"Users": [
"2ae66189-63a9-43ac-9e42-7047264ce432",
"a97617a4-794c-490d-b590-a49daaa073ee"
]
}
],
"StartDate": "2026-02-22T03:03:04.0891588+00:00",
"DueDate": "2026-02-22T03:03:04.0891588+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b526bb0b-82b6-4cce-9417-bf1cdcc00b6d": "6b8ef7ff-4cac-4bba-8a60-6c89ec8fa223",
"cc857800-5027-4858-82cd-85675b5ad3dc": "68525cb1-93ae-4ff6-9467-6cb5ce7881c8"
},
"HasUpdates": true,
"Modified": "2026-02-22T03:03:04.0891588+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-22T03:03:04.0891588+00:00"
},
"LastComment": "2026-02-22T03:03:04.0891588+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ceed5514-53f8-4dae-8cf0-6e41a79c0cc5",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "17ecebca-bd10-406c-af32-750ef4122605",
"id": "8cecae45-fb1f-4832-91bd-75856dfb6fff",
"ConfigId": "8cc851a0-9fa3-47a8-b54e-accf231aa170"
}