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": "c8cbdbdf-4268-41a0-a3e7-1a4a1f0d786d",
"Name": "sample string 1",
"Created": "2026-05-17T11:52:32.2452807+00:00",
"Modified": "2026-05-17T11:52:32.2452807+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"ba68500a-87ac-407d-8578-ef6c8849576a",
"9a34f8b8-a84a-4e07-b329-d7bada29f9cc"
],
"NonLaborAssignments": [
{
"Id": "aa4f59a4-1996-4d68-ad71-70e65152bde5",
"ResourceId": "e09290e3-284e-447d-8c83-e5b0583d904f",
"Quantity": 3.0
},
{
"Id": "aa4f59a4-1996-4d68-ad71-70e65152bde5",
"ResourceId": "e09290e3-284e-447d-8c83-e5b0583d904f",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "b33fe2aa-099f-43c0-bf81-264cc5098bdd",
"Type": 0,
"ResourceId": "03003db2-3207-46e9-8a9a-dfb97f5a22cc",
"Units": 3.0
},
{
"Id": "b33fe2aa-099f-43c0-bf81-264cc5098bdd",
"Type": 0,
"ResourceId": "03003db2-3207-46e9-8a9a-dfb97f5a22cc",
"Units": 3.0
}
],
"ParentId": "d2c3b870-4abf-44d4-bd8a-27d9474e1bf7",
"WorkTypeParentId": "521050fc-d4d8-494d-a30d-601b7ee5f7c8",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "4f7801b3-1c59-4fb1-a2b4-16962260672d",
"UPN": "694d704a-ac13-4889-8cfd-f673303c8d29",
"PostDate": "2026-05-17T11:52:32.2452807+00:00",
"Comment": "sample string 4",
"CC": [
"89e67d4f-0ef6-4d33-86e6-48ae34245044",
"690021d2-2966-4665-b65a-7c2b41f21c69"
],
"Users": [
"8046a16d-371e-4e72-b6e9-564679354389",
"91bd6a2d-f08b-4116-8a19-b6e3b6fdd70c"
]
},
{
"Id": "4f7801b3-1c59-4fb1-a2b4-16962260672d",
"UPN": "694d704a-ac13-4889-8cfd-f673303c8d29",
"PostDate": "2026-05-17T11:52:32.2452807+00:00",
"Comment": "sample string 4",
"CC": [
"89e67d4f-0ef6-4d33-86e6-48ae34245044",
"690021d2-2966-4665-b65a-7c2b41f21c69"
],
"Users": [
"8046a16d-371e-4e72-b6e9-564679354389",
"91bd6a2d-f08b-4116-8a19-b6e3b6fdd70c"
]
}
],
"StartDate": "2026-05-17T11:52:32.2452807+00:00",
"DueDate": "2026-05-17T11:52:32.2452807+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"37a60bb3-c909-4b3e-94c4-d3c154f76430": "3922971b-a549-4fc2-80a5-c16d51163caa",
"72fecda4-21f3-4f9b-a46a-f749da4517aa": "2819849c-dcae-4a2f-b0e6-526b76b0bdec"
},
"HasUpdates": true,
"Modified": "2026-05-17T11:52:32.2452807+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-05-17T11:52:32.2452807+00:00"
},
"LastComment": "2026-05-17T11:52:32.2452807+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ad66b6c8-525d-4420-8fc2-2314c95ba782",
"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": "dcc7cb75-4391-4c78-9ab2-dad94717461c",
"id": "8d159129-2766-4293-bba6-e252a2fa82c8",
"ConfigId": "2882b668-84f3-4c05-8ce0-313a15a23efd"
}