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": "3bfff289-8199-4140-8bb6-f8a3870f6b65",
"Name": "sample string 1",
"Created": "2026-04-09T11:54:46.7581298+00:00",
"Modified": "2026-04-09T11:54:46.7581298+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"74adaa43-3390-4182-9809-3896b178364f",
"875bcceb-617d-489e-9699-d672f2e46963"
],
"NonLaborAssignments": [
{
"Id": "16174d58-3a96-4081-aa66-c9ced7dcf40e",
"ResourceId": "564efd3d-c885-4590-907f-24d0e254bfb4",
"Quantity": 3.0
},
{
"Id": "16174d58-3a96-4081-aa66-c9ced7dcf40e",
"ResourceId": "564efd3d-c885-4590-907f-24d0e254bfb4",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e32f284a-d11a-4592-9fbe-f3a89b1bae53",
"Type": 0,
"ResourceId": "3f25b994-bb43-41e3-9d66-942642d27326",
"Units": 3.0
},
{
"Id": "e32f284a-d11a-4592-9fbe-f3a89b1bae53",
"Type": 0,
"ResourceId": "3f25b994-bb43-41e3-9d66-942642d27326",
"Units": 3.0
}
],
"ParentId": "abaac5f9-58d7-4c4e-94ad-3c2c0d082b21",
"WorkTypeParentId": "4d1c841f-f7b4-458e-a7e6-ab92e5f75d3b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "b6da9815-4ee6-4647-a780-c9cf323e4512",
"UPN": "3c2d24ce-4cac-42f6-a1b6-bc3a20a23fa2",
"PostDate": "2026-04-09T11:54:46.7581298+00:00",
"Comment": "sample string 4",
"CC": [
"1b16ecf7-30a8-47e1-bad9-ffc4a0428cf2",
"1d54a05f-c490-4a57-b7df-72568831babe"
],
"Users": [
"80dc5ed5-c20f-41f1-bd41-71b3439c6966",
"d34861bb-ba73-415d-bdc9-3f511bed13b3"
]
},
{
"Id": "b6da9815-4ee6-4647-a780-c9cf323e4512",
"UPN": "3c2d24ce-4cac-42f6-a1b6-bc3a20a23fa2",
"PostDate": "2026-04-09T11:54:46.7581298+00:00",
"Comment": "sample string 4",
"CC": [
"1b16ecf7-30a8-47e1-bad9-ffc4a0428cf2",
"1d54a05f-c490-4a57-b7df-72568831babe"
],
"Users": [
"80dc5ed5-c20f-41f1-bd41-71b3439c6966",
"d34861bb-ba73-415d-bdc9-3f511bed13b3"
]
}
],
"StartDate": "2026-04-09T11:54:46.7581298+00:00",
"DueDate": "2026-04-09T11:54:46.7581298+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"37d30874-dfd2-4318-ae63-9168804db178": "97c78af8-919f-4fd9-8d3b-36c8e60a3e7e",
"e222e08d-002d-4f7a-b371-a65e3ef9ab92": "b90bf26c-def4-4571-9bc7-3725f2dbe599"
},
"HasUpdates": true,
"Modified": "2026-04-09T11:54:46.7581298+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-09T11:54:46.7581298+00:00"
},
"LastComment": "2026-04-09T11:54:46.7581298+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a15b2b6a-26c6-4cf9-ab86-6e9ecf7fd936",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "cd8d1149-7d5d-4e62-a179-5fd0c62f3bce",
"id": "4348c043-4119-418e-9362-9160898552aa",
"ConfigId": "387f6e58-cd24-4a58-8efc-fef2a1244db6"
}