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": "e61aca84-7fd1-46d4-9244-58f4fb71e6bb",
"Name": "sample string 1",
"Created": "2025-11-06T19:29:06.1365306+00:00",
"Modified": "2025-11-06T19:29:06.1365306+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"67443e8a-3c40-49fe-8600-0cf5383e8b22",
"a2767bc9-4f45-4a1c-b3b3-4ef9e1680eea"
],
"NonLaborAssignments": [
{
"Id": "79969265-6da4-4269-bf58-e3515c10a67e",
"ResourceId": "689b85f7-c35e-45d0-b8b8-59d38623eabf",
"Quantity": 3.0
},
{
"Id": "79969265-6da4-4269-bf58-e3515c10a67e",
"ResourceId": "689b85f7-c35e-45d0-b8b8-59d38623eabf",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "2d990635-7efc-4bf0-ab5e-c24eca7a9961",
"Type": 0,
"ResourceId": "8dbf9e7f-993b-495c-a910-2ef3e0f1a26d",
"Units": 3.0
},
{
"Id": "2d990635-7efc-4bf0-ab5e-c24eca7a9961",
"Type": 0,
"ResourceId": "8dbf9e7f-993b-495c-a910-2ef3e0f1a26d",
"Units": 3.0
}
],
"ParentId": "5bc3e922-6036-4837-b0ec-94010d8a8889",
"WorkTypeParentId": "58e50691-50ee-4c66-a094-9e27b3609b0d",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "77d29de3-8ab7-46c7-a31b-f19cfa782819",
"UPN": "9792fc0f-2595-46f2-9231-b06fd55bd6f0",
"PostDate": "2025-11-06T19:29:06.1365306+00:00",
"Comment": "sample string 4",
"CC": [
"c8142374-c4b7-4d50-9bbc-f9a54bc36af5",
"b304a826-eb37-444a-9215-5669426d8f69"
],
"Users": [
"a69d1e87-555e-48e4-8fe0-672086191573",
"2bfe6f94-4e11-4a60-b2e1-ee0b24202763"
]
},
{
"Id": "77d29de3-8ab7-46c7-a31b-f19cfa782819",
"UPN": "9792fc0f-2595-46f2-9231-b06fd55bd6f0",
"PostDate": "2025-11-06T19:29:06.1365306+00:00",
"Comment": "sample string 4",
"CC": [
"c8142374-c4b7-4d50-9bbc-f9a54bc36af5",
"b304a826-eb37-444a-9215-5669426d8f69"
],
"Users": [
"a69d1e87-555e-48e4-8fe0-672086191573",
"2bfe6f94-4e11-4a60-b2e1-ee0b24202763"
]
}
],
"StartDate": "2025-11-06T19:29:06.1365306+00:00",
"DueDate": "2025-11-06T19:29:06.1365306+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8a9b40d0-74bb-46be-8056-8078144e5a35": "b508c460-9ad6-4456-a9b2-4ba4ce7f042a",
"4a77088d-d143-4223-81ec-5e90234b52fd": "a0e88b06-f35f-4bd2-bbe2-9195a338ee3c"
},
"HasUpdates": true,
"Modified": "2025-11-06T19:29:06.1365306+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": "2025-11-06T19:29:06.1365306+00:00"
},
"LastComment": "2025-11-06T19:29:06.1365306+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "61197cbe-d266-4323-b235-b8f17f7162fb",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "f41c6117-7804-4079-b4c2-6f53b30aa633",
"id": "f17488b6-9e39-4f85-8ae4-8c6c2f76624a",
"ConfigId": "dabcb9c8-0992-4358-abff-ad353a576df1"
}