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. |
|
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": "e614250f-c501-4eb7-8f58-a9f7e8b93ed2", "Name": "sample string 1", "Created": "2025-05-23T20:04:14.6352096+00:00", "Modified": "2025-05-23T20:04:14.6352096+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "a0fa3f37-9aae-48cd-83c6-c835a653e663", "987c4b48-3521-4c50-a6e0-452f7837c0d5" ], "Assignments": [ { "Id": "919153d2-bcd6-4ec6-aaa8-acb188de4b10", "Type": 0, "ResourceId": "90940dbd-3173-447b-9301-b0e195ebc163", "Units": 3.0 }, { "Id": "919153d2-bcd6-4ec6-aaa8-acb188de4b10", "Type": 0, "ResourceId": "90940dbd-3173-447b-9301-b0e195ebc163", "Units": 3.0 } ], "ParentId": "50262054-3c9f-4b30-80e9-707df97da06d", "WorkTypeParentId": "359b71a9-b2ce-4339-ba6d-24faee38ccdf", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "0b1778d7-bdc3-409c-8358-7b5b203c2608", "UPN": "39497a57-186e-48c7-a228-389412ad8f23", "PostDate": "2025-05-23T20:04:14.6352096+00:00", "Comment": "sample string 4", "CC": [ "cd91ae69-cc77-4b32-9436-2e601f39eafb", "859976b2-7cd0-43a0-af4c-c5ad8e8052b1" ], "Users": [ "40195c60-313d-45bd-8b94-b7f926e6b2d6", "e4abe8ea-5bb6-48ae-a75e-64ef2f3383b1" ] }, { "Id": "0b1778d7-bdc3-409c-8358-7b5b203c2608", "UPN": "39497a57-186e-48c7-a228-389412ad8f23", "PostDate": "2025-05-23T20:04:14.6352096+00:00", "Comment": "sample string 4", "CC": [ "cd91ae69-cc77-4b32-9436-2e601f39eafb", "859976b2-7cd0-43a0-af4c-c5ad8e8052b1" ], "Users": [ "40195c60-313d-45bd-8b94-b7f926e6b2d6", "e4abe8ea-5bb6-48ae-a75e-64ef2f3383b1" ] } ], "StartDate": "2025-05-23T20:04:14.6352096+00:00", "DueDate": "2025-05-23T20:04:14.6352096+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "899ec412-10d7-41ca-b69b-d504f2ac8344": "e8f8b70b-3d1a-4d46-bbef-981375933c6f", "ec4e08e7-6caf-463d-a5c7-fd6a7065edf9": "fcc36e58-91d5-4c7e-81ac-0ccaaa8dfaf0" }, "HasUpdates": true, "Modified": "2025-05-23T20:04:14.6352096+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-05-23T20:04:14.6352096+00:00" }, "LastComment": "2025-05-23T20:04:14.6352096+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "76dcf472-3b1a-4c8c-b979-bccf3c4eff2a", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "9fac8d63-d3f4-45a5-a457-69793ae8c831", "id": "c9b1746e-c343-4192-a671-06cfc43d23c3", "ConfigId": "2399f528-311f-4c20-ae96-b868b27ee623" }