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": "7197bb16-f57e-4aec-95b8-08b0093a5417",
"Name": "sample string 1",
"Created": "2025-12-20T18:37:23.4378046+00:00",
"Modified": "2025-12-20T18:37:23.4378046+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b43215be-b8ee-4718-99f8-bc1c9c8b9cf1",
"2a147ba6-4621-4196-aa49-e5612d90c7ed"
],
"NonLaborAssignments": [
{
"Id": "c30d1ae5-0b8e-4f17-a15c-e23a2d445964",
"ResourceId": "2bc18a62-c1a0-4d62-96c2-07af8bf5b679",
"Quantity": 3.0
},
{
"Id": "c30d1ae5-0b8e-4f17-a15c-e23a2d445964",
"ResourceId": "2bc18a62-c1a0-4d62-96c2-07af8bf5b679",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "f8ef38ab-28c2-426b-954a-abcaa1df0d9f",
"Type": 0,
"ResourceId": "68ed84a2-7292-459d-9887-7b201637ea09",
"Units": 3.0
},
{
"Id": "f8ef38ab-28c2-426b-954a-abcaa1df0d9f",
"Type": 0,
"ResourceId": "68ed84a2-7292-459d-9887-7b201637ea09",
"Units": 3.0
}
],
"ParentId": "d6e36df0-e1f1-4e37-8e3b-414536bfe78d",
"WorkTypeParentId": "840b0df0-4694-41ad-9b07-5a65633023e2",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "4e4e1267-2c71-43f3-8121-7cad1ef3a5a6",
"UPN": "0df16d15-b7e3-4e0c-bdaa-15549fa49140",
"PostDate": "2025-12-20T18:37:23.4378046+00:00",
"Comment": "sample string 4",
"CC": [
"24e85253-f352-4d6f-bfba-e707647331f1",
"4090e0a3-4e58-4a8d-95f8-e2ac388315ab"
],
"Users": [
"9e73d9a0-e4ab-40d4-a630-09bf8da9e597",
"0772b3ed-e061-434c-ad3d-89e347a5c4e6"
]
},
{
"Id": "4e4e1267-2c71-43f3-8121-7cad1ef3a5a6",
"UPN": "0df16d15-b7e3-4e0c-bdaa-15549fa49140",
"PostDate": "2025-12-20T18:37:23.4378046+00:00",
"Comment": "sample string 4",
"CC": [
"24e85253-f352-4d6f-bfba-e707647331f1",
"4090e0a3-4e58-4a8d-95f8-e2ac388315ab"
],
"Users": [
"9e73d9a0-e4ab-40d4-a630-09bf8da9e597",
"0772b3ed-e061-434c-ad3d-89e347a5c4e6"
]
}
],
"StartDate": "2025-12-20T18:37:23.4378046+00:00",
"DueDate": "2025-12-20T18:37:23.4378046+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"c1d8be75-dd78-4227-a115-4fcb87508d2a": "ea4ea4ed-02ca-4b58-811d-ea6fe02a243b",
"a50a09c9-04ad-4a77-b4f0-aad417c7cc28": "7a8fcfac-3370-4dd6-b654-7069b5212a12"
},
"HasUpdates": true,
"Modified": "2025-12-20T18:37:23.4378046+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": "2025-12-20T18:37:23.4378046+00:00"
},
"LastComment": "2025-12-20T18:37:23.4378046+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "8f6f59f8-520d-4ad1-98cb-bae07daf13bd",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "f5aec925-e4ae-478c-80c1-557a45915b22",
"id": "d7e02421-7580-45d6-a27e-59fe930b9dac",
"ConfigId": "733415a7-2cc2-48e1-888d-6ea779c6b2ed"
}