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": "20e29ed1-5045-472c-9285-70d80d7135c0",
"Name": "sample string 1",
"Created": "2026-11-02T06:02:08.4156892+00:00",
"Modified": "2026-11-02T06:02:08.4156892+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"21eec994-b230-42c0-9c7c-983655e00355",
"af3793c1-2381-4255-8f6d-d2d6f445b4d0"
],
"NonLaborAssignments": [
{
"Id": "6009b1bb-4e42-449d-86be-e6a58c63a455",
"ResourceId": "05e83cb4-2fd9-42cc-b376-ce271cb71e7d",
"Quantity": 3.0
},
{
"Id": "6009b1bb-4e42-449d-86be-e6a58c63a455",
"ResourceId": "05e83cb4-2fd9-42cc-b376-ce271cb71e7d",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "6db97d2e-a6f2-4f2b-82fd-192301698233",
"Type": 0,
"ResourceId": "284d93bf-eee1-41e8-8194-82d3b419378b",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "dbd3d0ef-654c-4958-8011-e3d3c62a80d3",
"Start": "2026-11-02T06:02:08.4156892+00:00",
"Due": "2026-11-02T06:02:08.4156892+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "dbd3d0ef-654c-4958-8011-e3d3c62a80d3",
"Start": "2026-11-02T06:02:08.4156892+00:00",
"Due": "2026-11-02T06:02:08.4156892+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "6db97d2e-a6f2-4f2b-82fd-192301698233",
"Type": 0,
"ResourceId": "284d93bf-eee1-41e8-8194-82d3b419378b",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "dbd3d0ef-654c-4958-8011-e3d3c62a80d3",
"Start": "2026-11-02T06:02:08.4156892+00:00",
"Due": "2026-11-02T06:02:08.4156892+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "dbd3d0ef-654c-4958-8011-e3d3c62a80d3",
"Start": "2026-11-02T06:02:08.4156892+00:00",
"Due": "2026-11-02T06:02:08.4156892+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "0d182e29-26d4-4a86-b3ac-81378d068ad7",
"WorkTypeParentId": "065cd458-ab88-4cb3-92a8-0a32c35e6ce3",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "8dcfba26-87c2-4705-83a4-7a7382bcc8da",
"UPN": "70faae06-3ba8-4c05-8aec-5a80b24facc9",
"PostDate": "2026-11-02T06:02:08.4156892+00:00",
"Comment": "sample string 4",
"CC": [
"084accb2-4813-4d9e-9bc2-c71e40393ba2",
"5bea047a-302c-44e2-875f-a9a486a128b6"
],
"Users": [
"63af3fbb-f3e6-420c-8070-b9e4e1487292",
"972462f3-50ab-4e7e-8eb8-241f0e14dd53"
]
},
{
"Id": "8dcfba26-87c2-4705-83a4-7a7382bcc8da",
"UPN": "70faae06-3ba8-4c05-8aec-5a80b24facc9",
"PostDate": "2026-11-02T06:02:08.4156892+00:00",
"Comment": "sample string 4",
"CC": [
"084accb2-4813-4d9e-9bc2-c71e40393ba2",
"5bea047a-302c-44e2-875f-a9a486a128b6"
],
"Users": [
"63af3fbb-f3e6-420c-8070-b9e4e1487292",
"972462f3-50ab-4e7e-8eb8-241f0e14dd53"
]
}
],
"StartDate": "2026-11-02T06:02:08.4156892+00:00",
"DueDate": "2026-11-02T06:02:08.4156892+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"379a8e3c-d5c4-4559-8978-1940cf0869c9": "14f72a89-52dd-4c3c-b436-942d25666591",
"b4c7e80f-b175-4de7-b237-bf0045373985": "bf28d779-996c-46d8-a43f-0c898e086b79"
},
"HasUpdates": true,
"Modified": "2026-11-02T06:02:08.4156892+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-11-02T06:02:08.4156892+00:00"
},
"LastComment": "2026-11-02T06:02:08.4156892+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "d58e2a64-1b95-4285-af55-c1db789a4e01",
"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": "74a5ee96-bb5c-4b7c-915c-5439e0ad22dc",
"id": "868b1fca-d073-4349-88b4-8ce1947d5683",
"ConfigId": "9045517b-7a0c-43f4-94a9-e8147eaa8d5a"
}