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": "4296ef09-74b3-4b96-b46c-35523bba4aad",
"Name": "sample string 1",
"Created": "2026-04-26T11:14:18.011772+00:00",
"Modified": "2026-04-26T11:14:18.011772+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"5e8a61fb-4b11-48ec-b4aa-2aac1f3765c8",
"f11be96e-bcc4-4813-9017-b8a26b283687"
],
"NonLaborAssignments": [
{
"Id": "89e47774-bd58-4a04-b63d-c7c01fa14fb0",
"ResourceId": "72bdb81b-a564-4924-bc53-a53062cb6bf9",
"Quantity": 3.0
},
{
"Id": "89e47774-bd58-4a04-b63d-c7c01fa14fb0",
"ResourceId": "72bdb81b-a564-4924-bc53-a53062cb6bf9",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "d2577658-c8b1-465b-b8e5-2a3598681c12",
"Type": 0,
"ResourceId": "ce198038-0f9d-4157-984b-db779be6c20c",
"Units": 3.0
},
{
"Id": "d2577658-c8b1-465b-b8e5-2a3598681c12",
"Type": 0,
"ResourceId": "ce198038-0f9d-4157-984b-db779be6c20c",
"Units": 3.0
}
],
"ParentId": "0be99b50-9d7b-475e-a17a-223b57445143",
"WorkTypeParentId": "43dad3a0-4bce-4289-8018-a5c49fa533ae",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "659f183c-a97e-481b-8690-5422b0feb3a5",
"UPN": "3f575aea-ce85-4daa-8430-7a4ca687626e",
"PostDate": "2026-04-26T11:14:18.011772+00:00",
"Comment": "sample string 4",
"CC": [
"57f81964-dd0a-410b-a72a-c5d07185fd66",
"e193334f-63dd-448d-9057-65be2a7b6d58"
],
"Users": [
"4e078da9-d535-4ed2-af9c-b2f6ec7eb136",
"df423410-6a42-4a0d-85a9-7d17fb4dd3f5"
]
},
{
"Id": "659f183c-a97e-481b-8690-5422b0feb3a5",
"UPN": "3f575aea-ce85-4daa-8430-7a4ca687626e",
"PostDate": "2026-04-26T11:14:18.011772+00:00",
"Comment": "sample string 4",
"CC": [
"57f81964-dd0a-410b-a72a-c5d07185fd66",
"e193334f-63dd-448d-9057-65be2a7b6d58"
],
"Users": [
"4e078da9-d535-4ed2-af9c-b2f6ec7eb136",
"df423410-6a42-4a0d-85a9-7d17fb4dd3f5"
]
}
],
"StartDate": "2026-04-26T11:14:18.011772+00:00",
"DueDate": "2026-04-26T11:14:18.011772+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"80449dbd-8058-4c83-976d-aa63c08b61b7": "e580084b-acb8-4744-b062-472cb4156b75",
"c831ab5c-c5bb-4bc7-9fb9-f327f65ce527": "0b3df0c3-3a69-4278-91c6-b4345f1a5c88"
},
"HasUpdates": true,
"Modified": "2026-04-26T11:14:18.011772+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-26T11:14:18.011772+00:00"
},
"LastComment": "2026-04-26T11:14:18.011772+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b1009c5a-03c4-4423-8d00-9e768d14edd1",
"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": "22033f5f-5a97-4f34-85f9-3de55ffb71a6",
"id": "71b13043-1d4c-4247-bd6b-586b3010c02c",
"ConfigId": "2e5f4b1e-ce32-4cfd-962d-0eeb730345dd"
}