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": "84708485-d128-4f75-b99c-b62f34b3f7a0",
"Name": "sample string 1",
"Created": "2026-03-26T21:37:21.2128557+00:00",
"Modified": "2026-03-26T21:37:21.2128557+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"08df6830-3516-48de-8f69-d8f8299f8332",
"bbb99b22-b760-4c3e-975d-04620d663f7d"
],
"NonLaborAssignments": [
{
"Id": "b33e677d-3d13-4254-8cfb-f033d44e620c",
"ResourceId": "1a069549-fdbc-45f5-bf1d-d77632e5a5c7",
"Quantity": 3.0
},
{
"Id": "b33e677d-3d13-4254-8cfb-f033d44e620c",
"ResourceId": "1a069549-fdbc-45f5-bf1d-d77632e5a5c7",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "5169ea28-8da2-4dbd-8fcc-1f8810d25fcd",
"Type": 0,
"ResourceId": "7c878828-777c-4b29-acc8-cbc99a7ce2ef",
"Units": 3.0
},
{
"Id": "5169ea28-8da2-4dbd-8fcc-1f8810d25fcd",
"Type": 0,
"ResourceId": "7c878828-777c-4b29-acc8-cbc99a7ce2ef",
"Units": 3.0
}
],
"ParentId": "3c00b874-14ad-4f26-a058-852512a63cac",
"WorkTypeParentId": "4031bbcf-b98c-497d-9985-d0b2e685675b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "3f53b285-3ee4-404a-a6f1-691c794ea742",
"UPN": "a18a376f-e1fa-490b-8914-cc6e64e1ecd4",
"PostDate": "2026-03-26T21:37:21.2284715+00:00",
"Comment": "sample string 4",
"CC": [
"0aa09125-e6a5-4ba6-87ba-db3c7869a20a",
"c1ed1e78-0764-4a9f-b15d-c2e7b0644083"
],
"Users": [
"5031762f-b606-493a-b6e9-80906b90cf44",
"575716ad-99d2-4e20-bdc3-b47250fbff03"
]
},
{
"Id": "3f53b285-3ee4-404a-a6f1-691c794ea742",
"UPN": "a18a376f-e1fa-490b-8914-cc6e64e1ecd4",
"PostDate": "2026-03-26T21:37:21.2284715+00:00",
"Comment": "sample string 4",
"CC": [
"0aa09125-e6a5-4ba6-87ba-db3c7869a20a",
"c1ed1e78-0764-4a9f-b15d-c2e7b0644083"
],
"Users": [
"5031762f-b606-493a-b6e9-80906b90cf44",
"575716ad-99d2-4e20-bdc3-b47250fbff03"
]
}
],
"StartDate": "2026-03-26T21:37:21.2284715+00:00",
"DueDate": "2026-03-26T21:37:21.2284715+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"69364d6f-d9da-4ee9-a9e1-29bae6a29f3b": "af1b7ee0-e85f-4bb4-a3d9-93fd516192cc",
"cda37d11-cfc7-490a-8b39-e84ad7822430": "a72d21ab-89be-475e-a614-07a8d9e45a89"
},
"HasUpdates": true,
"Modified": "2026-03-26T21:37:21.2284715+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-26T21:37:21.2284715+00:00"
},
"LastComment": "2026-03-26T21:37:21.2284715+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "22ef57df-54ce-4918-95a2-f4506a785e16",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "351b6df2-8ae8-4903-9b73-5ea9a8c6f1da",
"id": "fd18b964-cf95-4ca2-a850-d9f60309f52b",
"ConfigId": "6009d473-b7cc-4c6a-9571-6e369cbf2179"
}