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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "5361926b-f9ea-4b25-8a62-8e3e969ba9e5",
"Name": "sample string 1",
"Created": "2026-04-19T16:56:40.1711625+00:00",
"Modified": "2026-04-19T16:56:40.1711625+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8c22326c-3a85-4122-af08-681ecc641a6a",
"81c02a18-dfe7-4381-a336-0c8680f355b8"
],
"NonLaborAssignments": [
{
"Id": "6b804849-6395-418b-9a61-cf77864c83cd",
"ResourceId": "8b6ad21c-2402-48b8-b9c3-0c58b932bb5b",
"Quantity": 3.0
},
{
"Id": "6b804849-6395-418b-9a61-cf77864c83cd",
"ResourceId": "8b6ad21c-2402-48b8-b9c3-0c58b932bb5b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "b57a57e9-0abe-4662-bdde-003c58dc51db",
"Type": 0,
"ResourceId": "c376b256-9c30-4afc-a71b-31504ecb2dba",
"Units": 3.0
},
{
"Id": "b57a57e9-0abe-4662-bdde-003c58dc51db",
"Type": 0,
"ResourceId": "c376b256-9c30-4afc-a71b-31504ecb2dba",
"Units": 3.0
}
],
"ParentId": "e6c9f50a-ce91-483f-9691-43a3f619e00f",
"WorkTypeParentId": "73bdf9c2-f093-47a2-8237-5bbf2ee97152",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "94943b2c-c01d-4576-a5fa-db8a1f3f8984",
"UPN": "9768b3a2-245d-44aa-b1c6-cf5b57c3f6ac",
"PostDate": "2026-04-19T16:56:40.1711625+00:00",
"Comment": "sample string 4",
"CC": [
"ad2dffdd-7ee5-4ac8-89aa-79e4bf905cdf",
"88d3f136-ced5-4e89-8ab7-09b23acd31ac"
],
"Users": [
"423bf78d-bab1-4b9f-b896-56a138a5c99b",
"971bc7eb-9d81-49aa-b8ed-36dcc53db62c"
]
},
{
"Id": "94943b2c-c01d-4576-a5fa-db8a1f3f8984",
"UPN": "9768b3a2-245d-44aa-b1c6-cf5b57c3f6ac",
"PostDate": "2026-04-19T16:56:40.1711625+00:00",
"Comment": "sample string 4",
"CC": [
"ad2dffdd-7ee5-4ac8-89aa-79e4bf905cdf",
"88d3f136-ced5-4e89-8ab7-09b23acd31ac"
],
"Users": [
"423bf78d-bab1-4b9f-b896-56a138a5c99b",
"971bc7eb-9d81-49aa-b8ed-36dcc53db62c"
]
}
],
"StartDate": "2026-04-19T16:56:40.1711625+00:00",
"DueDate": "2026-04-19T16:56:40.1711625+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"3e8575a9-fda8-45c2-98c4-fe5eafe365e4": "b0e5920a-0c03-4d57-a3a5-cf02c3b3d2ac",
"42ffadf2-bab2-4a4d-8087-0b1452d98f8f": "57bc7f3a-7367-4e4a-ae8a-55dfd6635656"
},
"HasUpdates": true,
"Modified": "2026-04-19T16:56:40.1711625+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-19T16:56:40.1711625+00:00"
},
"LastComment": "2026-04-19T16:56:40.1711625+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "9c6b23fa-dd8d-4856-9a0d-ac46365a16c4",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "f2381a8b-99e4-4e87-af70-adc00cc89eeb",
"id": "212a84e8-4d19-4acd-ab97-b295a6e67b97",
"ConfigId": "5597056b-5058-4ed1-af87-01cbbd0fbd0c"
}