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": "5409816f-16fc-4885-83e0-db29f9e4e233",
"Name": "sample string 1",
"Created": "2026-04-15T14:28:28.8597032+00:00",
"Modified": "2026-04-15T14:28:28.8597032+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"2f01d41c-114a-4a0e-8f46-3dbf773d206c",
"980e8bf9-7b53-430b-95a9-b2d97af199d2"
],
"NonLaborAssignments": [
{
"Id": "c20d18e4-d670-4b2f-9764-0b2ccbde4bb5",
"ResourceId": "ceb3f332-ae18-451f-a32f-d594d4965c52",
"Quantity": 3.0
},
{
"Id": "c20d18e4-d670-4b2f-9764-0b2ccbde4bb5",
"ResourceId": "ceb3f332-ae18-451f-a32f-d594d4965c52",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "9deec052-d805-4c6d-9ba6-c2b58de3af5e",
"Type": 0,
"ResourceId": "c733279b-813f-4d54-947a-0aeaa2b6c8da",
"Units": 3.0
},
{
"Id": "9deec052-d805-4c6d-9ba6-c2b58de3af5e",
"Type": 0,
"ResourceId": "c733279b-813f-4d54-947a-0aeaa2b6c8da",
"Units": 3.0
}
],
"ParentId": "d01b810b-772a-4b94-86f8-71abe75aa583",
"WorkTypeParentId": "19502538-6bf0-4649-b45d-e3d1753b1a79",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "6219cb1c-9885-46d8-afac-5f55efb3e447",
"UPN": "714d653b-c5c4-47e3-ad57-b48fe485b6fc",
"PostDate": "2026-04-15T14:28:28.8597032+00:00",
"Comment": "sample string 4",
"CC": [
"0064f3b5-b3c3-4f77-a7c9-2a8a26c75fca",
"7221e705-7bda-464f-9a67-1a8aca34294f"
],
"Users": [
"8e467be8-c938-442e-9b0d-794d569eba27",
"abe55c00-42da-42e5-836d-b3874bfea27c"
]
},
{
"Id": "6219cb1c-9885-46d8-afac-5f55efb3e447",
"UPN": "714d653b-c5c4-47e3-ad57-b48fe485b6fc",
"PostDate": "2026-04-15T14:28:28.8597032+00:00",
"Comment": "sample string 4",
"CC": [
"0064f3b5-b3c3-4f77-a7c9-2a8a26c75fca",
"7221e705-7bda-464f-9a67-1a8aca34294f"
],
"Users": [
"8e467be8-c938-442e-9b0d-794d569eba27",
"abe55c00-42da-42e5-836d-b3874bfea27c"
]
}
],
"StartDate": "2026-04-15T14:28:28.8597032+00:00",
"DueDate": "2026-04-15T14:28:28.8597032+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"81727045-13e9-4472-987a-266316d4d185": "3e8b1ea1-7a85-480a-912e-feca78352e08",
"7afcc1de-56f4-4d4d-98cc-2f07e96a2e53": "f01341ad-5f48-4863-b598-064aef1fe888"
},
"HasUpdates": true,
"Modified": "2026-04-15T14:28:28.8597032+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-04-15T14:28:28.8597032+00:00"
},
"LastComment": "2026-04-15T14:28:28.8597032+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "0399b7f0-f958-46bd-beb3-40335f43cc0f",
"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": "3e6e45de-82e6-4aa2-8a66-f54cff9c5673",
"id": "083ad76c-f5d2-4a51-8d47-87d6cd206c01",
"ConfigId": "85d9c533-01c2-4730-aef0-8d4fb85fa9c8"
}