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": "989c9ab2-a925-4361-b587-99a8a77cfe89",
"Name": "sample string 1",
"Created": "2026-02-12T01:29:29.3660175+00:00",
"Modified": "2026-02-12T01:29:29.3660175+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"0cd2e50e-6d5b-4fb3-84b7-0d7aa1841b86",
"95b8e62c-0b13-45f6-a418-0a1d58d22811"
],
"NonLaborAssignments": [
{
"Id": "125a6ece-67c8-4bff-9bf8-d5719fa9f272",
"ResourceId": "7eb28de8-8801-480f-bb2c-e1bd1225bf5a",
"Quantity": 3.0
},
{
"Id": "125a6ece-67c8-4bff-9bf8-d5719fa9f272",
"ResourceId": "7eb28de8-8801-480f-bb2c-e1bd1225bf5a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "82c17327-1631-4129-a6dc-cfc763d6a033",
"Type": 0,
"ResourceId": "48857229-102a-4664-8594-bf39c136b99e",
"Units": 3.0
},
{
"Id": "82c17327-1631-4129-a6dc-cfc763d6a033",
"Type": 0,
"ResourceId": "48857229-102a-4664-8594-bf39c136b99e",
"Units": 3.0
}
],
"ParentId": "bea049d5-d199-4380-a67f-1d92742b7065",
"WorkTypeParentId": "f3e5bdad-b581-485f-916e-47d768fcadf0",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "ef053174-9dc3-4395-9530-5aef0b6c397e",
"UPN": "fecb1839-87cf-42df-a105-e729bbae5068",
"PostDate": "2026-02-12T01:29:29.3660175+00:00",
"Comment": "sample string 4",
"CC": [
"1a4e76eb-2184-48e8-a465-c7bc282722fc",
"cacbedb9-07d9-48c6-a3d8-89491cfe4b6f"
],
"Users": [
"53e0f582-a25d-410e-88a4-76faf3f858e3",
"c9fca0af-ee94-4d25-95b1-86c1381f692d"
]
},
{
"Id": "ef053174-9dc3-4395-9530-5aef0b6c397e",
"UPN": "fecb1839-87cf-42df-a105-e729bbae5068",
"PostDate": "2026-02-12T01:29:29.3660175+00:00",
"Comment": "sample string 4",
"CC": [
"1a4e76eb-2184-48e8-a465-c7bc282722fc",
"cacbedb9-07d9-48c6-a3d8-89491cfe4b6f"
],
"Users": [
"53e0f582-a25d-410e-88a4-76faf3f858e3",
"c9fca0af-ee94-4d25-95b1-86c1381f692d"
]
}
],
"StartDate": "2026-02-12T01:29:29.3660175+00:00",
"DueDate": "2026-02-12T01:29:29.3660175+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"4679712a-627e-40c5-97b0-161466130bec": "b3ed7e45-9d04-46f6-8ae8-cfdecc1c1696",
"9649f621-8f65-44db-889b-1f07ccfdc9bd": "370ea070-23d2-4980-b825-e914163a0cfe"
},
"HasUpdates": true,
"Modified": "2026-02-12T01:29:29.3660175+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-12T01:29:29.3660175+00:00"
},
"LastComment": "2026-02-12T01:29:29.3660175+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "8f6d9ebe-9254-4c35-9f03-ed4836b468ce",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "f90c0a75-adaa-4aae-89d2-25d308168cc7",
"id": "2bd9746d-543c-4bbb-962b-68b7fda39896",
"ConfigId": "8fb60581-7488-4249-9485-4340d249263c"
}