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": "1d8a84f7-cace-42cc-a95d-6710fd45a2e9",
"Name": "sample string 1",
"Created": "2026-04-23T10:54:00.2956157+00:00",
"Modified": "2026-04-23T10:54:00.2956157+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"aa2693b6-71d6-401a-af4e-b6720c21faa9",
"d1a87791-97aa-4b30-9224-65a389aa015f"
],
"NonLaborAssignments": [
{
"Id": "a8df371c-4d28-4d91-b26d-8342516b4f25",
"ResourceId": "6bdb3044-f525-40a6-8fa6-df1ed20344e0",
"Quantity": 3.0
},
{
"Id": "a8df371c-4d28-4d91-b26d-8342516b4f25",
"ResourceId": "6bdb3044-f525-40a6-8fa6-df1ed20344e0",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "8bc3ebb4-a9b4-4a6a-9dd7-80ca719d8d62",
"Type": 0,
"ResourceId": "dd80ffc1-871f-4cb4-b06e-4a02a9b02fe3",
"Units": 3.0
},
{
"Id": "8bc3ebb4-a9b4-4a6a-9dd7-80ca719d8d62",
"Type": 0,
"ResourceId": "dd80ffc1-871f-4cb4-b06e-4a02a9b02fe3",
"Units": 3.0
}
],
"ParentId": "c6772557-a212-406e-a787-2446f3fa90c2",
"WorkTypeParentId": "72ecccf8-e783-42e4-9dff-1083f35e8142",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2ba0b0ec-adac-4f30-8e30-dea156492d88",
"UPN": "38b22100-7c3c-4cb2-a743-42ee0a8bf820",
"PostDate": "2026-04-23T10:54:00.2956157+00:00",
"Comment": "sample string 4",
"CC": [
"10a8267d-b022-426a-9911-3a52bdf77181",
"4a5ea894-fd42-4f4d-8382-6ea898a1ae94"
],
"Users": [
"39b5f8a2-7158-45b7-9eb4-8270640ae582",
"76d21a2c-d03a-4467-ad68-2e2dfc8b9cf0"
]
},
{
"Id": "2ba0b0ec-adac-4f30-8e30-dea156492d88",
"UPN": "38b22100-7c3c-4cb2-a743-42ee0a8bf820",
"PostDate": "2026-04-23T10:54:00.2956157+00:00",
"Comment": "sample string 4",
"CC": [
"10a8267d-b022-426a-9911-3a52bdf77181",
"4a5ea894-fd42-4f4d-8382-6ea898a1ae94"
],
"Users": [
"39b5f8a2-7158-45b7-9eb4-8270640ae582",
"76d21a2c-d03a-4467-ad68-2e2dfc8b9cf0"
]
}
],
"StartDate": "2026-04-23T10:54:00.2956157+00:00",
"DueDate": "2026-04-23T10:54:00.2956157+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"906cf7c3-dcbb-462d-83f1-2acc46a5c0ec": "76f0c09a-020d-4f7b-bb3c-006dbd95ab19",
"c45f0f2a-705d-4a35-b2b6-18ac8d5c63b7": "e8568dd9-6c41-46f0-bbc4-429e1c839c74"
},
"HasUpdates": true,
"Modified": "2026-04-23T10:54:00.2956157+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-04-23T10:54:00.2956157+00:00"
},
"LastComment": "2026-04-23T10:54:00.2956157+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3a62b972-cb5e-431c-b07f-c84ddaafcb3e",
"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": "59ff6c45-5614-43f1-83bb-7e88f876a198",
"id": "5649db1e-0061-4955-a487-00b598537769",
"ConfigId": "bb43590a-2da9-4031-800a-52ee1ce37590"
}