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": "485482fc-7253-47ad-be61-d1c85aa3332d", "Name": "sample string 1", "Created": "2025-07-16T12:08:59.659032+00:00", "Modified": "2025-07-16T12:08:59.659032+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "78bda3ae-8aca-4194-901c-963d1fce47de", "3073998c-8507-465b-87c5-ec34e09793fa" ], "NonLaborAssignments": [ { "Id": "0cb9879d-4436-4e72-92b7-abadc3992903", "ResourceId": "52441ece-9e95-4966-8e7f-11cad13b5086", "Quantity": 3.0 }, { "Id": "0cb9879d-4436-4e72-92b7-abadc3992903", "ResourceId": "52441ece-9e95-4966-8e7f-11cad13b5086", "Quantity": 3.0 } ], "Assignments": [ { "Id": "9e819495-6662-4d25-9aac-d39aa38a38c7", "Type": 0, "ResourceId": "f8d540bf-8d42-430e-bbe4-e2fafad83f45", "Units": 3.0 }, { "Id": "9e819495-6662-4d25-9aac-d39aa38a38c7", "Type": 0, "ResourceId": "f8d540bf-8d42-430e-bbe4-e2fafad83f45", "Units": 3.0 } ], "ParentId": "7e683070-d4c2-44bf-9539-1f635ebf0e43", "WorkTypeParentId": "7df432e7-9f2c-4ea8-9b2f-023ecf0dd981", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "197550a1-3242-4506-bfaa-3fa44344974e", "UPN": "a9660880-f455-4456-94c5-a3e720e2a236", "PostDate": "2025-07-16T12:08:59.659032+00:00", "Comment": "sample string 4", "CC": [ "a619c0c1-3aa9-4a70-8f3f-4d465421e587", "479068b3-9eb1-4523-ac71-3fbf06582878" ], "Users": [ "9eadd1fb-6d03-4210-a5c0-8d625a0de958", "dc391dd4-cc13-4ebb-b1cc-f60bd1497d46" ] }, { "Id": "197550a1-3242-4506-bfaa-3fa44344974e", "UPN": "a9660880-f455-4456-94c5-a3e720e2a236", "PostDate": "2025-07-16T12:08:59.659032+00:00", "Comment": "sample string 4", "CC": [ "a619c0c1-3aa9-4a70-8f3f-4d465421e587", "479068b3-9eb1-4523-ac71-3fbf06582878" ], "Users": [ "9eadd1fb-6d03-4210-a5c0-8d625a0de958", "dc391dd4-cc13-4ebb-b1cc-f60bd1497d46" ] } ], "StartDate": "2025-07-16T12:08:59.659032+00:00", "DueDate": "2025-07-16T12:08:59.659032+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "4c235e19-8dae-490e-8ac7-1fbbbd7af018": "e6f2db4a-1f31-4899-b027-1f64aa67cd48", "4919ca5d-a5b8-4f65-886d-2300a077c3d8": "dc6713e1-7adb-42a3-8e7c-c5bd4e758759" }, "HasUpdates": true, "Modified": "2025-07-16T12:08:59.659032+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-16T12:08:59.659032+00:00" }, "LastComment": "2025-07-16T12:08:59.659032+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "7346e6cf-e0ed-49f8-92dc-e042911d8569", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "8dc4f0e9-ff46-4a1a-bbb0-1cc03ec8165c", "id": "6a7e5724-4925-4540-a02c-63204264ea5f", "ConfigId": "30632a09-fe8b-4c8e-9024-c56101058eeb" }