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": "b68fba6d-b55b-4737-a4b5-c14056f8b7d6", "Name": "sample string 1", "Created": "2025-07-08T18:08:25.4242619+00:00", "Modified": "2025-07-08T18:08:25.4242619+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "7e1bb466-f45c-4b70-99d5-232724347317", "a73c4711-7000-4526-9d9f-743a23e10d35" ], "NonLaborAssignments": [ { "Id": "2f3b7d50-4e9e-4317-b64d-1f0c0192932f", "ResourceId": "7c0b4d07-9186-4f9b-a2fe-af0ed99a6e2e", "Quantity": 3.0 }, { "Id": "2f3b7d50-4e9e-4317-b64d-1f0c0192932f", "ResourceId": "7c0b4d07-9186-4f9b-a2fe-af0ed99a6e2e", "Quantity": 3.0 } ], "Assignments": [ { "Id": "5c7b0959-934c-4a98-865b-f2fb9688ab60", "Type": 0, "ResourceId": "9f5303e3-0de2-4bf7-90bc-155f74e606b1", "Units": 3.0 }, { "Id": "5c7b0959-934c-4a98-865b-f2fb9688ab60", "Type": 0, "ResourceId": "9f5303e3-0de2-4bf7-90bc-155f74e606b1", "Units": 3.0 } ], "ParentId": "2980d7ac-447d-41e8-b8d1-1c27f182eedd", "WorkTypeParentId": "f4da3aef-369e-49bd-8dd4-ab1e9d3060a9", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "a6203303-df96-422b-9daf-dc2a21980292", "UPN": "c63638b4-358f-43f9-aee4-0ea3c4d289f4", "PostDate": "2025-07-08T18:08:25.4398869+00:00", "Comment": "sample string 4", "CC": [ "11c940a5-2309-4086-9ecb-874e43e1e29b", "8419e040-7438-4049-af7d-d98ffdf38801" ], "Users": [ "2cc26c3e-b277-469d-8b7a-1fd02dbb8ced", "bc80468c-aaf9-49e3-ae5c-6609e6003482" ] }, { "Id": "a6203303-df96-422b-9daf-dc2a21980292", "UPN": "c63638b4-358f-43f9-aee4-0ea3c4d289f4", "PostDate": "2025-07-08T18:08:25.4398869+00:00", "Comment": "sample string 4", "CC": [ "11c940a5-2309-4086-9ecb-874e43e1e29b", "8419e040-7438-4049-af7d-d98ffdf38801" ], "Users": [ "2cc26c3e-b277-469d-8b7a-1fd02dbb8ced", "bc80468c-aaf9-49e3-ae5c-6609e6003482" ] } ], "StartDate": "2025-07-08T18:08:25.4398869+00:00", "DueDate": "2025-07-08T18:08:25.4398869+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "cdd95ed8-3f7b-48d9-a1ff-d9539f6d47f1": "2d897976-4cf8-49d6-a641-74dd18232b7d", "29229a84-25f8-4b72-9792-61d4c90aee2a": "1cd8345b-78d8-41ee-b3d1-347e4053b553" }, "HasUpdates": true, "Modified": "2025-07-08T18:08:25.4398869+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-08T18:08:25.4398869+00:00" }, "LastComment": "2025-07-08T18:08:25.4398869+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "c176d1ab-8b4b-49ef-a4b5-28e05937337b", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "28729a58-83bc-4013-a89c-9786e4612008", "id": "22e81a2b-2be7-4e4f-ba98-a8daf33fcb2c", "ConfigId": "11d6c05c-329d-48e2-93e5-3bbcdf377dee" }