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. |
|
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": "00f63f28-94f8-4b95-9dc1-e39f806612b0", "Name": "sample string 1", "Created": "2024-12-18T20:16:34.3422003+00:00", "Modified": "2024-12-18T20:16:34.3422003+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "f90f566b-8608-42cc-9a1d-0bbdc1f7cc2a", "275f8701-296b-4284-b03c-7dd2711b19bc" ], "Assignments": [ { "Id": "373b866d-3502-4a06-a443-0e82e81e0edf", "Type": 0, "ResourceId": "d3cb847b-482f-4aa3-bf07-c8e678b861c3", "Units": 3.0 }, { "Id": "373b866d-3502-4a06-a443-0e82e81e0edf", "Type": 0, "ResourceId": "d3cb847b-482f-4aa3-bf07-c8e678b861c3", "Units": 3.0 } ], "ParentId": "21c800d8-8375-4f1f-b758-378c7a4b2d0c", "WorkTypeParentId": "c786f0a9-8d17-41d7-9d73-5666f5176e87", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "508c445a-f86b-43ea-b866-cad72160fe97", "UPN": "679fd13b-e170-4bb9-95d1-6628a71364bb", "PostDate": "2024-12-18T20:16:34.3422003+00:00", "Comment": "sample string 4", "CC": [ "aa8523c8-f44d-4a62-9077-1bb1c4d92ab9", "2dfd5bb6-988a-4439-880c-52420ac7352a" ], "Users": [ "18c82abc-d25d-4ffe-9b0b-b71b1c022354", "f5802895-98cc-4be2-9089-ff0a2eb50ed8" ] }, { "Id": "508c445a-f86b-43ea-b866-cad72160fe97", "UPN": "679fd13b-e170-4bb9-95d1-6628a71364bb", "PostDate": "2024-12-18T20:16:34.3422003+00:00", "Comment": "sample string 4", "CC": [ "aa8523c8-f44d-4a62-9077-1bb1c4d92ab9", "2dfd5bb6-988a-4439-880c-52420ac7352a" ], "Users": [ "18c82abc-d25d-4ffe-9b0b-b71b1c022354", "f5802895-98cc-4be2-9089-ff0a2eb50ed8" ] } ], "StartDate": "2024-12-18T20:16:34.3422003+00:00", "DueDate": "2024-12-18T20:16:34.3422003+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "7f091f77-8a4e-42e5-84ac-1f945bcd3c9b": "92dc7b9b-b097-4b1f-ac02-0b58226df262", "53a5e0a3-07ba-444c-8d35-02433859ad2b": "e2d0310b-1bd6-41c4-96ac-577bb36409e1" }, "HasUpdates": true, "Modified": "2024-12-18T20:16:34.3422003+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": "2024-12-18T20:16:34.3422003+00:00" }, "LastComment": "2024-12-18T20:16:34.3422003+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "9a2d672f-2991-4e4e-accf-974e0793d606", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "4531555a-7fa6-495f-95a8-a74711414e68", "id": "34ce0999-27b0-49a1-878e-c13bade913da", "ConfigId": "817c47ae-9992-4bed-9cc3-efa85148f93b" }