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
None.
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": "492740e0-42e2-463a-9538-b4bd71b5bf9b", "Name": "sample string 1", "Created": "2024-12-18T08:07:49.6783985+00:00", "Modified": "2024-12-18T08:07:49.6783985+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "c4d23d09-017a-4fa2-8b6c-d7e94157d189", "e1d10da9-3f19-4d37-938c-636c4bbb0669" ], "Assignments": [ { "Id": "639d146a-c66a-4c79-828a-d22df1b7c80e", "Type": 0, "ResourceId": "e34e9f61-c9ff-404e-8d0b-6b96e1f6d24d", "Units": 3.0 }, { "Id": "639d146a-c66a-4c79-828a-d22df1b7c80e", "Type": 0, "ResourceId": "e34e9f61-c9ff-404e-8d0b-6b96e1f6d24d", "Units": 3.0 } ], "ParentId": "161d7003-0fac-486b-8c35-94ace4177a70", "WorkTypeParentId": "1184f90b-58e9-4ba8-9e66-a19f97e6ca6c", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "13a883e2-effd-481a-b2b7-74209757e650", "UPN": "fa1e067d-872e-4472-8ea9-dc267be6fba9", "PostDate": "2024-12-18T08:07:49.6783985+00:00", "Comment": "sample string 4", "CC": [ "09993e25-958b-427d-bf89-4c11c38eca4b", "a1988d69-6feb-4fd2-bfe9-0bad556b6595" ], "Users": [ "a5c1d61b-9ba1-4b39-93e4-c8bc3b82ea8c", "c00d8c70-a1a3-40c0-a333-664584d7d79e" ] }, { "Id": "13a883e2-effd-481a-b2b7-74209757e650", "UPN": "fa1e067d-872e-4472-8ea9-dc267be6fba9", "PostDate": "2024-12-18T08:07:49.6783985+00:00", "Comment": "sample string 4", "CC": [ "09993e25-958b-427d-bf89-4c11c38eca4b", "a1988d69-6feb-4fd2-bfe9-0bad556b6595" ], "Users": [ "a5c1d61b-9ba1-4b39-93e4-c8bc3b82ea8c", "c00d8c70-a1a3-40c0-a333-664584d7d79e" ] } ], "StartDate": "2024-12-18T08:07:49.6783985+00:00", "DueDate": "2024-12-18T08:07:49.6783985+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "d871d1d5-e7cd-42e3-a94f-044d84053b72": "e20669c1-ac7c-4fce-98a1-514fc2214929", "702d7c26-f661-47cc-92df-d4317bc87ff9": "88f4ee67-0198-4d3f-a0c0-15d2bb96ba55" }, "HasUpdates": true, "Modified": "2024-12-18T08:07:49.6783985+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": "2024-12-18T08:07:49.6783985+00:00" }, "LastComment": "2024-12-18T08:07:49.6783985+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "e77d2a18-52b9-40fc-86e4-be9086db6fc8", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "af889886-110f-43c4-98e9-6f4fc38f1ac8", "id": "7ecf9e9e-fe2a-4cc7-8f0f-91006923a859", "ConfigId": "2ec42194-8556-4ba8-80e8-0626671b2980" }