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": "e4f803ef-2f76-4743-88fb-9839fc931909",
"Name": "sample string 1",
"Created": "2026-01-04T17:21:14.1350933+00:00",
"Modified": "2026-01-04T17:21:14.1350933+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"7419a404-cc73-45c4-aaec-7adbd46725df",
"609fd9a6-441b-4859-8adc-d06552993def"
],
"NonLaborAssignments": [
{
"Id": "aecc8570-2a47-4808-b614-225bf7629e65",
"ResourceId": "03d56b63-ecd8-4d2f-83d0-9c5de1ed40f0",
"Quantity": 3.0
},
{
"Id": "aecc8570-2a47-4808-b614-225bf7629e65",
"ResourceId": "03d56b63-ecd8-4d2f-83d0-9c5de1ed40f0",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "b73dae31-4e86-4e98-a36a-9d0c7cf5e159",
"Type": 0,
"ResourceId": "9cb48b81-9854-4f19-a810-b91b5145e488",
"Units": 3.0
},
{
"Id": "b73dae31-4e86-4e98-a36a-9d0c7cf5e159",
"Type": 0,
"ResourceId": "9cb48b81-9854-4f19-a810-b91b5145e488",
"Units": 3.0
}
],
"ParentId": "cc027503-609a-4553-8099-ae4e9aed81bd",
"WorkTypeParentId": "2cb9fcc3-ecfb-4dc6-b118-067b182eeb2a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "aeef22d7-7379-4511-b9b3-162c0ec1fcc1",
"UPN": "f36912a8-e043-42d6-88fd-a48f61957077",
"PostDate": "2026-01-04T17:21:14.1350933+00:00",
"Comment": "sample string 4",
"CC": [
"2f7cb38b-f2da-4c23-aa68-6d1bca8b4751",
"9e9ab370-3a93-4dd7-b253-5d1617a52246"
],
"Users": [
"800820e7-b751-4187-9575-5be43a5292c2",
"c3bf6c47-5342-4907-a679-881556081afc"
]
},
{
"Id": "aeef22d7-7379-4511-b9b3-162c0ec1fcc1",
"UPN": "f36912a8-e043-42d6-88fd-a48f61957077",
"PostDate": "2026-01-04T17:21:14.1350933+00:00",
"Comment": "sample string 4",
"CC": [
"2f7cb38b-f2da-4c23-aa68-6d1bca8b4751",
"9e9ab370-3a93-4dd7-b253-5d1617a52246"
],
"Users": [
"800820e7-b751-4187-9575-5be43a5292c2",
"c3bf6c47-5342-4907-a679-881556081afc"
]
}
],
"StartDate": "2026-01-04T17:21:14.1350933+00:00",
"DueDate": "2026-01-04T17:21:14.1350933+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"1983bd9e-4bd4-4012-990e-0b4979fc060f": "ba28fc1c-a066-4346-9e62-664db1e5d1fe",
"6a293c9f-b3b3-4960-a9f3-ce9654ae6d3b": "c3fe9397-430d-4e38-bdc6-1a87160a492b"
},
"HasUpdates": true,
"Modified": "2026-01-04T17:21:14.1350933+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-04T17:21:14.1350933+00:00"
},
"LastComment": "2026-01-04T17:21:14.1350933+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "d0a3bece-37e9-4cbe-9ab0-145944795158",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "83f65aab-c7a8-43dc-a5dd-e3bf9a79f6ee",
"id": "44da0a07-2032-40a3-acee-04384baeef9b",
"ConfigId": "e03663f8-ac9c-44c4-a6f5-0e4767b6ab59"
}