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": "c080c2cb-2be3-481b-bba1-c01fe8c75d68",
"Name": "sample string 1",
"Created": "2026-02-04T08:07:38.5962482+00:00",
"Modified": "2026-02-04T08:07:38.5962482+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"78c4dffe-9bee-4b86-872a-498453225bb0",
"b07824cf-89d3-4e8f-807b-fc009b518a36"
],
"NonLaborAssignments": [
{
"Id": "730f3023-6db5-4c80-9831-fbbedca94129",
"ResourceId": "7e89b16d-1a6b-40ad-9542-f254bbccb109",
"Quantity": 3.0
},
{
"Id": "730f3023-6db5-4c80-9831-fbbedca94129",
"ResourceId": "7e89b16d-1a6b-40ad-9542-f254bbccb109",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e1286c10-d9a8-4651-93fc-0033da1c76d9",
"Type": 0,
"ResourceId": "3483ed4d-ddf9-4b74-90d1-5a09e0577b68",
"Units": 3.0
},
{
"Id": "e1286c10-d9a8-4651-93fc-0033da1c76d9",
"Type": 0,
"ResourceId": "3483ed4d-ddf9-4b74-90d1-5a09e0577b68",
"Units": 3.0
}
],
"ParentId": "400a0bc1-8e86-4a1c-8536-c7a3fae634bb",
"WorkTypeParentId": "8576c41b-099c-4720-b839-b5bf5107dbc0",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "5b92ca5e-2261-48a4-b509-85d4e2062122",
"UPN": "0cb534b1-8c67-4190-bbd9-aa5f39e12105",
"PostDate": "2026-02-04T08:07:38.5962482+00:00",
"Comment": "sample string 4",
"CC": [
"efa3d0bf-f953-47f9-9086-ff8ec59c246d",
"7105028b-af19-4e7f-a086-9572e4d86b98"
],
"Users": [
"c366bb8c-f941-4d50-b2d7-ee622c6545c3",
"fa0a8a25-526d-439d-867f-75b2fb7a1262"
]
},
{
"Id": "5b92ca5e-2261-48a4-b509-85d4e2062122",
"UPN": "0cb534b1-8c67-4190-bbd9-aa5f39e12105",
"PostDate": "2026-02-04T08:07:38.5962482+00:00",
"Comment": "sample string 4",
"CC": [
"efa3d0bf-f953-47f9-9086-ff8ec59c246d",
"7105028b-af19-4e7f-a086-9572e4d86b98"
],
"Users": [
"c366bb8c-f941-4d50-b2d7-ee622c6545c3",
"fa0a8a25-526d-439d-867f-75b2fb7a1262"
]
}
],
"StartDate": "2026-02-04T08:07:38.5962482+00:00",
"DueDate": "2026-02-04T08:07:38.5962482+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"93af0a66-7149-4316-a6a7-cbd440a950f1": "11713dad-f389-4725-82ab-7063e26b49ba",
"faabb216-adb2-4889-875f-cfc00c05e856": "726f1d94-8d4c-4591-bfbf-cfa4a4914e75"
},
"HasUpdates": true,
"Modified": "2026-02-04T08:07:38.5962482+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-04T08:07:38.5962482+00:00"
},
"LastComment": "2026-02-04T08:07:38.5962482+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "f4965922-e1fc-4956-9189-08a642c21ee8",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "c36aecc9-7233-40ce-8c30-9c771d8fc7a2",
"id": "9e5200bd-ee1c-4711-b50e-3cb2cfb4d637",
"ConfigId": "dcdeac6e-4762-493f-9081-5d8f0b38c5c3"
}