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": "9a02a0d5-236f-435e-aadc-e20b93bb898e",
"Name": "sample string 1",
"Created": "2025-11-30T21:42:27.9624632+00:00",
"Modified": "2025-11-30T21:42:27.9624632+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"942e92ab-683c-4600-b2e7-e643f76911bb",
"fd05f59c-53a7-4e11-b27b-3bbe1bcbd006"
],
"NonLaborAssignments": [
{
"Id": "038094ba-be89-4900-a975-263aeab42c04",
"ResourceId": "4ae23bac-69f9-4e49-adf0-37a70a89e0cd",
"Quantity": 3.0
},
{
"Id": "038094ba-be89-4900-a975-263aeab42c04",
"ResourceId": "4ae23bac-69f9-4e49-adf0-37a70a89e0cd",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "dace3b88-5fea-4528-ab74-8e8d2f8fb921",
"Type": 0,
"ResourceId": "ec24a110-7169-45c2-9d26-2451cf4d4e9a",
"Units": 3.0
},
{
"Id": "dace3b88-5fea-4528-ab74-8e8d2f8fb921",
"Type": 0,
"ResourceId": "ec24a110-7169-45c2-9d26-2451cf4d4e9a",
"Units": 3.0
}
],
"ParentId": "c58e0ce4-2ca7-4f0b-b3ad-bbc5ce1925e0",
"WorkTypeParentId": "94cbc532-13a2-4add-b87d-b316fb42f81b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "04888b84-0d1d-4eb3-b152-7f4867f65b96",
"UPN": "43926ae7-edc6-4abc-b7c5-60d23b9b378f",
"PostDate": "2025-11-30T21:42:27.9624632+00:00",
"Comment": "sample string 4",
"CC": [
"17de384a-a7d8-40a8-825b-7e915f7e5940",
"e5784f26-e915-4bb5-bf40-652fa32b1744"
],
"Users": [
"c114cca7-e67e-423d-b79a-8fac6048b730",
"c9bba441-fb7f-4f9d-b76a-8dedf126b8f0"
]
},
{
"Id": "04888b84-0d1d-4eb3-b152-7f4867f65b96",
"UPN": "43926ae7-edc6-4abc-b7c5-60d23b9b378f",
"PostDate": "2025-11-30T21:42:27.9624632+00:00",
"Comment": "sample string 4",
"CC": [
"17de384a-a7d8-40a8-825b-7e915f7e5940",
"e5784f26-e915-4bb5-bf40-652fa32b1744"
],
"Users": [
"c114cca7-e67e-423d-b79a-8fac6048b730",
"c9bba441-fb7f-4f9d-b76a-8dedf126b8f0"
]
}
],
"StartDate": "2025-11-30T21:42:27.9624632+00:00",
"DueDate": "2025-11-30T21:42:27.9624632+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"827082ef-8f7a-49e4-be54-6ab631a8c8d5": "3897cf2f-2227-46ce-9b00-029c2c69cc7d",
"df28bfbf-f28c-440c-b68a-5f05db32b44a": "414f99fe-5df4-4a7e-a62f-061acb611a10"
},
"HasUpdates": true,
"Modified": "2025-11-30T21:42:27.9624632+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-11-30T21:42:27.9624632+00:00"
},
"LastComment": "2025-11-30T21:42:27.9624632+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "38388d4e-4c49-41bc-95d1-51fa23cd6ab0",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "4a57d0bf-d5b3-476b-8486-782b52f969c3",
"id": "209bc316-97bc-4b63-9dd6-8f9d2e8cdccf",
"ConfigId": "5fe4b269-c8e6-4662-aaec-549450dc2582"
}