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": "2510d694-8c89-4c6c-97e2-82af9cacef65",
"Name": "sample string 1",
"Created": "2025-12-06T15:20:16.4554771+00:00",
"Modified": "2025-12-06T15:20:16.4554771+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"aef06d48-4b7e-4212-bf54-8d113f945494",
"afa48e85-d93e-43da-8295-8ee0cc2b888d"
],
"NonLaborAssignments": [
{
"Id": "4c2950b9-04d7-4e06-943e-bc35be19dbf0",
"ResourceId": "8b7c964b-ec86-4d2c-891b-55890b45f005",
"Quantity": 3.0
},
{
"Id": "4c2950b9-04d7-4e06-943e-bc35be19dbf0",
"ResourceId": "8b7c964b-ec86-4d2c-891b-55890b45f005",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "eddc0b13-ece8-4d36-8e26-dfb40821fdd0",
"Type": 0,
"ResourceId": "ae3886f9-1c26-4cd0-a2b2-972bb333002b",
"Units": 3.0
},
{
"Id": "eddc0b13-ece8-4d36-8e26-dfb40821fdd0",
"Type": 0,
"ResourceId": "ae3886f9-1c26-4cd0-a2b2-972bb333002b",
"Units": 3.0
}
],
"ParentId": "ebc7cbb9-054a-4b9a-bf2b-9f2410731304",
"WorkTypeParentId": "9cba0ec6-7d1d-4de5-b782-779b30ad88a1",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2d075c66-b96c-468d-ba57-4373ad3c43f4",
"UPN": "7176dfaf-68c6-49fa-b7fb-ad7533546009",
"PostDate": "2025-12-06T15:20:16.4711066+00:00",
"Comment": "sample string 4",
"CC": [
"1ab2972c-8898-4b2a-9aca-7973c7dc1c9e",
"f6483a45-2c88-42f8-a9dc-c0dd4fef5ef6"
],
"Users": [
"6b1bcd91-14a4-49d1-9d67-d9ed9046074a",
"10ec5e55-78d6-4c09-b24b-60d757842120"
]
},
{
"Id": "2d075c66-b96c-468d-ba57-4373ad3c43f4",
"UPN": "7176dfaf-68c6-49fa-b7fb-ad7533546009",
"PostDate": "2025-12-06T15:20:16.4711066+00:00",
"Comment": "sample string 4",
"CC": [
"1ab2972c-8898-4b2a-9aca-7973c7dc1c9e",
"f6483a45-2c88-42f8-a9dc-c0dd4fef5ef6"
],
"Users": [
"6b1bcd91-14a4-49d1-9d67-d9ed9046074a",
"10ec5e55-78d6-4c09-b24b-60d757842120"
]
}
],
"StartDate": "2025-12-06T15:20:16.4711066+00:00",
"DueDate": "2025-12-06T15:20:16.4711066+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"10b7e98a-28d3-4f32-8adc-627c1f87db4d": "03e3477e-2afd-4a04-a575-91eb436767d8",
"54624497-a8e8-4dce-a178-30cad12f6d28": "83880326-0c6d-407c-92f1-2f26bd919e35"
},
"HasUpdates": true,
"Modified": "2025-12-06T15:20:16.4711066+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": "2025-12-06T15:20:16.4711066+00:00"
},
"LastComment": "2025-12-06T15:20:16.4711066+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "4aa7d24d-91d7-42ed-a256-ef3c2619d07c",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "52a40672-bda3-4a2f-bbc3-04eae1cdbf1e",
"id": "75dce3cf-f0ca-4334-bafc-9af133e0c5b8",
"ConfigId": "6d669038-c0aa-403a-aee5-ae12a584492a"
}