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": "441532cf-f2cd-4cb5-a70f-285ec33a37e9",
"Name": "sample string 1",
"Created": "2025-12-14T04:02:29.0580169+00:00",
"Modified": "2025-12-14T04:02:29.0580169+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"df960435-22c2-4a03-aa53-78150519871a",
"4db0c6b4-412b-4bbb-a6d7-50ce2bef464e"
],
"NonLaborAssignments": [
{
"Id": "138a7b87-ddaa-4562-ab98-faa7863be7c3",
"ResourceId": "9dade578-1579-401b-90ba-2618c108e38a",
"Quantity": 3.0
},
{
"Id": "138a7b87-ddaa-4562-ab98-faa7863be7c3",
"ResourceId": "9dade578-1579-401b-90ba-2618c108e38a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "68b0cd97-ff0a-4e7e-8b51-d451bf8bc18b",
"Type": 0,
"ResourceId": "fdbbf846-78a2-4f26-bb35-077b4bd2b72c",
"Units": 3.0
},
{
"Id": "68b0cd97-ff0a-4e7e-8b51-d451bf8bc18b",
"Type": 0,
"ResourceId": "fdbbf846-78a2-4f26-bb35-077b4bd2b72c",
"Units": 3.0
}
],
"ParentId": "57243c44-b620-4745-b245-690078c27274",
"WorkTypeParentId": "0069a28c-b881-4563-b185-0cf8061e3975",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "0542e681-23f1-4405-bd57-eefd99ff351d",
"UPN": "b07122f6-7abc-4a17-b5d6-42dd2c4948a8",
"PostDate": "2025-12-14T04:02:29.0580169+00:00",
"Comment": "sample string 4",
"CC": [
"40d7f876-4852-4741-9b2a-425c9ed2afe3",
"955c0c32-c436-43f9-9d32-d0d8d39d9bb6"
],
"Users": [
"4d4bf768-43c5-4bff-9b5a-ea7ef4ae37be",
"b59bf65a-8072-4dc2-911b-90989b5536b8"
]
},
{
"Id": "0542e681-23f1-4405-bd57-eefd99ff351d",
"UPN": "b07122f6-7abc-4a17-b5d6-42dd2c4948a8",
"PostDate": "2025-12-14T04:02:29.0580169+00:00",
"Comment": "sample string 4",
"CC": [
"40d7f876-4852-4741-9b2a-425c9ed2afe3",
"955c0c32-c436-43f9-9d32-d0d8d39d9bb6"
],
"Users": [
"4d4bf768-43c5-4bff-9b5a-ea7ef4ae37be",
"b59bf65a-8072-4dc2-911b-90989b5536b8"
]
}
],
"StartDate": "2025-12-14T04:02:29.0580169+00:00",
"DueDate": "2025-12-14T04:02:29.0580169+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"c4db4742-9827-4d21-9708-ef6fb568ee6f": "8c978015-3fdd-424c-907b-eea07b36105d",
"c8aeb15c-e636-4649-bea6-704b3ce878f2": "0d710645-5a33-4529-a059-01a6b4c8c1c1"
},
"HasUpdates": true,
"Modified": "2025-12-14T04:02:29.0580169+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-14T04:02:29.0580169+00:00"
},
"LastComment": "2025-12-14T04:02:29.0580169+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "5b6e8507-8c03-4468-ade3-129803d675ca",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "de7f5e68-7e96-43a8-9875-0c432dc1ff81",
"id": "49553fd4-cee6-4671-afb5-6029ab6d35d6",
"ConfigId": "aea323dd-9e61-41c9-84cb-df416f4a0529"
}