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": "5c05407a-4e0d-4fe7-86bb-d114eb0b4c00",
"Name": "sample string 1",
"Created": "2026-01-28T02:13:04.8495738+00:00",
"Modified": "2026-01-28T02:13:04.8495738+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"301e7662-7e2d-49c7-b0e4-276be0fb340c",
"1c05c6b6-b6db-45e4-87ed-7ee86e62b52e"
],
"NonLaborAssignments": [
{
"Id": "ad768671-742a-4a5d-b6da-6d22154a30b5",
"ResourceId": "e740a995-3338-40a2-bfa5-af0cf9c4497a",
"Quantity": 3.0
},
{
"Id": "ad768671-742a-4a5d-b6da-6d22154a30b5",
"ResourceId": "e740a995-3338-40a2-bfa5-af0cf9c4497a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "20ac9e84-81ff-47dd-84e5-94fb3f01cfb7",
"Type": 0,
"ResourceId": "e340c19a-3d0b-4064-9229-aa446d58852a",
"Units": 3.0
},
{
"Id": "20ac9e84-81ff-47dd-84e5-94fb3f01cfb7",
"Type": 0,
"ResourceId": "e340c19a-3d0b-4064-9229-aa446d58852a",
"Units": 3.0
}
],
"ParentId": "191a61d9-a51e-4264-bb14-057fa95245ac",
"WorkTypeParentId": "6ddc7348-52eb-4a03-b509-7907df870cda",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "8e1d441f-dfea-45a8-a288-c0e1a2c50386",
"UPN": "f2f5cae9-718d-4dcd-bbfa-3a4829910aee",
"PostDate": "2026-01-28T02:13:04.8495738+00:00",
"Comment": "sample string 4",
"CC": [
"70f6566a-3adf-49b4-bb65-814164dfa4e1",
"a2b99931-0198-465e-899e-be01e4741c1d"
],
"Users": [
"21c22e33-5564-492c-a13f-32f88dbce580",
"a3f58684-d04e-4269-868c-9205431f45a7"
]
},
{
"Id": "8e1d441f-dfea-45a8-a288-c0e1a2c50386",
"UPN": "f2f5cae9-718d-4dcd-bbfa-3a4829910aee",
"PostDate": "2026-01-28T02:13:04.8495738+00:00",
"Comment": "sample string 4",
"CC": [
"70f6566a-3adf-49b4-bb65-814164dfa4e1",
"a2b99931-0198-465e-899e-be01e4741c1d"
],
"Users": [
"21c22e33-5564-492c-a13f-32f88dbce580",
"a3f58684-d04e-4269-868c-9205431f45a7"
]
}
],
"StartDate": "2026-01-28T02:13:04.8495738+00:00",
"DueDate": "2026-01-28T02:13:04.8495738+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"696358f2-34fd-4669-80b6-c9a884109bec": "29978e9d-6d8d-47f8-930e-233059510b67",
"8366b6bf-7dcd-4d76-b7ed-6263589ecb24": "50196a0b-00ea-49c5-83b4-f28c89ba14a0"
},
"HasUpdates": true,
"Modified": "2026-01-28T02:13:04.8495738+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-01-28T02:13:04.8495738+00:00"
},
"LastComment": "2026-01-28T02:13:04.8495738+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "c7f05810-26ca-4155-9b9d-d37f608577dc",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "d54c00b2-99a2-4c47-817e-3acf135d4b61",
"id": "934abecd-81c3-4e2b-ac36-b810fe3c4e2c",
"ConfigId": "9832a707-bc3c-4f44-ae38-a9c85b309dc3"
}