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": "3211988a-2978-4041-b39f-bb2655ef5fbc",
"Name": "sample string 1",
"Created": "2026-06-05T16:19:09.6278435+00:00",
"Modified": "2026-06-05T16:19:09.6278435+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"77ff07cf-2ba4-4e27-a0cf-dc562d55797e",
"2adf7c9e-dff5-45a0-a16c-7f4cb64c963d"
],
"NonLaborAssignments": [
{
"Id": "8e383fac-ea39-421e-87e7-d4afd4690147",
"ResourceId": "a4cbff94-d7e2-4281-ad0e-3faf37c6119c",
"Quantity": 3.0
},
{
"Id": "8e383fac-ea39-421e-87e7-d4afd4690147",
"ResourceId": "a4cbff94-d7e2-4281-ad0e-3faf37c6119c",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "59966792-6b01-4256-a7bf-85b63185db01",
"Type": 0,
"ResourceId": "91129121-0915-41c4-90d2-7456c6ff1ea0",
"Units": 3.0
},
{
"Id": "59966792-6b01-4256-a7bf-85b63185db01",
"Type": 0,
"ResourceId": "91129121-0915-41c4-90d2-7456c6ff1ea0",
"Units": 3.0
}
],
"ParentId": "c68a61b6-2fa3-4bb2-8432-68a8969e2c0a",
"WorkTypeParentId": "db5b9d9e-261e-43c3-bcbe-5963ba411e6a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "90c392ae-25d9-4ae3-8bb4-981a48775461",
"UPN": "f3b75bd2-1c89-46c5-b2fd-1e67a8a0577b",
"PostDate": "2026-06-05T16:19:09.6278435+00:00",
"Comment": "sample string 4",
"CC": [
"bd9704e5-83fa-469a-ab67-4ebd991fb8a2",
"39142092-ffc2-4a9f-ba8a-22f6796450c7"
],
"Users": [
"8b2299bb-7273-4bee-8fe9-631995fd3c45",
"c3885077-be84-43d3-a90e-6b67fb812466"
]
},
{
"Id": "90c392ae-25d9-4ae3-8bb4-981a48775461",
"UPN": "f3b75bd2-1c89-46c5-b2fd-1e67a8a0577b",
"PostDate": "2026-06-05T16:19:09.6278435+00:00",
"Comment": "sample string 4",
"CC": [
"bd9704e5-83fa-469a-ab67-4ebd991fb8a2",
"39142092-ffc2-4a9f-ba8a-22f6796450c7"
],
"Users": [
"8b2299bb-7273-4bee-8fe9-631995fd3c45",
"c3885077-be84-43d3-a90e-6b67fb812466"
]
}
],
"StartDate": "2026-06-05T16:19:09.6278435+00:00",
"DueDate": "2026-06-05T16:19:09.6278435+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"09e26437-1a97-4083-8f2f-b7f28771949b": "87d131c6-e8ec-47fe-a8e9-b6e5d7d0eaf9",
"545668c7-76a9-4e0f-97b1-600f4ecf7427": "5530ee46-2849-4d47-a474-a1f236a6e5b9"
},
"HasUpdates": true,
"Modified": "2026-06-05T16:19:09.6278435+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-06-05T16:19:09.6278435+00:00"
},
"LastComment": "2026-06-05T16:19:09.6278435+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "20289ee5-8e91-4b1e-8ddf-298d67f18438",
"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": "7ceb1721-1932-4aa1-a061-4e0e737181f0",
"id": "2426e2e3-c463-4aeb-96b4-fcdd8bab1021",
"ConfigId": "8e89ca3d-faa2-4ac3-a5c8-ba212ca38854"
}