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": "9ab09ad7-747d-41c2-8740-615cfa25ea16",
"Name": "sample string 1",
"Created": "2025-12-25T13:28:05.8870787+00:00",
"Modified": "2025-12-25T13:28:05.8870787+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"64c654e8-23f5-4331-ab2f-706be783f362",
"e9bf7428-0cf4-4ebf-b7b3-1f54e676cdf8"
],
"NonLaborAssignments": [
{
"Id": "ec16235a-1d6e-4fef-97a7-b4939f74f7ac",
"ResourceId": "93d8fa98-f6c0-44b8-9b92-5b6e1affac3b",
"Quantity": 3.0
},
{
"Id": "ec16235a-1d6e-4fef-97a7-b4939f74f7ac",
"ResourceId": "93d8fa98-f6c0-44b8-9b92-5b6e1affac3b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "f57006c7-90bf-42c3-ae92-3c395b13502f",
"Type": 0,
"ResourceId": "5187f388-3df9-4492-b851-3b5017db5bea",
"Units": 3.0
},
{
"Id": "f57006c7-90bf-42c3-ae92-3c395b13502f",
"Type": 0,
"ResourceId": "5187f388-3df9-4492-b851-3b5017db5bea",
"Units": 3.0
}
],
"ParentId": "c31085a8-7915-4af8-95d8-eb8e0b294fb3",
"WorkTypeParentId": "f05379fc-1ed3-471a-99d3-40a635727e40",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "8028427e-2693-4315-83aa-28e57db5652a",
"UPN": "ca7e9331-1836-456b-a00e-4bcd967e5f80",
"PostDate": "2025-12-25T13:28:05.8870787+00:00",
"Comment": "sample string 4",
"CC": [
"afd3c9b1-b747-4570-b605-9b3bebd7e095",
"ff263c61-a310-45ed-aacf-e5427390c696"
],
"Users": [
"661ce78e-4c5c-4737-8674-57cb6f73e25a",
"2466be47-4e9c-4997-bb4e-f16babf09cef"
]
},
{
"Id": "8028427e-2693-4315-83aa-28e57db5652a",
"UPN": "ca7e9331-1836-456b-a00e-4bcd967e5f80",
"PostDate": "2025-12-25T13:28:05.8870787+00:00",
"Comment": "sample string 4",
"CC": [
"afd3c9b1-b747-4570-b605-9b3bebd7e095",
"ff263c61-a310-45ed-aacf-e5427390c696"
],
"Users": [
"661ce78e-4c5c-4737-8674-57cb6f73e25a",
"2466be47-4e9c-4997-bb4e-f16babf09cef"
]
}
],
"StartDate": "2025-12-25T13:28:05.8870787+00:00",
"DueDate": "2025-12-25T13:28:05.8870787+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"88709cbd-334f-4fea-8e07-7fb235f9d3ad": "f25e3c73-475c-4f5f-9dda-b223b5a9acac",
"582b66a3-22d3-428f-99e2-5d579e92c85a": "b0b74d01-438f-41ca-bdc2-de46d5be6d81"
},
"HasUpdates": true,
"Modified": "2025-12-25T13:28:05.8870787+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-25T13:28:05.8870787+00:00"
},
"LastComment": "2025-12-25T13:28:05.8870787+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "32589d1a-59d9-442b-b89c-14ed7b8c4230",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "cabb4970-30bd-41aa-9808-4524f69bea35",
"id": "5af1c2cd-68e6-46da-9f0e-f7659874a8c5",
"ConfigId": "fcbd1a07-6cbe-48fe-899d-3f305af7fd80"
}