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": "3883d918-3fb9-4233-beb3-46eb0b2ef66d",
"Name": "sample string 1",
"Created": "2026-03-03T23:02:30.354382+00:00",
"Modified": "2026-03-03T23:02:30.354382+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a0bd5673-25d9-4175-8b6e-d3e4d26941e3",
"1167b141-70eb-4c10-90bf-25d39e6d0a44"
],
"NonLaborAssignments": [
{
"Id": "1f91f640-b63b-4222-a7c5-6c924afd218e",
"ResourceId": "bde322a6-5211-43f7-b3f9-cd632efade9d",
"Quantity": 3.0
},
{
"Id": "1f91f640-b63b-4222-a7c5-6c924afd218e",
"ResourceId": "bde322a6-5211-43f7-b3f9-cd632efade9d",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "33f70fc2-3b4e-4992-a0ab-a2fee2a1cde4",
"Type": 0,
"ResourceId": "5fde1e34-e498-4a45-80ee-f01ca2480b61",
"Units": 3.0
},
{
"Id": "33f70fc2-3b4e-4992-a0ab-a2fee2a1cde4",
"Type": 0,
"ResourceId": "5fde1e34-e498-4a45-80ee-f01ca2480b61",
"Units": 3.0
}
],
"ParentId": "1b0765ae-d5d5-47ce-838e-1985cb1e6839",
"WorkTypeParentId": "1827e527-049e-41ef-bd67-fa50d8c03889",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "55a258a1-c80a-4d8f-bb8b-cb89d12422e9",
"UPN": "dfb9cf33-fd99-4f01-a3a2-ad83c7bbb52b",
"PostDate": "2026-03-03T23:02:30.354382+00:00",
"Comment": "sample string 4",
"CC": [
"2115efc4-f22e-479e-a1bf-e88395e004ef",
"401c52bf-a812-491f-9805-0eb3daa7ff7c"
],
"Users": [
"820f95b1-6e2d-4e56-8b67-77c0dc8efd3a",
"15c52c62-bef8-49e6-88da-863073b0daee"
]
},
{
"Id": "55a258a1-c80a-4d8f-bb8b-cb89d12422e9",
"UPN": "dfb9cf33-fd99-4f01-a3a2-ad83c7bbb52b",
"PostDate": "2026-03-03T23:02:30.354382+00:00",
"Comment": "sample string 4",
"CC": [
"2115efc4-f22e-479e-a1bf-e88395e004ef",
"401c52bf-a812-491f-9805-0eb3daa7ff7c"
],
"Users": [
"820f95b1-6e2d-4e56-8b67-77c0dc8efd3a",
"15c52c62-bef8-49e6-88da-863073b0daee"
]
}
],
"StartDate": "2026-03-03T23:02:30.354382+00:00",
"DueDate": "2026-03-03T23:02:30.354382+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"90493d21-4fd3-4132-ba7f-7147df04467f": "f537f300-9b50-4e5e-ad5e-361ab52296ec",
"3709a220-9a2b-4908-a15e-09edce623f3b": "d3c7dde5-724b-41aa-9555-e8c11e41ca3b"
},
"HasUpdates": true,
"Modified": "2026-03-03T23:02:30.354382+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-03-03T23:02:30.354382+00:00"
},
"LastComment": "2026-03-03T23:02:30.354382+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "e16e0dde-4917-4f89-b517-f167767b8daa",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "02ebe84f-6e8f-4490-9ebf-76470cee7086",
"id": "05277358-80c7-407e-9513-0fa08590c3b5",
"ConfigId": "549be500-ece0-49d7-a32c-3c18d557d6df"
}