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": "1950a56e-4b69-40d4-a251-9b07554165e6",
"Name": "sample string 1",
"Created": "2026-07-21T13:02:44.5657244+00:00",
"Modified": "2026-07-21T13:02:44.5657244+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"98a12fa0-6c54-4337-9c89-adbea34f0601",
"46193d09-6366-4ad0-855f-fc69ef83cf76"
],
"NonLaborAssignments": [
{
"Id": "0c21977d-c862-412c-9673-88ef276cf50f",
"ResourceId": "750fa3b3-3675-46e2-bbb6-c782c8e14798",
"Quantity": 3.0
},
{
"Id": "0c21977d-c862-412c-9673-88ef276cf50f",
"ResourceId": "750fa3b3-3675-46e2-bbb6-c782c8e14798",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "ce6ae03c-7f6e-451a-8f54-1733c9e248c2",
"Type": 0,
"ResourceId": "c6261c99-cc0d-43e4-bd33-033f8c840804",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "ce6ae03c-7f6e-451a-8f54-1733c9e248c2",
"Type": 0,
"ResourceId": "c6261c99-cc0d-43e4-bd33-033f8c840804",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "8089b9ae-1e4a-4ef3-919c-aa3665d0472c",
"WorkTypeParentId": "d11221a8-3c29-40eb-8aa3-373e9eb67ea2",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "98b25575-2903-4d79-b0e5-0701e8fe7c14",
"UPN": "1600f951-1622-4316-ad44-3b2d85b25202",
"PostDate": "2026-07-21T13:02:44.5657244+00:00",
"Comment": "sample string 4",
"CC": [
"1aa2dca4-da35-4ee0-bf9f-e52ff06b8336",
"27673649-c2af-4351-8db7-745b2aa87726"
],
"Users": [
"1faf237b-621a-4f6c-bfd9-18dbc821dfaa",
"d8cd49cc-7956-4f46-8362-bfdd76e0cb4b"
]
},
{
"Id": "98b25575-2903-4d79-b0e5-0701e8fe7c14",
"UPN": "1600f951-1622-4316-ad44-3b2d85b25202",
"PostDate": "2026-07-21T13:02:44.5657244+00:00",
"Comment": "sample string 4",
"CC": [
"1aa2dca4-da35-4ee0-bf9f-e52ff06b8336",
"27673649-c2af-4351-8db7-745b2aa87726"
],
"Users": [
"1faf237b-621a-4f6c-bfd9-18dbc821dfaa",
"d8cd49cc-7956-4f46-8362-bfdd76e0cb4b"
]
}
],
"StartDate": "2026-07-21T13:02:44.5657244+00:00",
"DueDate": "2026-07-21T13:02:44.5657244+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8c0c65a4-8f42-4c91-a5af-2ac7c9e644f6": "eb421478-72ab-4c2f-9432-5f981a091107",
"b5cbc873-18a4-4119-87f2-1a56042ee87d": "9cddabc5-7980-489e-ba66-fb18f98c85ea"
},
"HasUpdates": true,
"Modified": "2026-07-21T13:02:44.5657244+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-07-21T13:02:44.5657244+00:00"
},
"LastComment": "2026-07-21T13:02:44.5657244+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "8be41c8d-f393-4704-994b-c245893716d6",
"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": "c6fa3270-35d9-4a3b-ac1d-c6d89ff35b50",
"id": "7cb1d4e8-f9ce-41dd-8c25-74c452309334",
"ConfigId": "2ef2f106-5e1e-45ea-bc43-a253190b6dfa"
}