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": "171de5d9-9ffa-41f5-b096-d84ae619f56b", "Name": "sample string 1", "Created": "2025-07-02T05:07:58.332836+00:00", "Modified": "2025-07-02T05:07:58.332836+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "b25dfcda-de41-4357-b2eb-65275b061829", "ca7bfb39-42c1-4fb4-bc4c-fa571e85d381" ], "NonLaborAssignments": [ { "Id": "ee0ce49e-083e-4c9a-b6b3-39c8830fc09a", "ResourceId": "bd2bb7fb-524e-414f-aa5d-ce83da45e1c7", "Quantity": 3.0 }, { "Id": "ee0ce49e-083e-4c9a-b6b3-39c8830fc09a", "ResourceId": "bd2bb7fb-524e-414f-aa5d-ce83da45e1c7", "Quantity": 3.0 } ], "Assignments": [ { "Id": "17c4f83f-843e-4d4e-bb1c-6ab602858e0a", "Type": 0, "ResourceId": "8bde407e-c26a-4dd0-b2cc-54d0b5e51133", "Units": 3.0 }, { "Id": "17c4f83f-843e-4d4e-bb1c-6ab602858e0a", "Type": 0, "ResourceId": "8bde407e-c26a-4dd0-b2cc-54d0b5e51133", "Units": 3.0 } ], "ParentId": "d06c1a99-be7d-4194-885b-fdf1a1df3013", "WorkTypeParentId": "87a24780-a765-4d9b-96a7-a098a9de6d74", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "3792ebeb-4f75-4e88-91a1-6ae80a175682", "UPN": "136bd9de-d7fa-450c-aed2-e5f47a4b35d8", "PostDate": "2025-07-02T05:07:58.332836+00:00", "Comment": "sample string 4", "CC": [ "46be2cc8-8728-4112-8e45-110466e76318", "26985a67-343d-4bdd-ae02-00dd2de2bc42" ], "Users": [ "080345d9-1b6c-4d12-beba-c44b5d58f5e8", "3f505e95-39f7-4806-987c-b3fcad801164" ] }, { "Id": "3792ebeb-4f75-4e88-91a1-6ae80a175682", "UPN": "136bd9de-d7fa-450c-aed2-e5f47a4b35d8", "PostDate": "2025-07-02T05:07:58.332836+00:00", "Comment": "sample string 4", "CC": [ "46be2cc8-8728-4112-8e45-110466e76318", "26985a67-343d-4bdd-ae02-00dd2de2bc42" ], "Users": [ "080345d9-1b6c-4d12-beba-c44b5d58f5e8", "3f505e95-39f7-4806-987c-b3fcad801164" ] } ], "StartDate": "2025-07-02T05:07:58.332836+00:00", "DueDate": "2025-07-02T05:07:58.332836+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "8233172e-6e31-4e9f-9344-4176b18a101b": "0f7c10b6-88de-4cbb-a268-99c82becb5a0", "51ce23ac-b585-46b4-9dd1-ffb68ddc36dd": "2c6be067-8155-4333-b513-6e4add92d8eb" }, "HasUpdates": true, "Modified": "2025-07-02T05:07:58.332836+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-02T05:07:58.332836+00:00" }, "LastComment": "2025-07-02T05:07:58.332836+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "8e113d77-dff2-449a-84e7-65a1fbd26df5", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "2d83c84d-f079-4717-8e02-9f8889afa5e6", "id": "aaeae062-ec4d-4bd2-8f5e-8d0ecf808995", "ConfigId": "5b7e19b7-1cc9-42cb-8633-90a61cc4bf67" }