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
WorkPlanTaskName | 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": "117105ac-47bc-4edf-8d14-e187daaea194", "Name": "sample string 1", "Created": "2025-07-16T12:07:00.7954647+00:00", "Modified": "2025-07-16T12:07:00.7954647+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "00eb8baf-8023-4542-be0b-9dfa665edc14", "4c76b6d4-889c-430d-8786-b7d041dd137c" ], "NonLaborAssignments": [ { "Id": "6da3d89d-f07d-4541-a538-8d3dc2ceba65", "ResourceId": "56b533a5-63d1-4ce3-a057-e14aa2e6cbff", "Quantity": 3.0 }, { "Id": "6da3d89d-f07d-4541-a538-8d3dc2ceba65", "ResourceId": "56b533a5-63d1-4ce3-a057-e14aa2e6cbff", "Quantity": 3.0 } ], "Assignments": [ { "Id": "af813126-86b2-45ce-a507-0fc7070e1682", "Type": 0, "ResourceId": "bb5eb734-de8d-4c74-94fa-82dffc60fb83", "Units": 3.0 }, { "Id": "af813126-86b2-45ce-a507-0fc7070e1682", "Type": 0, "ResourceId": "bb5eb734-de8d-4c74-94fa-82dffc60fb83", "Units": 3.0 } ], "ParentId": "883d89a1-c6fa-412a-b950-37ce805a4201", "WorkTypeParentId": "8c09a633-f0d5-4a02-9f01-5fa7600d210c", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "6a76261c-5c0b-4f09-9b28-af0dbce1d8c9", "UPN": "5887e9ce-65a8-472c-a3cd-c32aa7db3218", "PostDate": "2025-07-16T12:07:00.7954647+00:00", "Comment": "sample string 4", "CC": [ "a827e939-9df1-4ff8-9825-5df3003655d6", "06e7ac55-f7e3-48b3-bd9f-24a0192454e5" ], "Users": [ "501adc07-6dcb-4c79-92c5-fbc87c312886", "4d465fb5-d492-4f20-9e8c-24d7e0b9461c" ] }, { "Id": "6a76261c-5c0b-4f09-9b28-af0dbce1d8c9", "UPN": "5887e9ce-65a8-472c-a3cd-c32aa7db3218", "PostDate": "2025-07-16T12:07:00.7954647+00:00", "Comment": "sample string 4", "CC": [ "a827e939-9df1-4ff8-9825-5df3003655d6", "06e7ac55-f7e3-48b3-bd9f-24a0192454e5" ], "Users": [ "501adc07-6dcb-4c79-92c5-fbc87c312886", "4d465fb5-d492-4f20-9e8c-24d7e0b9461c" ] } ], "StartDate": "2025-07-16T12:07:00.7954647+00:00", "DueDate": "2025-07-16T12:07:00.7954647+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "86e4daef-1592-4221-8626-7a9e131e10b8": "44c7b7e5-3566-4ddb-8213-ec2f49c6cda0", "ae9ec6de-1bac-41ee-a061-6a8c516eb033": "6f2abe81-6e63-48e1-9fdb-cff5a8ccb654" }, "HasUpdates": true, "Modified": "2025-07-16T12:07:00.7954647+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-07-16T12:07:00.7954647+00:00" }, "LastComment": "2025-07-16T12:07:00.7954647+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "3213ae25-6331-4402-9361-99538fc2196e", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "9d5571ec-67cc-4f65-bb69-f2b9d081f62d", "id": "382668cc-aaf3-4853-8c5e-e37df61f0807", "ConfigId": "3df930af-578a-401f-be44-e1943d9146bc" }