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": "5a6b8318-b7e7-41c4-96ac-c54a2cf8e1d7",
"Name": "sample string 1",
"Created": "2026-03-07T01:27:03.6547684+00:00",
"Modified": "2026-03-07T01:27:03.6547684+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"3f56a73b-cecd-43bb-99b6-232d24a15405",
"2a9311b3-2256-46ca-ae76-e8ab370607ea"
],
"NonLaborAssignments": [
{
"Id": "8204e667-735c-4adb-8a93-d14789aab5ab",
"ResourceId": "47ef99d7-3d6b-46f4-8397-06ed5208b336",
"Quantity": 3.0
},
{
"Id": "8204e667-735c-4adb-8a93-d14789aab5ab",
"ResourceId": "47ef99d7-3d6b-46f4-8397-06ed5208b336",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "fd202107-ecd2-40e3-8fd8-53cfe17885ff",
"Type": 0,
"ResourceId": "70752c7d-e251-4d3e-b738-d69dcb5563ec",
"Units": 3.0
},
{
"Id": "fd202107-ecd2-40e3-8fd8-53cfe17885ff",
"Type": 0,
"ResourceId": "70752c7d-e251-4d3e-b738-d69dcb5563ec",
"Units": 3.0
}
],
"ParentId": "691f9547-6926-4e17-b4a8-bc63e22c0087",
"WorkTypeParentId": "542b5f75-6f23-49b4-98b4-0219a7af7dd4",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "4181567e-8b51-4309-b6b8-273c20b45896",
"UPN": "73e2242d-2d3d-4594-b72e-946695f81d0b",
"PostDate": "2026-03-07T01:27:03.6547684+00:00",
"Comment": "sample string 4",
"CC": [
"00371fd9-1838-4bd8-9e1a-d298edd12c99",
"cc20372f-c5de-4762-8224-b7920d903eee"
],
"Users": [
"78128936-0589-423a-9bda-b050212e6ed7",
"2489a2cb-e23a-4ade-8e83-c03f04ffda98"
]
},
{
"Id": "4181567e-8b51-4309-b6b8-273c20b45896",
"UPN": "73e2242d-2d3d-4594-b72e-946695f81d0b",
"PostDate": "2026-03-07T01:27:03.6547684+00:00",
"Comment": "sample string 4",
"CC": [
"00371fd9-1838-4bd8-9e1a-d298edd12c99",
"cc20372f-c5de-4762-8224-b7920d903eee"
],
"Users": [
"78128936-0589-423a-9bda-b050212e6ed7",
"2489a2cb-e23a-4ade-8e83-c03f04ffda98"
]
}
],
"StartDate": "2026-03-07T01:27:03.6547684+00:00",
"DueDate": "2026-03-07T01:27:03.6547684+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"4d22242f-cc40-4f52-8dd3-25475579c984": "2e71475c-b8ee-42ea-95d4-f949bebc7a10",
"e5615951-9a37-49a3-8a97-532c7f2410e8": "afff7696-bd93-4bf5-8d46-438b4e8e19f0"
},
"HasUpdates": true,
"Modified": "2026-03-07T01:27:03.6547684+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-07T01:27:03.6547684+00:00"
},
"LastComment": "2026-03-07T01:27:03.6547684+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "693be599-39b1-4c86-8314-403db157ba05",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "54be32a5-4287-4967-a17f-9de9b4733771",
"id": "969ce8d8-bd47-4120-8f0d-3a4c6e34b6ae",
"ConfigId": "d7018167-1d3b-4183-8916-5d2feebd4189"
}