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": "9cf2df20-4820-4c41-be27-a7c156d92c4a", "Name": "sample string 1", "Created": "2025-09-18T14:09:28.7113621+00:00", "Modified": "2025-09-18T14:09:28.7113621+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "9c371fd3-3a44-455e-876b-62be6325f837", "b8d49059-c445-4f79-b262-2caca96ddaf6" ], "NonLaborAssignments": [ { "Id": "9f5807f7-4c05-47d2-a2cf-3c153361a2f2", "ResourceId": "d7e4a167-2282-4b7a-92d2-eccd2590b8dd", "Quantity": 3.0 }, { "Id": "9f5807f7-4c05-47d2-a2cf-3c153361a2f2", "ResourceId": "d7e4a167-2282-4b7a-92d2-eccd2590b8dd", "Quantity": 3.0 } ], "Assignments": [ { "Id": "0ecc163c-5063-4c5e-9126-2472ac5a05ad", "Type": 0, "ResourceId": "26fa7ce8-007e-4a36-9069-152d6f026213", "Units": 3.0 }, { "Id": "0ecc163c-5063-4c5e-9126-2472ac5a05ad", "Type": 0, "ResourceId": "26fa7ce8-007e-4a36-9069-152d6f026213", "Units": 3.0 } ], "ParentId": "f24c35fa-e078-4c9b-b3f4-e496221013a1", "WorkTypeParentId": "1a4c877e-fb7a-4f1e-a4f7-18451deb680e", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "aedbd8ed-c34e-4d7e-9baa-498ce3be750c", "UPN": "558fa4b3-aae5-4c6d-8919-f3d1981b59da", "PostDate": "2025-09-18T14:09:28.7269878+00:00", "Comment": "sample string 4", "CC": [ "6c8c5bfb-3cdc-4683-ba0c-4bcdea0ba950", "389101ae-ba5e-4619-9a03-f3fa81923a7f" ], "Users": [ "eed5296a-ea7a-4ba3-83a7-c24946ed71de", "b778af5e-05d4-4d29-b7b7-781a97980697" ] }, { "Id": "aedbd8ed-c34e-4d7e-9baa-498ce3be750c", "UPN": "558fa4b3-aae5-4c6d-8919-f3d1981b59da", "PostDate": "2025-09-18T14:09:28.7269878+00:00", "Comment": "sample string 4", "CC": [ "6c8c5bfb-3cdc-4683-ba0c-4bcdea0ba950", "389101ae-ba5e-4619-9a03-f3fa81923a7f" ], "Users": [ "eed5296a-ea7a-4ba3-83a7-c24946ed71de", "b778af5e-05d4-4d29-b7b7-781a97980697" ] } ], "StartDate": "2025-09-18T14:09:28.7269878+00:00", "DueDate": "2025-09-18T14:09:28.7269878+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "b15417ed-0adc-4fed-87c1-013fa66f9ff5": "829f89a9-3d45-4567-9aae-2af186911545", "68aaabe9-30cf-47f0-bf15-88b7c62c243f": "15bb0658-7971-4dfb-9308-1dd2c0849e29" }, "HasUpdates": true, "Modified": "2025-09-18T14:09:28.7269878+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-09-18T14:09:28.7269878+00:00" }, "LastComment": "2025-09-18T14:09:28.7269878+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "0c421052-65e6-4c1c-a975-1e89db0666f5", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "5d748ff2-7d68-4b53-9f84-2b28ddca5ca9", "id": "fedb0786-522f-4a3e-a50f-b2b90a420c36", "ConfigId": "4ea99020-1927-4d39-aa05-ac58c2195828" }