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": "9ad3e2b9-0124-4764-9d7c-dd7dad065ca2",
"Name": "sample string 1",
"Created": "2026-09-21T03:18:26.9303787+00:00",
"Modified": "2026-09-21T03:18:26.9303787+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b1093e68-4d30-43d8-8bc5-69944003848f",
"b6564d7f-bc0e-4f3e-b861-c5c7b5c4c0b9"
],
"NonLaborAssignments": [
{
"Id": "a9e4457b-21ab-4234-b4ea-d9511d5cabb0",
"ResourceId": "30204cc1-baac-4406-80c9-2ae5ec4f544c",
"Quantity": 3.0
},
{
"Id": "a9e4457b-21ab-4234-b4ea-d9511d5cabb0",
"ResourceId": "30204cc1-baac-4406-80c9-2ae5ec4f544c",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "3ec73d96-d058-49d3-9dc2-6af8fe64cb17",
"Type": 0,
"ResourceId": "1f7575c0-b62b-4e8b-9442-475612b93cb0",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "4c233ca0-d358-4ecf-a5db-1fe9d59182a4",
"Start": "2026-09-21T03:18:26.9303787+00:00",
"Due": "2026-09-21T03:18:26.9303787+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "4c233ca0-d358-4ecf-a5db-1fe9d59182a4",
"Start": "2026-09-21T03:18:26.9303787+00:00",
"Due": "2026-09-21T03:18:26.9303787+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "3ec73d96-d058-49d3-9dc2-6af8fe64cb17",
"Type": 0,
"ResourceId": "1f7575c0-b62b-4e8b-9442-475612b93cb0",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "4c233ca0-d358-4ecf-a5db-1fe9d59182a4",
"Start": "2026-09-21T03:18:26.9303787+00:00",
"Due": "2026-09-21T03:18:26.9303787+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "4c233ca0-d358-4ecf-a5db-1fe9d59182a4",
"Start": "2026-09-21T03:18:26.9303787+00:00",
"Due": "2026-09-21T03:18:26.9303787+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "54085c75-164f-4a22-b6ed-24c68cd11eca",
"WorkTypeParentId": "687d2833-2a1c-4f77-b8b5-2d57fbca3553",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "3b8a60b2-e709-4e8f-a3e3-5bded462cd5f",
"UPN": "d241d74c-b96b-4f8f-94d6-652ef5b26c1a",
"PostDate": "2026-09-21T03:18:26.9303787+00:00",
"Comment": "sample string 4",
"CC": [
"b4fc2793-27d9-43c6-8b9a-cbc32597bceb",
"7b9acb5c-3d62-4d7e-af33-979ce2df1f41"
],
"Users": [
"5e9728d4-621b-4cb8-902b-f8e0e8c60cc4",
"c0337b6f-7ddc-43a3-9667-8b415421fdbb"
]
},
{
"Id": "3b8a60b2-e709-4e8f-a3e3-5bded462cd5f",
"UPN": "d241d74c-b96b-4f8f-94d6-652ef5b26c1a",
"PostDate": "2026-09-21T03:18:26.9303787+00:00",
"Comment": "sample string 4",
"CC": [
"b4fc2793-27d9-43c6-8b9a-cbc32597bceb",
"7b9acb5c-3d62-4d7e-af33-979ce2df1f41"
],
"Users": [
"5e9728d4-621b-4cb8-902b-f8e0e8c60cc4",
"c0337b6f-7ddc-43a3-9667-8b415421fdbb"
]
}
],
"StartDate": "2026-09-21T03:18:26.9303787+00:00",
"DueDate": "2026-09-21T03:18:26.9303787+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"18b5e9d7-5dbb-47fd-b86b-2987a063e659": "0b10187d-4d25-4790-9ba4-0cf9f70dfe75",
"e4f2d9e0-94ed-4b5e-b198-8e1ccdee9184": "6d21404a-1511-41fa-a24e-a6a9644d2735"
},
"HasUpdates": true,
"Modified": "2026-09-21T03:18:26.9303787+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-09-21T03:18:26.9303787+00:00"
},
"LastComment": "2026-09-21T03:18:26.9303787+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "42a951b8-0aa2-4953-973c-bd7f972916da",
"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": "8540dbe8-cca3-496b-8270-33ff3719bdd5",
"id": "e9c9b27a-77ea-4a23-bd8d-68f282db7d53",
"ConfigId": "21f779e2-ef96-4633-a9b9-7414ba9b83a6"
}