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": "8883c9ec-63cd-4668-b04a-24f25a1f9785",
"Name": "sample string 1",
"Created": "2026-03-11T17:23:23.8389395+00:00",
"Modified": "2026-03-11T17:23:23.8389395+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"5083859a-26ac-4913-bf70-e385e702ebde",
"1ed9f372-d4cb-4dca-81a2-286e27db23a4"
],
"NonLaborAssignments": [
{
"Id": "661eff06-6ec0-4362-9387-18d180a92f38",
"ResourceId": "e163994b-fbfb-4926-9e2c-e15ab3802cdf",
"Quantity": 3.0
},
{
"Id": "661eff06-6ec0-4362-9387-18d180a92f38",
"ResourceId": "e163994b-fbfb-4926-9e2c-e15ab3802cdf",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "d68f4b71-fdc6-4bdf-ac28-7e2f49a52831",
"Type": 0,
"ResourceId": "8a7db9ad-d217-471a-a70f-f75a12df543a",
"Units": 3.0
},
{
"Id": "d68f4b71-fdc6-4bdf-ac28-7e2f49a52831",
"Type": 0,
"ResourceId": "8a7db9ad-d217-471a-a70f-f75a12df543a",
"Units": 3.0
}
],
"ParentId": "84c5981f-8dec-4d56-92a0-43f604b2882e",
"WorkTypeParentId": "0d84541c-2842-4080-9925-0f7a0738f3c4",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "c9ab3d0b-cdb2-454d-8c33-8a00602fd9dc",
"UPN": "5df86a72-ea2a-4e9b-8ef0-f91b8dc78a57",
"PostDate": "2026-03-11T17:23:23.8545656+00:00",
"Comment": "sample string 4",
"CC": [
"eecf3690-4b09-4eba-bf2b-87be1eccb0ab",
"0b539706-1988-495f-bb35-49bdf9f00783"
],
"Users": [
"fed562ec-f738-44e4-aaa1-f3b286cd2a97",
"9c4ecbac-a8da-4435-94ca-4be11b3e942b"
]
},
{
"Id": "c9ab3d0b-cdb2-454d-8c33-8a00602fd9dc",
"UPN": "5df86a72-ea2a-4e9b-8ef0-f91b8dc78a57",
"PostDate": "2026-03-11T17:23:23.8545656+00:00",
"Comment": "sample string 4",
"CC": [
"eecf3690-4b09-4eba-bf2b-87be1eccb0ab",
"0b539706-1988-495f-bb35-49bdf9f00783"
],
"Users": [
"fed562ec-f738-44e4-aaa1-f3b286cd2a97",
"9c4ecbac-a8da-4435-94ca-4be11b3e942b"
]
}
],
"StartDate": "2026-03-11T17:23:23.8545656+00:00",
"DueDate": "2026-03-11T17:23:23.8545656+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"345ba5c7-55cf-45b3-9067-e0be14b068f1": "b80c09c8-fd06-4d73-84e2-6001b602e806",
"e821ef03-3fad-4fef-b069-a07594cbe596": "dfb46316-1278-4d29-92cb-c17a57faaf26"
},
"HasUpdates": true,
"Modified": "2026-03-11T17:23:23.8545656+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-11T17:23:23.8545656+00:00"
},
"LastComment": "2026-03-11T17:23:23.8545656+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "772ca3c5-fe65-48c3-ae4b-d3813838c63d",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "0338e9d4-4151-4e17-b001-e3533c59be81",
"id": "580a8ed5-c7a2-42d3-9164-282a6a17903b",
"ConfigId": "8fc22f77-f158-4a5a-bbee-b77e193c5fdf"
}