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": "41fea235-82a3-4482-827d-ccdf798dfde0", "Name": "sample string 1", "Created": "2025-10-14T10:02:06.8177273+00:00", "Modified": "2025-10-14T10:02:06.8177273+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "4df1eadb-46ed-45e5-922f-75201742c622", "b032e202-872d-4aca-92f5-152c5cab53b2" ], "NonLaborAssignments": [ { "Id": "949dc423-6917-451a-ae36-5a16d328b346", "ResourceId": "399a237a-22ec-4220-998f-8b0c34fa4c88", "Quantity": 3.0 }, { "Id": "949dc423-6917-451a-ae36-5a16d328b346", "ResourceId": "399a237a-22ec-4220-998f-8b0c34fa4c88", "Quantity": 3.0 } ], "Assignments": [ { "Id": "b8825892-52f1-4575-9064-57ca51261908", "Type": 0, "ResourceId": "fcfb86e9-5d0f-4340-bfc0-710fec46ca71", "Units": 3.0 }, { "Id": "b8825892-52f1-4575-9064-57ca51261908", "Type": 0, "ResourceId": "fcfb86e9-5d0f-4340-bfc0-710fec46ca71", "Units": 3.0 } ], "ParentId": "d09fb814-5b65-48d6-8fee-396d206894d9", "WorkTypeParentId": "4c12e2ec-7ddf-4f15-acc5-070ee39ef2fe", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "90932648-ec67-41ca-9587-3f069eb7e006", "UPN": "99eaa04a-7ff8-49c9-a7e8-03193bd4d3ba", "PostDate": "2025-10-14T10:02:06.8177273+00:00", "Comment": "sample string 4", "CC": [ "7fb6b805-3a7f-4004-bf18-2658a4567f0e", "a28ff3e4-78e3-4912-a073-378491f5d80b" ], "Users": [ "ebb2f71f-8442-429d-b86c-35704d455a2a", "803827ba-5fcd-488a-9970-ccd7af51cea7" ] }, { "Id": "90932648-ec67-41ca-9587-3f069eb7e006", "UPN": "99eaa04a-7ff8-49c9-a7e8-03193bd4d3ba", "PostDate": "2025-10-14T10:02:06.8177273+00:00", "Comment": "sample string 4", "CC": [ "7fb6b805-3a7f-4004-bf18-2658a4567f0e", "a28ff3e4-78e3-4912-a073-378491f5d80b" ], "Users": [ "ebb2f71f-8442-429d-b86c-35704d455a2a", "803827ba-5fcd-488a-9970-ccd7af51cea7" ] } ], "StartDate": "2025-10-14T10:02:06.8177273+00:00", "DueDate": "2025-10-14T10:02:06.8177273+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "3568b020-a61b-4d65-9195-84adae3b1aae": "72f5b991-7e98-4a35-aaaf-e473150164ce", "58100e1c-450e-4a51-953e-da39c1ec13d0": "0c042f44-27e8-4d42-ac36-186c95dac63f" }, "HasUpdates": true, "Modified": "2025-10-14T10:02:06.8177273+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-10-14T10:02:06.8177273+00:00" }, "LastComment": "2025-10-14T10:02:06.8177273+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "b1be2c16-8212-48ad-875c-7d4be13a214f", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "925dfd15-60a0-4527-8112-e73be7096a4b", "id": "14158227-40b0-43bc-bb35-01a2c662f69a", "ConfigId": "7bbaf80c-ae6b-4e11-b1cc-ceef05c8ad35" }