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": "a6a1c74b-5d6a-4e09-96e2-6ec3bb283126",
"Name": "sample string 1",
"Created": "2026-03-12T11:55:18.8491437+00:00",
"Modified": "2026-03-12T11:55:18.8491437+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b71c24ed-47fe-4e64-a39e-514a0b638ca8",
"7a65b245-a600-4795-8ee1-e2d1a1a05cce"
],
"NonLaborAssignments": [
{
"Id": "5f895fce-15c8-4663-995f-09cb617749f5",
"ResourceId": "1c55033f-a1d4-4ac3-92e6-62b50e93630f",
"Quantity": 3.0
},
{
"Id": "5f895fce-15c8-4663-995f-09cb617749f5",
"ResourceId": "1c55033f-a1d4-4ac3-92e6-62b50e93630f",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "bdea2620-a1d8-4fb8-a707-21c44338ac78",
"Type": 0,
"ResourceId": "16a71ada-99f0-434c-a540-0dcc4ef52e27",
"Units": 3.0
},
{
"Id": "bdea2620-a1d8-4fb8-a707-21c44338ac78",
"Type": 0,
"ResourceId": "16a71ada-99f0-434c-a540-0dcc4ef52e27",
"Units": 3.0
}
],
"ParentId": "1b3cacaf-2efe-42a2-9b4a-17b14a5dd515",
"WorkTypeParentId": "53001d6d-846c-4f27-9201-d38af4614873",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "027332c9-a794-4349-a05c-b5c20320efbd",
"UPN": "8d0b6cdd-862d-465d-8607-746395cfb7b3",
"PostDate": "2026-03-12T11:55:18.8491437+00:00",
"Comment": "sample string 4",
"CC": [
"0cca5ec3-16f9-44fd-a7fe-091146a53a9a",
"8d4a93d4-07a2-422b-8955-01f5ed790615"
],
"Users": [
"78087b41-0704-426b-839a-34750f841de4",
"cc2d7f55-a564-4cc3-95c8-e1c5383f136f"
]
},
{
"Id": "027332c9-a794-4349-a05c-b5c20320efbd",
"UPN": "8d0b6cdd-862d-465d-8607-746395cfb7b3",
"PostDate": "2026-03-12T11:55:18.8491437+00:00",
"Comment": "sample string 4",
"CC": [
"0cca5ec3-16f9-44fd-a7fe-091146a53a9a",
"8d4a93d4-07a2-422b-8955-01f5ed790615"
],
"Users": [
"78087b41-0704-426b-839a-34750f841de4",
"cc2d7f55-a564-4cc3-95c8-e1c5383f136f"
]
}
],
"StartDate": "2026-03-12T11:55:18.8491437+00:00",
"DueDate": "2026-03-12T11:55:18.8491437+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8ac785ee-53c1-46f7-a5c0-8a78347df3da": "a0e21a31-a4c5-4d85-9ef8-75ff05864578",
"2a318ce7-a4f3-4c51-a9f3-484b29121160": "d4f90dfb-e7ff-4d14-9e2a-168c0af4a176"
},
"HasUpdates": true,
"Modified": "2026-03-12T11:55:18.8491437+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-12T11:55:18.8491437+00:00"
},
"LastComment": "2026-03-12T11:55:18.8491437+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a7731832-a079-4b41-b510-259e23d89ca0",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "fdf0cc4a-cc78-428f-8472-bc084b9b2f62",
"id": "1b22a14d-a9d7-42cc-8c81-0c920970cae3",
"ConfigId": "9d72cfc2-2a1b-45af-8c2d-3f075c1e6ad4"
}