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": "dd623c36-a911-4855-bb86-f52dd80ba520",
"Name": "sample string 1",
"Created": "2025-12-19T00:58:20.3097189+00:00",
"Modified": "2025-12-19T00:58:20.3097189+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"4dc3cba0-7560-4114-a0f4-e3e1c065e4a4",
"5e0d843c-39fd-4ca7-b991-21da7aa7469b"
],
"NonLaborAssignments": [
{
"Id": "2e490c3c-3c64-47c5-a116-8682df7f9b97",
"ResourceId": "eaf07e3b-f3c5-43cd-904b-890cc652c7da",
"Quantity": 3.0
},
{
"Id": "2e490c3c-3c64-47c5-a116-8682df7f9b97",
"ResourceId": "eaf07e3b-f3c5-43cd-904b-890cc652c7da",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "a3bf0419-44b9-410e-b093-c2102c6e2b06",
"Type": 0,
"ResourceId": "d62fa470-0eb2-4ff0-b803-26fc35059da9",
"Units": 3.0
},
{
"Id": "a3bf0419-44b9-410e-b093-c2102c6e2b06",
"Type": 0,
"ResourceId": "d62fa470-0eb2-4ff0-b803-26fc35059da9",
"Units": 3.0
}
],
"ParentId": "9ab92585-4bf8-4c9e-bdb0-f21275b9b531",
"WorkTypeParentId": "e71ad9ed-b216-4104-92a4-b66a30949a41",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "3a975b2a-d57a-4b75-8eff-00160b9277dd",
"UPN": "ecd4638a-ac38-4c0d-abff-d34e333423a8",
"PostDate": "2025-12-19T00:58:20.3097189+00:00",
"Comment": "sample string 4",
"CC": [
"01481ce1-2bdb-445a-a9b0-5af458c2f6d6",
"f3dd365b-3c13-446d-be62-b8b55f780943"
],
"Users": [
"347d780e-2705-4054-b083-0b44e1f034a5",
"bc71931e-0fb1-4640-9af5-d581ddd13341"
]
},
{
"Id": "3a975b2a-d57a-4b75-8eff-00160b9277dd",
"UPN": "ecd4638a-ac38-4c0d-abff-d34e333423a8",
"PostDate": "2025-12-19T00:58:20.3097189+00:00",
"Comment": "sample string 4",
"CC": [
"01481ce1-2bdb-445a-a9b0-5af458c2f6d6",
"f3dd365b-3c13-446d-be62-b8b55f780943"
],
"Users": [
"347d780e-2705-4054-b083-0b44e1f034a5",
"bc71931e-0fb1-4640-9af5-d581ddd13341"
]
}
],
"StartDate": "2025-12-19T00:58:20.3097189+00:00",
"DueDate": "2025-12-19T00:58:20.3097189+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"96866ea1-56e9-4d87-89f4-7afde19ae216": "4d98b384-7163-463e-b59a-ce474bf44f00",
"26030f7d-bb92-47d2-b190-74a3a3af0103": "3c14ccfd-6fac-4732-8d39-9330869c62f4"
},
"HasUpdates": true,
"Modified": "2025-12-19T00:58:20.3097189+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-19T00:58:20.3097189+00:00"
},
"LastComment": "2025-12-19T00:58:20.3097189+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "c6021416-d71c-4537-a480-4b6534fbe1ce",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "4a46dd68-4153-4262-af19-50ccd365e79c",
"id": "bafa3253-85ea-42a7-96d1-eb34e11b1b3e",
"ConfigId": "514aff59-cc81-40f5-b067-13f13f3d6753"
}