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": "54df6c33-e97e-46ce-adac-8507e37614c5",
"Name": "sample string 1",
"Created": "2026-04-22T09:18:24.8714261+00:00",
"Modified": "2026-04-22T09:18:24.8714261+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a7b17d3d-1469-4d9e-a4a5-195545121951",
"2fdd7e98-5ae9-48d6-a58a-81342a4955ba"
],
"NonLaborAssignments": [
{
"Id": "6669a0be-60b1-467d-88af-5665f177b194",
"ResourceId": "5b125def-fde5-4a7b-bb64-b3ae1865944b",
"Quantity": 3.0
},
{
"Id": "6669a0be-60b1-467d-88af-5665f177b194",
"ResourceId": "5b125def-fde5-4a7b-bb64-b3ae1865944b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "49353bd3-c5ca-4eec-b740-e35524905ec9",
"Type": 0,
"ResourceId": "89135422-3a8d-4092-9054-250cd4ff4901",
"Units": 3.0
},
{
"Id": "49353bd3-c5ca-4eec-b740-e35524905ec9",
"Type": 0,
"ResourceId": "89135422-3a8d-4092-9054-250cd4ff4901",
"Units": 3.0
}
],
"ParentId": "a4d90d22-bb5c-4cb4-bd63-026be5d42a22",
"WorkTypeParentId": "44de8183-c38d-4933-b3f9-41f037a74e58",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "067456d3-05e6-4bb6-873f-617a2a286605",
"UPN": "3feadc1b-e155-49d7-9ede-9da498561ff8",
"PostDate": "2026-04-22T09:18:24.8714261+00:00",
"Comment": "sample string 4",
"CC": [
"ae885ae3-cd9a-4b5e-ae01-c73304e3207a",
"38366e0f-49ac-40b4-8082-974c95176664"
],
"Users": [
"9636a37f-7d70-4b6e-be22-3a3ab6177764",
"89d3282f-38cb-4752-aa1e-10489b6b3b17"
]
},
{
"Id": "067456d3-05e6-4bb6-873f-617a2a286605",
"UPN": "3feadc1b-e155-49d7-9ede-9da498561ff8",
"PostDate": "2026-04-22T09:18:24.8714261+00:00",
"Comment": "sample string 4",
"CC": [
"ae885ae3-cd9a-4b5e-ae01-c73304e3207a",
"38366e0f-49ac-40b4-8082-974c95176664"
],
"Users": [
"9636a37f-7d70-4b6e-be22-3a3ab6177764",
"89d3282f-38cb-4752-aa1e-10489b6b3b17"
]
}
],
"StartDate": "2026-04-22T09:18:24.8714261+00:00",
"DueDate": "2026-04-22T09:18:24.8714261+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"fcacd7b4-ac00-4a19-9a73-0c514d924d7e": "4c21edd8-929a-4cba-89a6-b8d8a34b9a8f",
"f0ca1a57-9090-4f89-9cd8-c0e4dca33def": "52a95aee-a8d7-44ba-8d1e-81ebf81e38e0"
},
"HasUpdates": true,
"Modified": "2026-04-22T09:18:24.8714261+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-22T09:18:24.8714261+00:00"
},
"LastComment": "2026-04-22T09:18:24.8714261+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "93345d28-a076-47d7-b8f8-e029e798de77",
"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": "8181423d-4a65-4e35-8e97-1ea00fd67d5f",
"id": "cec0576f-c3ce-4d34-a8f2-afbf4ddf2a2d",
"ConfigId": "c4a37c51-d747-4556-9340-712e3bc39785"
}