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": "dbc16d07-1cd6-4fde-be44-df5a543ac39f",
"Name": "sample string 1",
"Created": "2026-03-20T21:48:47.5834342+00:00",
"Modified": "2026-03-20T21:48:47.5834342+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"d9f2e83b-bab3-45dd-a7e4-cc940cb25e10",
"54c2ee72-0882-4345-bbe2-e3296e527424"
],
"NonLaborAssignments": [
{
"Id": "ac9e71ee-362d-42e6-af66-653b5f96e79e",
"ResourceId": "7db56c01-1a01-4a73-b89b-fc7d9675f3a7",
"Quantity": 3.0
},
{
"Id": "ac9e71ee-362d-42e6-af66-653b5f96e79e",
"ResourceId": "7db56c01-1a01-4a73-b89b-fc7d9675f3a7",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e914fe05-e21e-4f2a-8af6-e157299a2285",
"Type": 0,
"ResourceId": "cab00c3e-be0e-427f-8f81-e95ecd559187",
"Units": 3.0
},
{
"Id": "e914fe05-e21e-4f2a-8af6-e157299a2285",
"Type": 0,
"ResourceId": "cab00c3e-be0e-427f-8f81-e95ecd559187",
"Units": 3.0
}
],
"ParentId": "ed9e33ea-c645-49eb-a8e9-7248220e2706",
"WorkTypeParentId": "3a12c2ba-e358-4e5a-a71d-8fe6f6a0a339",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2ebde0a5-826a-45d4-b44e-3d866d55fbfa",
"UPN": "05c40cb7-f50e-41bf-9f34-335b8f2217dc",
"PostDate": "2026-03-20T21:48:47.5834342+00:00",
"Comment": "sample string 4",
"CC": [
"d45162bd-0f2b-44ad-a923-ad4b802cf1f7",
"2e609891-4a4b-45ca-b67b-0bc094017e7b"
],
"Users": [
"30bc3cbb-3214-4d31-ab52-ec7e6ee16c9d",
"1f128c53-e049-4efc-9992-5104d5584bfe"
]
},
{
"Id": "2ebde0a5-826a-45d4-b44e-3d866d55fbfa",
"UPN": "05c40cb7-f50e-41bf-9f34-335b8f2217dc",
"PostDate": "2026-03-20T21:48:47.5834342+00:00",
"Comment": "sample string 4",
"CC": [
"d45162bd-0f2b-44ad-a923-ad4b802cf1f7",
"2e609891-4a4b-45ca-b67b-0bc094017e7b"
],
"Users": [
"30bc3cbb-3214-4d31-ab52-ec7e6ee16c9d",
"1f128c53-e049-4efc-9992-5104d5584bfe"
]
}
],
"StartDate": "2026-03-20T21:48:47.5834342+00:00",
"DueDate": "2026-03-20T21:48:47.5834342+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"53607dab-93f1-4e6c-a418-c348110f702a": "14dd2fb6-7636-4e12-80cb-7c272e30c0b4",
"992a0be1-542c-4980-8416-1a4e1400fc38": "1cf3ddfa-b9ef-4c27-97df-4cf33bfe0231"
},
"HasUpdates": true,
"Modified": "2026-03-20T21:48:47.5834342+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-20T21:48:47.5834342+00:00"
},
"LastComment": "2026-03-20T21:48:47.5834342+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "8be89c74-2661-44a1-83d0-5c82af7604fb",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "139a7553-a2c1-4600-839c-46b20c9bcf81",
"id": "b70afb30-289e-4971-9c42-4fd3ca9fe8e5",
"ConfigId": "f72f0225-ca7f-4254-8cf4-9b60e023bcb5"
}