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": "9224c71a-7af6-4efe-9408-b3665388623c",
"Name": "sample string 1",
"Created": "2025-12-13T11:44:11.8532808+00:00",
"Modified": "2025-12-13T11:44:11.8532808+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"3ca9940d-2233-4c7b-9bb8-945115935993",
"1f317efb-040f-4412-810f-c70982c66894"
],
"NonLaborAssignments": [
{
"Id": "460ca3e1-dd65-45f9-8477-63cfccb7a2cc",
"ResourceId": "117a0e8e-af8b-4df2-aac8-64d940e205e6",
"Quantity": 3.0
},
{
"Id": "460ca3e1-dd65-45f9-8477-63cfccb7a2cc",
"ResourceId": "117a0e8e-af8b-4df2-aac8-64d940e205e6",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "9ab9d8d3-d2f0-40fd-93a5-f44f958cfc4c",
"Type": 0,
"ResourceId": "2b47f1f4-15ea-4698-b1f2-0500fdbc932b",
"Units": 3.0
},
{
"Id": "9ab9d8d3-d2f0-40fd-93a5-f44f958cfc4c",
"Type": 0,
"ResourceId": "2b47f1f4-15ea-4698-b1f2-0500fdbc932b",
"Units": 3.0
}
],
"ParentId": "165849ec-db06-4007-a79a-b84bd49ab671",
"WorkTypeParentId": "c00f3614-1887-4095-84b8-57c47c68cb84",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "bf4ccd92-48e9-4f44-9ced-72850b5236ff",
"UPN": "b051f242-bad5-4c2b-98c8-708c69b3e1ea",
"PostDate": "2025-12-13T11:44:11.8532808+00:00",
"Comment": "sample string 4",
"CC": [
"e5cfc087-d817-40da-a9ee-bad651e42131",
"02ab64d0-6088-4867-a287-a7521dca6ef6"
],
"Users": [
"81e4bf39-6eeb-421f-899e-c655902a8370",
"22cda53e-093f-4b24-af7e-e88b6caadbb1"
]
},
{
"Id": "bf4ccd92-48e9-4f44-9ced-72850b5236ff",
"UPN": "b051f242-bad5-4c2b-98c8-708c69b3e1ea",
"PostDate": "2025-12-13T11:44:11.8532808+00:00",
"Comment": "sample string 4",
"CC": [
"e5cfc087-d817-40da-a9ee-bad651e42131",
"02ab64d0-6088-4867-a287-a7521dca6ef6"
],
"Users": [
"81e4bf39-6eeb-421f-899e-c655902a8370",
"22cda53e-093f-4b24-af7e-e88b6caadbb1"
]
}
],
"StartDate": "2025-12-13T11:44:11.8532808+00:00",
"DueDate": "2025-12-13T11:44:11.8532808+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8b7d4b48-59c6-4589-9afa-0c389d03de72": "b9a8e75c-6534-49ce-904d-1ef6bb54b14c",
"cf44322a-6e2a-41b9-afa7-44f37e1731cf": "271f07ed-2153-408e-8647-5fb533ce28aa"
},
"HasUpdates": true,
"Modified": "2025-12-13T11:44:11.8532808+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-13T11:44:11.8532808+00:00"
},
"LastComment": "2025-12-13T11:44:11.8532808+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "77ebebea-5b69-4cf1-8e88-118ff27a39e9",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "b323922f-281b-4b5a-83cc-f9775cc83969",
"id": "8b360c8e-a93f-47ec-82cb-bc81fbf89aab",
"ConfigId": "2456126e-29a6-4bd6-90dc-b3d1214452d9"
}