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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "53499076-61e1-46df-979a-76bbb0c22741",
"Name": "sample string 1",
"Created": "2026-08-09T20:50:57.2397221+00:00",
"Modified": "2026-08-09T20:50:57.2397221+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"142a47e7-1260-4404-a5eb-0d7282226739",
"3b9214be-9529-4a24-a6b7-baf21f0146b4"
],
"NonLaborAssignments": [
{
"Id": "8c391529-4cd0-448c-966d-cc726293ff62",
"ResourceId": "606d7552-12c8-49b7-8623-f6fb3396f2da",
"Quantity": 3.0
},
{
"Id": "8c391529-4cd0-448c-966d-cc726293ff62",
"ResourceId": "606d7552-12c8-49b7-8623-f6fb3396f2da",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e939fc46-2a3c-4b7d-994b-38050ef16f76",
"Type": 0,
"ResourceId": "94ea8719-c6d2-4f41-a27c-3ff96aacccdb",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "e939fc46-2a3c-4b7d-994b-38050ef16f76",
"Type": 0,
"ResourceId": "94ea8719-c6d2-4f41-a27c-3ff96aacccdb",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "1ecc2fb9-54e5-4f83-bc76-f950e2e10cc2",
"WorkTypeParentId": "e4f00d64-8265-4b2c-99d0-51077c4bfed4",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "e07a0dde-b1b1-4784-8394-7e9e5013e1f5",
"UPN": "12843698-1b62-495e-aef9-78a7d585bac4",
"PostDate": "2026-08-09T20:50:57.2397221+00:00",
"Comment": "sample string 4",
"CC": [
"f3399c89-c88b-47b8-a7cf-cd0467f0ceac",
"efb14b9a-f6f2-478b-8e08-e1f2056bb2f8"
],
"Users": [
"54baaade-e836-439e-83b2-53f799ec105d",
"95977804-c744-4563-bcb7-4bbf7b57028b"
]
},
{
"Id": "e07a0dde-b1b1-4784-8394-7e9e5013e1f5",
"UPN": "12843698-1b62-495e-aef9-78a7d585bac4",
"PostDate": "2026-08-09T20:50:57.2397221+00:00",
"Comment": "sample string 4",
"CC": [
"f3399c89-c88b-47b8-a7cf-cd0467f0ceac",
"efb14b9a-f6f2-478b-8e08-e1f2056bb2f8"
],
"Users": [
"54baaade-e836-439e-83b2-53f799ec105d",
"95977804-c744-4563-bcb7-4bbf7b57028b"
]
}
],
"StartDate": "2026-08-09T20:50:57.2397221+00:00",
"DueDate": "2026-08-09T20:50:57.2397221+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"def8b8f5-410b-47dd-beec-dd4d0d9fb3d2": "215b1df8-5da0-43fb-8554-f165e7f97ba2",
"28067061-e953-4880-878d-b6147874ec73": "b8136c57-7ad8-4242-b646-1d69ddb6603b"
},
"HasUpdates": true,
"Modified": "2026-08-09T20:50:57.2397221+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-08-09T20:50:57.2397221+00:00"
},
"LastComment": "2026-08-09T20:50:57.2397221+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b51b0eba-3c57-46c3-ba82-b2446da7f9a3",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "1394492f-0822-4329-af55-c62d42ef0dea",
"id": "ef3864fd-0a99-4775-99e1-87b8c802b917",
"ConfigId": "2991767b-7e4b-44a2-a05e-9ca189f6553a"
}