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": "7d78e9db-ada4-4eb1-ad00-64b35cc0fe0b",
"Name": "sample string 1",
"Created": "2026-03-20T14:12:22.164274+00:00",
"Modified": "2026-03-20T14:12:22.164274+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"c21408b7-ec6f-4989-87b4-e67a5b0a2527",
"d79e9732-d73f-4bc6-8faa-66e5c174676a"
],
"NonLaborAssignments": [
{
"Id": "714cee45-a798-4e8e-b8a0-cbb710306194",
"ResourceId": "c8e5f7c6-f349-4e66-9c34-67e608f21b2b",
"Quantity": 3.0
},
{
"Id": "714cee45-a798-4e8e-b8a0-cbb710306194",
"ResourceId": "c8e5f7c6-f349-4e66-9c34-67e608f21b2b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "aef0dcde-66cc-4b90-a4ed-4056c7b7e7e7",
"Type": 0,
"ResourceId": "eac98d9a-c05c-4a53-8900-151baeed96d4",
"Units": 3.0
},
{
"Id": "aef0dcde-66cc-4b90-a4ed-4056c7b7e7e7",
"Type": 0,
"ResourceId": "eac98d9a-c05c-4a53-8900-151baeed96d4",
"Units": 3.0
}
],
"ParentId": "5f2f46c9-a9c6-4477-a856-245713d4c77a",
"WorkTypeParentId": "2307acc5-347c-4cdc-8913-055b30a59184",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1f3369a2-9d8f-4c2a-8c16-40b313c13461",
"UPN": "63dad115-c583-4fcf-85df-0d8f5613bbaf",
"PostDate": "2026-03-20T14:12:22.164274+00:00",
"Comment": "sample string 4",
"CC": [
"9d86fc57-de1a-4403-ae00-be884e46853a",
"389e534b-ecf6-4ed5-8eb9-5c3c006ce601"
],
"Users": [
"a6bde268-05e1-4861-afea-a151f0e9a257",
"cad3e426-439a-41c2-993d-d175c72e419e"
]
},
{
"Id": "1f3369a2-9d8f-4c2a-8c16-40b313c13461",
"UPN": "63dad115-c583-4fcf-85df-0d8f5613bbaf",
"PostDate": "2026-03-20T14:12:22.164274+00:00",
"Comment": "sample string 4",
"CC": [
"9d86fc57-de1a-4403-ae00-be884e46853a",
"389e534b-ecf6-4ed5-8eb9-5c3c006ce601"
],
"Users": [
"a6bde268-05e1-4861-afea-a151f0e9a257",
"cad3e426-439a-41c2-993d-d175c72e419e"
]
}
],
"StartDate": "2026-03-20T14:12:22.164274+00:00",
"DueDate": "2026-03-20T14:12:22.164274+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"3d79d4eb-65f6-48f8-ab46-fef825471ae0": "50d5838c-08fd-4d26-ba2f-d659377d19ac",
"cd15b00e-046a-4942-a135-d001763ad309": "1f33871f-3124-4555-aac5-3dfd370ac2dc"
},
"HasUpdates": true,
"Modified": "2026-03-20T14:12:22.164274+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-20T14:12:22.164274+00:00"
},
"LastComment": "2026-03-20T14:12:22.164274+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "fd40495e-7047-4177-ae1d-f2d87ac7bf8d",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "6ce89297-5acc-4509-a772-a839db2f00e5",
"id": "59932abc-21bc-4969-9519-92ae245f470c",
"ConfigId": "185248dd-ecb8-4d08-a492-6e9ecee510cc"
}