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
RejectUpdateRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Comments | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Comments": "sample string 1"
}
Response Information
Resource Description
WorkPlanTask| Name | 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": "571a36d5-4005-4755-a9de-d18b7a9a4154",
"Name": "sample string 1",
"Created": "2026-01-18T17:36:49.8899299+00:00",
"Modified": "2026-01-18T17:36:49.8899299+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"3be61beb-07c9-48d6-beac-236f22cbc1b0",
"a9749458-152c-4a63-9cf6-0e79e1e3e515"
],
"NonLaborAssignments": [
{
"Id": "42830d97-1e97-41b2-99ac-3c0522208d31",
"ResourceId": "36877d1a-220d-49b6-90df-c60b02d8522f",
"Quantity": 3.0
},
{
"Id": "42830d97-1e97-41b2-99ac-3c0522208d31",
"ResourceId": "36877d1a-220d-49b6-90df-c60b02d8522f",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "de81d254-59a2-4b09-8792-2692781a32e9",
"Type": 0,
"ResourceId": "fa412057-b992-4347-9e4a-732e5207c337",
"Units": 3.0
},
{
"Id": "de81d254-59a2-4b09-8792-2692781a32e9",
"Type": 0,
"ResourceId": "fa412057-b992-4347-9e4a-732e5207c337",
"Units": 3.0
}
],
"ParentId": "81af8ab1-65bb-4a85-8eb9-513865bd34d7",
"WorkTypeParentId": "4b997886-0fae-4025-9d03-d7f109966d0c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "d0315d15-ed64-4eb7-9a9f-dce1ccfa6d7a",
"UPN": "d7adc05b-30a0-462f-b4e5-aa84996b80ff",
"PostDate": "2026-01-18T17:36:49.8899299+00:00",
"Comment": "sample string 4",
"CC": [
"ded417b7-a698-4dbf-807f-f1062cc95dba",
"65a0b628-4c4c-4fd7-aa98-159bea53fee6"
],
"Users": [
"6da8522d-3ddf-45dc-9653-9b07a12fcb79",
"71395e89-5f9b-4635-b923-47a70e913aaa"
]
},
{
"Id": "d0315d15-ed64-4eb7-9a9f-dce1ccfa6d7a",
"UPN": "d7adc05b-30a0-462f-b4e5-aa84996b80ff",
"PostDate": "2026-01-18T17:36:49.8899299+00:00",
"Comment": "sample string 4",
"CC": [
"ded417b7-a698-4dbf-807f-f1062cc95dba",
"65a0b628-4c4c-4fd7-aa98-159bea53fee6"
],
"Users": [
"6da8522d-3ddf-45dc-9653-9b07a12fcb79",
"71395e89-5f9b-4635-b923-47a70e913aaa"
]
}
],
"StartDate": "2026-01-18T17:36:49.8899299+00:00",
"DueDate": "2026-01-18T17:36:49.8899299+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"03d2cca7-e4c4-417f-94dd-f3f8c6cf89db": "0530b4df-69e9-4290-a330-bb5b5225ef63",
"07d5503b-c6d9-4676-8453-666f3b847178": "29f31a9f-5143-4fe5-80c7-a86d8524a455"
},
"HasUpdates": true,
"Modified": "2026-01-18T17:36:49.8899299+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": "2026-01-18T17:36:49.8899299+00:00"
},
"LastComment": "2026-01-18T17:36:49.8899299+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b2763db8-960c-484a-be4e-1c938d14b58e",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "27807742-af4e-4f10-9d59-9c40c7101c5b",
"id": "e714b86b-8a07-43d2-806c-53547c4e8f9c",
"ConfigId": "49a23d44-7014-4be8-a3a2-6557db5e1ed8"
}