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": "79f9b0ba-7644-4946-acbb-350c1a59ba48",
"Name": "sample string 1",
"Created": "2026-04-03T01:51:51.9167957+00:00",
"Modified": "2026-04-03T01:51:51.9167957+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"89fc53e4-d1d9-4c5f-8374-77962f6803f2",
"985d758d-4010-4632-a483-3c4ac8d0567d"
],
"NonLaborAssignments": [
{
"Id": "80e078d5-c87e-4fc3-b153-6297824baae5",
"ResourceId": "e9b160b1-885f-4f89-b159-5c372e0a1e06",
"Quantity": 3.0
},
{
"Id": "80e078d5-c87e-4fc3-b153-6297824baae5",
"ResourceId": "e9b160b1-885f-4f89-b159-5c372e0a1e06",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "65812f41-43ac-4498-9ceb-f86356923c23",
"Type": 0,
"ResourceId": "a7c75d18-23dd-4f34-95ae-6635d860127b",
"Units": 3.0
},
{
"Id": "65812f41-43ac-4498-9ceb-f86356923c23",
"Type": 0,
"ResourceId": "a7c75d18-23dd-4f34-95ae-6635d860127b",
"Units": 3.0
}
],
"ParentId": "7318469d-3bc8-4995-a474-2f5d0c824b57",
"WorkTypeParentId": "3774b039-ad4c-4358-949b-63bef02e7384",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "ee4a1189-c6a8-4a4b-9fad-d8f1f2c5d126",
"UPN": "6273b3fe-a8f6-42ae-82e5-1021e27641e2",
"PostDate": "2026-04-03T01:51:51.9167957+00:00",
"Comment": "sample string 4",
"CC": [
"23566469-03d2-44fe-bc59-b54033b51632",
"db479d22-6b1e-4c5a-869c-3bbdae55fe40"
],
"Users": [
"cd16eb4e-75c7-4cfd-8e63-f27e2530c045",
"24d58d80-895b-4c0a-af93-1b22b3575a5a"
]
},
{
"Id": "ee4a1189-c6a8-4a4b-9fad-d8f1f2c5d126",
"UPN": "6273b3fe-a8f6-42ae-82e5-1021e27641e2",
"PostDate": "2026-04-03T01:51:51.9167957+00:00",
"Comment": "sample string 4",
"CC": [
"23566469-03d2-44fe-bc59-b54033b51632",
"db479d22-6b1e-4c5a-869c-3bbdae55fe40"
],
"Users": [
"cd16eb4e-75c7-4cfd-8e63-f27e2530c045",
"24d58d80-895b-4c0a-af93-1b22b3575a5a"
]
}
],
"StartDate": "2026-04-03T01:51:51.9167957+00:00",
"DueDate": "2026-04-03T01:51:51.9167957+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"ee35059f-1f87-406b-b5d6-dfef4ba44d39": "771aea01-e3ea-4815-bdc7-6b1df9af6636",
"60fe28bd-3043-4e14-9ddc-f1a8f3378ae1": "82dc3bc0-9b86-4687-84d0-d070d04a006f"
},
"HasUpdates": true,
"Modified": "2026-04-03T01:51:51.9167957+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-04-03T01:51:51.9167957+00:00"
},
"LastComment": "2026-04-03T01:51:51.9167957+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "0b10c696-24be-4e53-ba83-1665e21a3d9f",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "ec5af3be-8e3f-4f21-ad9f-2bf17a386124",
"id": "cf7f1e27-0ad0-441a-8cf9-07ab1b59d360",
"ConfigId": "f9d5fbc1-b28a-4f2d-a308-d806e5f4742b"
}