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": "b3cf9718-e031-41b1-b449-6a3725053b8a",
"Name": "sample string 1",
"Created": "2026-03-14T06:47:00.6079083+00:00",
"Modified": "2026-03-14T06:47:00.6079083+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"4b308f88-1186-47b9-9005-a4ea506981d5",
"a7fb6b9a-06f9-400b-a21b-3af31093e699"
],
"NonLaborAssignments": [
{
"Id": "3a5ff12e-d3c0-418e-a5be-b5b4050e0ee8",
"ResourceId": "37d88e71-5e5a-450e-8fc8-9b7f18391d72",
"Quantity": 3.0
},
{
"Id": "3a5ff12e-d3c0-418e-a5be-b5b4050e0ee8",
"ResourceId": "37d88e71-5e5a-450e-8fc8-9b7f18391d72",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0cd22591-9945-4a88-8e4a-1c7b7686d68f",
"Type": 0,
"ResourceId": "87f9d8d9-a864-4d6c-8367-fce6e93ebfd5",
"Units": 3.0
},
{
"Id": "0cd22591-9945-4a88-8e4a-1c7b7686d68f",
"Type": 0,
"ResourceId": "87f9d8d9-a864-4d6c-8367-fce6e93ebfd5",
"Units": 3.0
}
],
"ParentId": "2b249a9c-ed41-4bc3-bf6c-e711df8864d3",
"WorkTypeParentId": "7e5b6899-32be-42a8-850f-3a1df62dcf0e",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "8360f482-b5d0-4a58-84ee-8b7383db4da5",
"UPN": "8b0b849d-1b5f-472c-a3fc-37ea316f00b1",
"PostDate": "2026-03-14T06:47:00.6079083+00:00",
"Comment": "sample string 4",
"CC": [
"44311059-fc3c-4cfd-803d-fec175d28362",
"824227c0-f117-4f5d-b75f-21057562905b"
],
"Users": [
"33f3d796-48a5-4e0e-a072-ff929634a31d",
"25ae453f-5f74-453b-9f8d-3c8b7866298e"
]
},
{
"Id": "8360f482-b5d0-4a58-84ee-8b7383db4da5",
"UPN": "8b0b849d-1b5f-472c-a3fc-37ea316f00b1",
"PostDate": "2026-03-14T06:47:00.6079083+00:00",
"Comment": "sample string 4",
"CC": [
"44311059-fc3c-4cfd-803d-fec175d28362",
"824227c0-f117-4f5d-b75f-21057562905b"
],
"Users": [
"33f3d796-48a5-4e0e-a072-ff929634a31d",
"25ae453f-5f74-453b-9f8d-3c8b7866298e"
]
}
],
"StartDate": "2026-03-14T06:47:00.6079083+00:00",
"DueDate": "2026-03-14T06:47:00.6079083+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8fcad391-f560-4e9f-aafe-b54e7f443a9b": "b7547bee-9e4b-41ac-98f9-35f664474df7",
"0990da5a-6528-4835-b6e0-41d9978adbbd": "4a68f092-e088-43f4-88d2-b878cebcbc36"
},
"HasUpdates": true,
"Modified": "2026-03-14T06:47:00.6079083+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-03-14T06:47:00.6079083+00:00"
},
"LastComment": "2026-03-14T06:47:00.6079083+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "0a4d72c2-6d11-4808-a036-c77ba9bda546",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "c6c483ad-8897-4737-8ad6-16039932342c",
"id": "b35176c4-d322-44cd-9ea5-a428744dd276",
"ConfigId": "512532fc-896f-49c3-8871-f45376008858"
}