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": "69e9ac74-98a0-4a73-8f73-b63a6eaeb56a", "Name": "sample string 1", "Created": "2025-09-14T04:07:18.8158521+00:00", "Modified": "2025-09-14T04:07:18.8158521+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "c8443439-352a-4bf4-8eb9-39cc8344b2c6", "b259f156-d8f9-4285-a601-0c4397574e8f" ], "NonLaborAssignments": [ { "Id": "ae10f89b-dd81-404c-8df1-ac8793a9c452", "ResourceId": "35fc25c3-f361-4391-a0ee-97f95093264b", "Quantity": 3.0 }, { "Id": "ae10f89b-dd81-404c-8df1-ac8793a9c452", "ResourceId": "35fc25c3-f361-4391-a0ee-97f95093264b", "Quantity": 3.0 } ], "Assignments": [ { "Id": "0fe8a54a-7ac7-4479-8075-edb81d506a53", "Type": 0, "ResourceId": "1d1a35a7-6b09-4d8a-980f-b8aeb5401af7", "Units": 3.0 }, { "Id": "0fe8a54a-7ac7-4479-8075-edb81d506a53", "Type": 0, "ResourceId": "1d1a35a7-6b09-4d8a-980f-b8aeb5401af7", "Units": 3.0 } ], "ParentId": "d070c22a-7128-4f69-bbdb-db6881d735d0", "WorkTypeParentId": "9442cfa4-b0c8-44ad-a437-ef44e4add250", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "f6e5b612-9663-4d85-bb4e-6d498e9db96f", "UPN": "ca616eca-39c0-40e7-a518-af22cebd7a16", "PostDate": "2025-09-14T04:07:18.8158521+00:00", "Comment": "sample string 4", "CC": [ "ef5d459a-6a4a-44e8-9dd4-1a915f69cba9", "888af48a-abbb-42ab-90f1-d6ad77772c39" ], "Users": [ "b25298c5-090f-4940-af02-773bd373569f", "fcec7631-abf8-4400-ad27-8beb55948473" ] }, { "Id": "f6e5b612-9663-4d85-bb4e-6d498e9db96f", "UPN": "ca616eca-39c0-40e7-a518-af22cebd7a16", "PostDate": "2025-09-14T04:07:18.8158521+00:00", "Comment": "sample string 4", "CC": [ "ef5d459a-6a4a-44e8-9dd4-1a915f69cba9", "888af48a-abbb-42ab-90f1-d6ad77772c39" ], "Users": [ "b25298c5-090f-4940-af02-773bd373569f", "fcec7631-abf8-4400-ad27-8beb55948473" ] } ], "StartDate": "2025-09-14T04:07:18.8158521+00:00", "DueDate": "2025-09-14T04:07:18.8158521+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "8189c2ac-3939-4b80-9598-92ebe3f65f31": "5c68498e-0f9f-48ce-8abe-8da9befce7d6", "79f2c5ac-32b3-4ded-adaa-808508d43120": "cf32dd5d-5705-4255-aaf1-fb33142a6bba" }, "HasUpdates": true, "Modified": "2025-09-14T04:07:18.8158521+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-14T04:07:18.8158521+00:00" }, "LastComment": "2025-09-14T04:07:18.8158521+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "396c0e10-f7ca-44ca-8efa-f9bdee3559a1", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "93e640e9-11c7-459e-a650-5dafe3881445", "id": "8bf84fba-6d4d-4e86-9d16-8c04424d12f8", "ConfigId": "b4180d51-a452-4e46-b04a-a194ee529059" }