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": "8a09656c-f39a-4707-a820-2855d371754f",
"Name": "sample string 1",
"Created": "2026-02-05T03:38:15.2638129+00:00",
"Modified": "2026-02-05T03:38:15.2638129+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a3c13020-dad9-46eb-a730-5bd6b9500288",
"ba51d038-0068-4e58-866e-076e0af922bd"
],
"NonLaborAssignments": [
{
"Id": "51c4d4ce-bda1-4dd5-a782-7cb0f50e5df5",
"ResourceId": "d265604e-9755-4808-ba53-9226cb77a922",
"Quantity": 3.0
},
{
"Id": "51c4d4ce-bda1-4dd5-a782-7cb0f50e5df5",
"ResourceId": "d265604e-9755-4808-ba53-9226cb77a922",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c5dd6617-284c-4621-b006-0517b60e2139",
"Type": 0,
"ResourceId": "572abfcd-cbc2-47d6-b4a9-d8aa2d717b5a",
"Units": 3.0
},
{
"Id": "c5dd6617-284c-4621-b006-0517b60e2139",
"Type": 0,
"ResourceId": "572abfcd-cbc2-47d6-b4a9-d8aa2d717b5a",
"Units": 3.0
}
],
"ParentId": "53dcdb09-cb48-4e5b-8fd8-cf8d40199c10",
"WorkTypeParentId": "5d66fa8c-1fdf-4536-98b2-47b2a83242e9",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "676e9e36-b58d-4826-bb96-ab5df687b04d",
"UPN": "e28ac908-922e-4c85-a4ef-40cbe1519edf",
"PostDate": "2026-02-05T03:38:15.2638129+00:00",
"Comment": "sample string 4",
"CC": [
"ce582d70-f4f6-4083-b6e1-c91fea0e59d6",
"a1a510a7-bb0b-42da-8aff-5e6efcb3d86b"
],
"Users": [
"0d5011b2-c8ca-4797-aff6-0695eec40857",
"14a47b47-9c2f-45c7-801e-f18e19142c95"
]
},
{
"Id": "676e9e36-b58d-4826-bb96-ab5df687b04d",
"UPN": "e28ac908-922e-4c85-a4ef-40cbe1519edf",
"PostDate": "2026-02-05T03:38:15.2638129+00:00",
"Comment": "sample string 4",
"CC": [
"ce582d70-f4f6-4083-b6e1-c91fea0e59d6",
"a1a510a7-bb0b-42da-8aff-5e6efcb3d86b"
],
"Users": [
"0d5011b2-c8ca-4797-aff6-0695eec40857",
"14a47b47-9c2f-45c7-801e-f18e19142c95"
]
}
],
"StartDate": "2026-02-05T03:38:15.2638129+00:00",
"DueDate": "2026-02-05T03:38:15.2638129+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"5878f6b5-0abd-4523-b7ac-fb82f2b2cfdb": "55ef176b-7073-4d9c-8b64-5e88b3fde4a4",
"0302f884-e2f7-4a57-b14c-9d4e1e36106e": "f0759979-2c12-4fa6-aa01-c7b90fc7d2e2"
},
"HasUpdates": true,
"Modified": "2026-02-05T03:38:15.2638129+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-02-05T03:38:15.2638129+00:00"
},
"LastComment": "2026-02-05T03:38:15.2638129+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "56f255d4-0f03-4f2c-b4fb-99a4dd26a8f1",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "2555c2c4-f478-4038-b5c2-937054c913c0",
"id": "07be6fc6-0728-460e-a994-8c428210b2e6",
"ConfigId": "e9992f93-8581-47b6-930e-2d6fd18b3ed9"
}