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": "4b2226b4-7721-4d1c-b8d4-124237eeeb21",
"Name": "sample string 1",
"Created": "2025-12-01T21:46:35.6024039+00:00",
"Modified": "2025-12-01T21:46:35.6024039+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"79230585-e857-4657-b610-2f80d69e89dd",
"78d734d2-aa08-4556-9b92-93c6cce93caa"
],
"NonLaborAssignments": [
{
"Id": "ebbb42fb-3eae-4e01-ae8e-4a19bf547da7",
"ResourceId": "e90e6e21-a817-4c3b-94c7-8d89fef77f99",
"Quantity": 3.0
},
{
"Id": "ebbb42fb-3eae-4e01-ae8e-4a19bf547da7",
"ResourceId": "e90e6e21-a817-4c3b-94c7-8d89fef77f99",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "65d4a2cd-a81d-4ee5-a98d-15842ca86f8f",
"Type": 0,
"ResourceId": "f4ec7e85-3cd3-4896-bb2b-5e573d932ac0",
"Units": 3.0
},
{
"Id": "65d4a2cd-a81d-4ee5-a98d-15842ca86f8f",
"Type": 0,
"ResourceId": "f4ec7e85-3cd3-4896-bb2b-5e573d932ac0",
"Units": 3.0
}
],
"ParentId": "28b5f813-c3ed-485a-8cb4-755d927aa3b7",
"WorkTypeParentId": "ae0b1647-285d-4c8e-a4f6-f97c2ae6b4ba",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "240545ae-1b4f-47d5-81ad-3dbd61cc9e77",
"UPN": "7eb3d858-b62c-4172-ad88-78079aa31ce8",
"PostDate": "2025-12-01T21:46:35.6024039+00:00",
"Comment": "sample string 4",
"CC": [
"4e196dc9-6ed2-42c0-980c-6408723c9b70",
"d434405e-bcaa-4487-a3a3-3e72d3c15f0d"
],
"Users": [
"ba555715-70da-439a-8c9b-0b35d7353150",
"d1e20877-1901-4dde-8296-a0f900ed4177"
]
},
{
"Id": "240545ae-1b4f-47d5-81ad-3dbd61cc9e77",
"UPN": "7eb3d858-b62c-4172-ad88-78079aa31ce8",
"PostDate": "2025-12-01T21:46:35.6024039+00:00",
"Comment": "sample string 4",
"CC": [
"4e196dc9-6ed2-42c0-980c-6408723c9b70",
"d434405e-bcaa-4487-a3a3-3e72d3c15f0d"
],
"Users": [
"ba555715-70da-439a-8c9b-0b35d7353150",
"d1e20877-1901-4dde-8296-a0f900ed4177"
]
}
],
"StartDate": "2025-12-01T21:46:35.6024039+00:00",
"DueDate": "2025-12-01T21:46:35.6024039+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"bb8ad8f1-85ed-4a74-b9f1-1bd8c22541ff": "73b718ab-7165-43f6-8b21-f04ab6d5b661",
"ba327705-5488-4aac-92e3-44646311ccff": "545009bc-5efe-4120-ac29-3f7dc909de41"
},
"HasUpdates": true,
"Modified": "2025-12-01T21:46:35.6024039+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": "2025-12-01T21:46:35.6024039+00:00"
},
"LastComment": "2025-12-01T21:46:35.6024039+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "c5c526d2-d294-4b80-ba94-a79c53b1f5b2",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "6745565a-0b28-4292-a5e1-f5ad571535dd",
"id": "daf0ef3b-eae6-4fbb-adfa-720d9c01a59d",
"ConfigId": "055d0fa7-0a27-4da1-a63e-4f3a2121a8f3"
}