POST api/mywork/RejectUpdate?TaskId={TaskId}
Reject a task update
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
TaskId | globally unique identifier |
Required |
Body Parameters
RejectUpdateRequestName | Description | Type | Additional information |
---|---|---|---|
Comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Comments": "sample string 1" }
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": "6b742e7e-6e9f-4b0f-9435-a5f9965b9c74", "Name": "sample string 1", "Created": "2025-07-12T02:14:32.4455375+00:00", "Modified": "2025-07-12T02:14:32.4455375+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "c2de9bd0-f0cd-459f-a115-e3f666c8cb08", "4a2e7730-0f6d-43cc-a9ef-183bf6a4b587" ], "NonLaborAssignments": [ { "Id": "92a6c7e0-172c-4d36-9e96-14b56c94b5c9", "ResourceId": "f62f5fbb-b36b-44c6-a3a8-14008be9e51c", "Quantity": 3.0 }, { "Id": "92a6c7e0-172c-4d36-9e96-14b56c94b5c9", "ResourceId": "f62f5fbb-b36b-44c6-a3a8-14008be9e51c", "Quantity": 3.0 } ], "Assignments": [ { "Id": "3ef00e9f-c4a8-457f-9341-0f10da3aabc5", "Type": 0, "ResourceId": "6c324c0d-cb5c-4c51-b940-5b9ef9fde2b8", "Units": 3.0 }, { "Id": "3ef00e9f-c4a8-457f-9341-0f10da3aabc5", "Type": 0, "ResourceId": "6c324c0d-cb5c-4c51-b940-5b9ef9fde2b8", "Units": 3.0 } ], "ParentId": "caa71d52-e899-48c8-a276-4fa5522ed32e", "WorkTypeParentId": "8f9f5407-23ac-42d0-a450-06b27f1f836d", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "016c2b7a-bf82-4315-8462-15f74c5bd9aa", "UPN": "fb09c73b-be11-4d71-a7d8-2f120413650c", "PostDate": "2025-07-12T02:14:32.4455375+00:00", "Comment": "sample string 4", "CC": [ "a7741fed-98ce-4da4-8461-24e176e60844", "ecdc933a-76e2-4906-9832-d790eaf11a7d" ], "Users": [ "d052e7a2-ede9-4c4c-9242-d221c4bcefc8", "94d3e56c-046a-4e99-90a0-ff2ff0ed29ee" ] }, { "Id": "016c2b7a-bf82-4315-8462-15f74c5bd9aa", "UPN": "fb09c73b-be11-4d71-a7d8-2f120413650c", "PostDate": "2025-07-12T02:14:32.4455375+00:00", "Comment": "sample string 4", "CC": [ "a7741fed-98ce-4da4-8461-24e176e60844", "ecdc933a-76e2-4906-9832-d790eaf11a7d" ], "Users": [ "d052e7a2-ede9-4c4c-9242-d221c4bcefc8", "94d3e56c-046a-4e99-90a0-ff2ff0ed29ee" ] } ], "StartDate": "2025-07-12T02:14:32.4455375+00:00", "DueDate": "2025-07-12T02:14:32.4455375+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "6cedb4a0-9c18-42ee-b1c0-0f77fcc798f5": "0557f12e-b8ba-4116-b44a-5ee8108d2087", "93e209d8-72c2-4049-8fa2-5164be0fad35": "d2ab235b-d867-4e4e-ac77-20c1b88dddfb" }, "HasUpdates": true, "Modified": "2025-07-12T02:14:32.4455375+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-12T02:14:32.4455375+00:00" }, "LastComment": "2025-07-12T02:14:32.4455375+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "ef7d301c-39bf-464b-a8ae-491c963ef68e", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "9a8f69e5-d026-4274-9893-b183e6f5f51d", "id": "266849b9-d897-4f16-b87c-1cb03cbd09cb", "ConfigId": "666af4ba-d225-4270-9999-b810b560e0e7" }