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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "71f16bcb-50c4-4e5b-b691-9231c9d966d8",
"Name": "sample string 1",
"Created": "2026-07-07T07:11:33.4986327+00:00",
"Modified": "2026-07-07T07:11:33.4986327+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1ea9ccf9-7b16-4b0e-90c3-56e8d65f6f2e",
"ea5f1d58-ef5c-45f3-bbe3-0dd6b6ae68ef"
],
"NonLaborAssignments": [
{
"Id": "0ca1aab9-809f-40d8-8b1e-58296dd3844e",
"ResourceId": "f2f0dac7-d4e6-4dcb-bc20-8aa5df3edfcd",
"Quantity": 3.0
},
{
"Id": "0ca1aab9-809f-40d8-8b1e-58296dd3844e",
"ResourceId": "f2f0dac7-d4e6-4dcb-bc20-8aa5df3edfcd",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "2ed0f15e-17e2-4db5-8d7d-0a2cd499e711",
"Type": 0,
"ResourceId": "094df648-8f7c-45d8-8aeb-73088c942822",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "2ed0f15e-17e2-4db5-8d7d-0a2cd499e711",
"Type": 0,
"ResourceId": "094df648-8f7c-45d8-8aeb-73088c942822",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "d686a72e-a0f0-4e01-a0b9-3b470868c9ed",
"WorkTypeParentId": "c665d730-a5c6-4482-8c21-c4d830d6e62b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "809d6e94-07f8-4eaf-b330-1f06331e167f",
"UPN": "e4b6b082-869b-4c69-8130-e4f7540eefde",
"PostDate": "2026-07-07T07:11:33.4986327+00:00",
"Comment": "sample string 4",
"CC": [
"5bffd4ca-82dc-4bff-81a2-ae851cf81483",
"c9fc0510-5069-4a3a-b855-268679390bf3"
],
"Users": [
"70b6031d-533b-4260-96ee-0c02bdc1e5ef",
"3a6a1e46-6f9b-44fd-8965-2133a3927bba"
]
},
{
"Id": "809d6e94-07f8-4eaf-b330-1f06331e167f",
"UPN": "e4b6b082-869b-4c69-8130-e4f7540eefde",
"PostDate": "2026-07-07T07:11:33.4986327+00:00",
"Comment": "sample string 4",
"CC": [
"5bffd4ca-82dc-4bff-81a2-ae851cf81483",
"c9fc0510-5069-4a3a-b855-268679390bf3"
],
"Users": [
"70b6031d-533b-4260-96ee-0c02bdc1e5ef",
"3a6a1e46-6f9b-44fd-8965-2133a3927bba"
]
}
],
"StartDate": "2026-07-07T07:11:33.4986327+00:00",
"DueDate": "2026-07-07T07:11:33.4986327+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"4f29cfc6-717d-406d-9546-229ea99badb2": "0aa254ac-2c72-4291-aaf7-05576f0c40bd",
"062baf0a-a0c8-41c9-b86f-80b790f422f6": "7217cca5-8228-42ae-b4c1-54b1b3958350"
},
"HasUpdates": true,
"Modified": "2026-07-07T07:11:33.4986327+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-07-07T07:11:33.4986327+00:00"
},
"LastComment": "2026-07-07T07:11:33.4986327+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "86c70004-b68e-4316-a3a3-490fdfbea425",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "717add77-6dc8-4d1a-8011-424181e3c5b4",
"id": "0eeb656c-44c3-4e44-b17e-d2c5800dd4c9",
"ConfigId": "d846dc84-3e01-4a09-89d3-f25d65c5fbca"
}