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": "7f0c96d4-4f4a-47d4-b816-06a879848496",
"Name": "sample string 1",
"Created": "2026-01-25T12:49:31.5824082+00:00",
"Modified": "2026-01-25T12:49:31.5824082+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1f091af1-12a5-48d4-afda-17b33a7dae35",
"d74c3054-0869-49f2-b309-02ef20ce7b9c"
],
"NonLaborAssignments": [
{
"Id": "b2761cd8-677d-438c-9102-56e21bee441e",
"ResourceId": "a4b01b44-14a4-4e52-90ec-24bda78a610e",
"Quantity": 3.0
},
{
"Id": "b2761cd8-677d-438c-9102-56e21bee441e",
"ResourceId": "a4b01b44-14a4-4e52-90ec-24bda78a610e",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "a765a4d3-a543-4e14-b9f1-d55bbe5fafd6",
"Type": 0,
"ResourceId": "de3b9444-a175-473f-83a8-41a65198269b",
"Units": 3.0
},
{
"Id": "a765a4d3-a543-4e14-b9f1-d55bbe5fafd6",
"Type": 0,
"ResourceId": "de3b9444-a175-473f-83a8-41a65198269b",
"Units": 3.0
}
],
"ParentId": "da97be36-4863-4f2d-8bb3-a55c66e300c8",
"WorkTypeParentId": "35b2c370-8397-47e6-8553-9159fb054c07",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "d9de70f5-709b-476b-af79-56884fe4bc61",
"UPN": "c2834f3b-471e-4ad2-b2d3-6b685eca5b51",
"PostDate": "2026-01-25T12:49:31.5824082+00:00",
"Comment": "sample string 4",
"CC": [
"37ad69f6-7b5e-409e-a9b8-0984b30761d8",
"45f6440b-6217-45af-b8dd-91f42f4bf5b2"
],
"Users": [
"e78836ea-e161-4d4d-82e1-f5e80a061a03",
"2a73734a-e38a-4353-9b97-8b2c0499d80f"
]
},
{
"Id": "d9de70f5-709b-476b-af79-56884fe4bc61",
"UPN": "c2834f3b-471e-4ad2-b2d3-6b685eca5b51",
"PostDate": "2026-01-25T12:49:31.5824082+00:00",
"Comment": "sample string 4",
"CC": [
"37ad69f6-7b5e-409e-a9b8-0984b30761d8",
"45f6440b-6217-45af-b8dd-91f42f4bf5b2"
],
"Users": [
"e78836ea-e161-4d4d-82e1-f5e80a061a03",
"2a73734a-e38a-4353-9b97-8b2c0499d80f"
]
}
],
"StartDate": "2026-01-25T12:49:31.5824082+00:00",
"DueDate": "2026-01-25T12:49:31.5824082+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"4c2e370b-e24d-4b2d-929b-42377c2825ae": "29513e42-cde1-49b0-bec2-35679dca3396",
"05057bdf-fd58-4cea-af65-27695b4426b2": "ffab3434-4281-43a0-94a3-fa2573f03f9c"
},
"HasUpdates": true,
"Modified": "2026-01-25T12:49:31.5824082+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-25T12:49:31.5824082+00:00"
},
"LastComment": "2026-01-25T12:49:31.5824082+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "681b7e78-ef37-4ceb-8c33-65e9e5d23707",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "62dcfe15-398a-4ac7-8d6f-41826962b266",
"id": "31dfe062-89ff-4a2f-822a-31bbd633d8fb",
"ConfigId": "9734c1a7-2239-4c28-bf63-cbd5415fc97e"
}