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": "c547a721-ad04-4411-b821-5f389bc4707e", "Name": "sample string 1", "Created": "2025-09-03T17:58:36.9509082+00:00", "Modified": "2025-09-03T17:58:36.9509082+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "0b810429-7b00-44d8-acdb-c4c32ca27c82", "a5e8d95b-7e7f-4b6c-ba7c-eb0b64362fcf" ], "NonLaborAssignments": [ { "Id": "5efa1267-cc54-4c84-9378-308f1edfe95e", "ResourceId": "401643a5-9519-47fe-a7c0-21a0e70bc9e2", "Quantity": 3.0 }, { "Id": "5efa1267-cc54-4c84-9378-308f1edfe95e", "ResourceId": "401643a5-9519-47fe-a7c0-21a0e70bc9e2", "Quantity": 3.0 } ], "Assignments": [ { "Id": "cdb17a0f-ae00-4f5d-af2e-7bb945ae8ae8", "Type": 0, "ResourceId": "1d014af6-8bca-4e34-b504-4ecbf7958e72", "Units": 3.0 }, { "Id": "cdb17a0f-ae00-4f5d-af2e-7bb945ae8ae8", "Type": 0, "ResourceId": "1d014af6-8bca-4e34-b504-4ecbf7958e72", "Units": 3.0 } ], "ParentId": "50e86989-3845-4c0d-bd87-58b6bfe7112a", "WorkTypeParentId": "fd904fe0-4b90-4143-b41f-b7d23ce36d1f", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "34771054-49f7-4a88-8f6c-53dff57467b7", "UPN": "06add199-1743-4249-84b2-03663ecfd5c7", "PostDate": "2025-09-03T17:58:36.9509082+00:00", "Comment": "sample string 4", "CC": [ "eafe5a57-6af8-49fc-afa6-657f8e24c6e5", "f3afd9f3-94de-4556-9e09-4f373f00dc56" ], "Users": [ "d47b03bb-2e72-4978-a8f4-bcfb49f99ace", "65e1bab5-3410-4e78-aa83-f30b2b2634b4" ] }, { "Id": "34771054-49f7-4a88-8f6c-53dff57467b7", "UPN": "06add199-1743-4249-84b2-03663ecfd5c7", "PostDate": "2025-09-03T17:58:36.9509082+00:00", "Comment": "sample string 4", "CC": [ "eafe5a57-6af8-49fc-afa6-657f8e24c6e5", "f3afd9f3-94de-4556-9e09-4f373f00dc56" ], "Users": [ "d47b03bb-2e72-4978-a8f4-bcfb49f99ace", "65e1bab5-3410-4e78-aa83-f30b2b2634b4" ] } ], "StartDate": "2025-09-03T17:58:36.9509082+00:00", "DueDate": "2025-09-03T17:58:36.9509082+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "b4f77bc8-d6c4-4b2e-997e-832c193c4105": "18da738d-069d-483d-9c3f-7fa9bec52664", "bf8df594-44cc-4fee-8b78-6ecc3f7c4e14": "48cc7423-7f3e-40db-b8a4-e118dc153cd3" }, "HasUpdates": true, "Modified": "2025-09-03T17:58:36.9509082+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-03T17:58:36.9509082+00:00" }, "LastComment": "2025-09-03T17:58:36.9509082+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "47b8b6d9-abe9-4ce9-8576-3d6452bf4bc3", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "74be8d1b-c3da-4111-a1f5-5337ade0011c", "id": "35ddcf0b-e5cc-438c-b04b-7312acd9e3b5", "ConfigId": "dbcb3c0a-d0f8-4705-bfbe-b2cfb8901808" }