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": "f5466f0b-1a97-44fc-bbfd-91aee21ff52a",
"Name": "sample string 1",
"Created": "2026-02-23T03:06:22.4191501+00:00",
"Modified": "2026-02-23T03:06:22.4191501+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8de4ce02-88e8-4877-af3f-42a735c4f9e5",
"9c4c9082-3e67-4efa-bfa9-3100ef2c2354"
],
"NonLaborAssignments": [
{
"Id": "e179ef57-dc90-4696-b733-5ef03c461dba",
"ResourceId": "63c6c21f-5ab2-469f-aefb-0a9c3224f2d2",
"Quantity": 3.0
},
{
"Id": "e179ef57-dc90-4696-b733-5ef03c461dba",
"ResourceId": "63c6c21f-5ab2-469f-aefb-0a9c3224f2d2",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "3e1cf90a-3514-49cc-b8ac-9dab3dbea685",
"Type": 0,
"ResourceId": "1c6639f8-99b0-42df-8ce2-02514de935b8",
"Units": 3.0
},
{
"Id": "3e1cf90a-3514-49cc-b8ac-9dab3dbea685",
"Type": 0,
"ResourceId": "1c6639f8-99b0-42df-8ce2-02514de935b8",
"Units": 3.0
}
],
"ParentId": "765bcf7c-d58f-40c3-8b96-dfbc902b3c77",
"WorkTypeParentId": "468035f1-13a2-4d67-8a3d-55855e9fb492",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "a314db21-7008-4527-bcb6-8e5258af82d2",
"UPN": "b962b2a0-2b02-4acb-8251-63b25c720299",
"PostDate": "2026-02-23T03:06:22.4191501+00:00",
"Comment": "sample string 4",
"CC": [
"6b2bc61b-2bf2-4746-a7cd-58df7ea61537",
"fced58f6-d6af-411a-aae0-5899218c1432"
],
"Users": [
"058b63ec-97ab-48cf-bafa-02abd9b5ffb8",
"f54c9727-ed09-4cf3-abf5-9f9a8cce47a5"
]
},
{
"Id": "a314db21-7008-4527-bcb6-8e5258af82d2",
"UPN": "b962b2a0-2b02-4acb-8251-63b25c720299",
"PostDate": "2026-02-23T03:06:22.4191501+00:00",
"Comment": "sample string 4",
"CC": [
"6b2bc61b-2bf2-4746-a7cd-58df7ea61537",
"fced58f6-d6af-411a-aae0-5899218c1432"
],
"Users": [
"058b63ec-97ab-48cf-bafa-02abd9b5ffb8",
"f54c9727-ed09-4cf3-abf5-9f9a8cce47a5"
]
}
],
"StartDate": "2026-02-23T03:06:22.4191501+00:00",
"DueDate": "2026-02-23T03:06:22.4191501+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"704a1f51-ac23-4e82-9801-10152448f9a6": "764c83e2-ea12-4448-bbe0-e2f42a6b8018",
"c26b9775-e925-4fcf-9f05-155cf97aaf85": "46b1b601-1edc-43de-8378-468429f2a432"
},
"HasUpdates": true,
"Modified": "2026-02-23T03:06:22.4191501+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-02-23T03:06:22.4191501+00:00"
},
"LastComment": "2026-02-23T03:06:22.4191501+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "f6f92b7a-75f7-4891-94de-770e82fa5645",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "af882487-3193-4c8b-aa19-580e2e1bb771",
"id": "8de2138b-7c80-4649-a63b-4c2bc0297308",
"ConfigId": "713527b0-04c2-4227-a0a4-5e34f32cf382"
}