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": "e5c8edcf-b07e-4bec-9d25-d2c13ebed3c5",
"Name": "sample string 1",
"Created": "2026-04-06T11:22:13.5899506+00:00",
"Modified": "2026-04-06T11:22:13.5899506+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e4671377-7027-412a-8c28-bd31e8f595dd",
"80f05b7e-56cd-4fb2-9bf6-d444e7894fea"
],
"NonLaborAssignments": [
{
"Id": "b74b8842-f9d0-4d18-9333-b9103a27adfc",
"ResourceId": "e2f42aaa-fc01-4e8e-b622-7ea99d672ca1",
"Quantity": 3.0
},
{
"Id": "b74b8842-f9d0-4d18-9333-b9103a27adfc",
"ResourceId": "e2f42aaa-fc01-4e8e-b622-7ea99d672ca1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "8e35677a-7331-4c36-a57e-6d87e177d707",
"Type": 0,
"ResourceId": "c5da3503-38ab-47f0-b061-18cc9b118e2d",
"Units": 3.0
},
{
"Id": "8e35677a-7331-4c36-a57e-6d87e177d707",
"Type": 0,
"ResourceId": "c5da3503-38ab-47f0-b061-18cc9b118e2d",
"Units": 3.0
}
],
"ParentId": "db77c68b-a93e-4495-a854-cff32a074a3a",
"WorkTypeParentId": "538c17c2-fa13-4678-ae60-efc45d0d28a9",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "f6deba0f-e8da-4202-9c8d-dbbcb0c89675",
"UPN": "10cf7ecc-4b34-411e-aefa-26363ef46722",
"PostDate": "2026-04-06T11:22:13.5899506+00:00",
"Comment": "sample string 4",
"CC": [
"6fd90144-4aad-4a96-b3a7-3a3e6f7c7e87",
"09b5bedc-f901-48f0-8e97-99c860ae7865"
],
"Users": [
"c908311c-fc0a-46c3-9c46-67581319a037",
"cc718fdf-e873-4f5c-8739-9d9cadd69138"
]
},
{
"Id": "f6deba0f-e8da-4202-9c8d-dbbcb0c89675",
"UPN": "10cf7ecc-4b34-411e-aefa-26363ef46722",
"PostDate": "2026-04-06T11:22:13.5899506+00:00",
"Comment": "sample string 4",
"CC": [
"6fd90144-4aad-4a96-b3a7-3a3e6f7c7e87",
"09b5bedc-f901-48f0-8e97-99c860ae7865"
],
"Users": [
"c908311c-fc0a-46c3-9c46-67581319a037",
"cc718fdf-e873-4f5c-8739-9d9cadd69138"
]
}
],
"StartDate": "2026-04-06T11:22:13.5899506+00:00",
"DueDate": "2026-04-06T11:22:13.5899506+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"03e865db-b575-4343-961b-92ced3c644b7": "76b9bf9a-1898-40d1-8b98-1dd473441c32",
"28c030b1-3e2a-48a2-9f10-26548a72de01": "d0937f4b-0074-41c6-bb4e-94a0ab6ab070"
},
"HasUpdates": true,
"Modified": "2026-04-06T11:22:13.5899506+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-04-06T11:22:13.5899506+00:00"
},
"LastComment": "2026-04-06T11:22:13.5899506+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "06c220a1-a8af-46d8-b7b6-d50842f4eb88",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "af38af50-60ca-4f24-866e-6d1ed2848fc1",
"id": "39b31234-be86-47a1-ae32-982a9b7b8dbf",
"ConfigId": "34a9ee32-dd98-4810-9c00-573b76df386c"
}