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": "9a4d2099-7e58-43b9-ad3f-d8c6bf627a23",
"Name": "sample string 1",
"Created": "2026-03-10T03:02:39.6457798+00:00",
"Modified": "2026-03-10T03:02:39.6457798+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"44bb2831-782b-4a1d-a37b-1701899e6b1d",
"6ef78f6d-b5d3-483b-b507-ff0808de3091"
],
"NonLaborAssignments": [
{
"Id": "69bbbb5c-c83b-4c84-a820-4b4222e1b247",
"ResourceId": "b0e57c69-2cff-480c-a588-efe94805bf47",
"Quantity": 3.0
},
{
"Id": "69bbbb5c-c83b-4c84-a820-4b4222e1b247",
"ResourceId": "b0e57c69-2cff-480c-a588-efe94805bf47",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "46146ac8-1f71-4436-8ec3-e9da5fe4d89c",
"Type": 0,
"ResourceId": "90c0a71b-c3e9-43ee-9660-c1930ce33381",
"Units": 3.0
},
{
"Id": "46146ac8-1f71-4436-8ec3-e9da5fe4d89c",
"Type": 0,
"ResourceId": "90c0a71b-c3e9-43ee-9660-c1930ce33381",
"Units": 3.0
}
],
"ParentId": "3b9cf86b-4aac-4cc7-a4ed-a6f0ac05ec5d",
"WorkTypeParentId": "97b7f7a5-e263-4880-a32f-ceb1da3789ef",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "73be433e-e869-4952-ad96-3cb3b75dcdbe",
"UPN": "a17ea5a2-ff54-4c3a-b75c-200fbddf1aa7",
"PostDate": "2026-03-10T03:02:39.6457798+00:00",
"Comment": "sample string 4",
"CC": [
"307280be-ac19-491b-a185-1b3aa70dfe84",
"87cf4b42-0069-43ff-92c7-e9f9b7dded1f"
],
"Users": [
"68a9c476-fedd-435b-baac-617037d791d5",
"7b4d0c7b-81b9-4f7d-859a-b8b521b620ad"
]
},
{
"Id": "73be433e-e869-4952-ad96-3cb3b75dcdbe",
"UPN": "a17ea5a2-ff54-4c3a-b75c-200fbddf1aa7",
"PostDate": "2026-03-10T03:02:39.6457798+00:00",
"Comment": "sample string 4",
"CC": [
"307280be-ac19-491b-a185-1b3aa70dfe84",
"87cf4b42-0069-43ff-92c7-e9f9b7dded1f"
],
"Users": [
"68a9c476-fedd-435b-baac-617037d791d5",
"7b4d0c7b-81b9-4f7d-859a-b8b521b620ad"
]
}
],
"StartDate": "2026-03-10T03:02:39.6457798+00:00",
"DueDate": "2026-03-10T03:02:39.6457798+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"7a7df530-9f2f-416c-9681-c9840f136954": "3590acc9-d7bb-4e6d-85f9-6eca822bf2a5",
"0b7d62da-a89a-48c4-80a8-36622b3dab23": "e2afc820-10ce-456d-b202-3fb2ff1650c1"
},
"HasUpdates": true,
"Modified": "2026-03-10T03:02:39.6457798+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-03-10T03:02:39.6457798+00:00"
},
"LastComment": "2026-03-10T03:02:39.6457798+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "f09dc3cb-08ea-4324-9c2c-7bd8af4d207a",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "378be0ba-86e6-4d65-a3b2-ff69c917f8bd",
"id": "5b3d88e6-1ffe-4c3a-af46-640127abd017",
"ConfigId": "c34ea813-b2e5-4cd4-aebb-4cecbfa5d1e9"
}