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": "900e0be2-d81b-482f-aca3-d80940f09c4d",
"Name": "sample string 1",
"Created": "2026-03-07T04:36:23.7100701+00:00",
"Modified": "2026-03-07T04:36:23.7100701+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e35fd39b-193a-4c99-b91c-e423cb7c3a4f",
"cfb1d505-8555-4f44-ac12-053b408a5954"
],
"NonLaborAssignments": [
{
"Id": "21201370-1fda-4cb4-a197-e0767a08270b",
"ResourceId": "b4b93fd5-f76e-42e9-a7f1-7f69fe1efb16",
"Quantity": 3.0
},
{
"Id": "21201370-1fda-4cb4-a197-e0767a08270b",
"ResourceId": "b4b93fd5-f76e-42e9-a7f1-7f69fe1efb16",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "a30f879b-14e2-429d-ae39-266a7a85ab88",
"Type": 0,
"ResourceId": "c8cad669-5e96-436b-8544-508023bde3e7",
"Units": 3.0
},
{
"Id": "a30f879b-14e2-429d-ae39-266a7a85ab88",
"Type": 0,
"ResourceId": "c8cad669-5e96-436b-8544-508023bde3e7",
"Units": 3.0
}
],
"ParentId": "13ebf5e2-f379-4419-a449-38bf4a532489",
"WorkTypeParentId": "a012b03b-d3b2-4853-add1-df3893619d5b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "595d3e4e-209a-4d96-b6f3-d15098439de6",
"UPN": "2b940762-c85c-4b96-a57b-5cf6c5e0ea92",
"PostDate": "2026-03-07T04:36:23.7100701+00:00",
"Comment": "sample string 4",
"CC": [
"4727ff88-ada6-4e6d-b811-1110eb192298",
"e5bc7728-f07f-44f2-a555-0b314af32b48"
],
"Users": [
"cd03a25a-abf1-4c52-ae59-6d1303201952",
"58551372-1ec8-41a3-9b30-64329b6c85e4"
]
},
{
"Id": "595d3e4e-209a-4d96-b6f3-d15098439de6",
"UPN": "2b940762-c85c-4b96-a57b-5cf6c5e0ea92",
"PostDate": "2026-03-07T04:36:23.7100701+00:00",
"Comment": "sample string 4",
"CC": [
"4727ff88-ada6-4e6d-b811-1110eb192298",
"e5bc7728-f07f-44f2-a555-0b314af32b48"
],
"Users": [
"cd03a25a-abf1-4c52-ae59-6d1303201952",
"58551372-1ec8-41a3-9b30-64329b6c85e4"
]
}
],
"StartDate": "2026-03-07T04:36:23.7100701+00:00",
"DueDate": "2026-03-07T04:36:23.7100701+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8c8db434-17e7-45d9-b3dd-28d688f12f1f": "564528cc-910e-45e5-9dd5-f65385ad9b6e",
"8d8f6d96-c85d-4b39-a894-f0a077cbc424": "153b9abe-cb2e-4d39-9677-5600627e57c7"
},
"HasUpdates": true,
"Modified": "2026-03-07T04:36:23.7100701+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-07T04:36:23.7100701+00:00"
},
"LastComment": "2026-03-07T04:36:23.7100701+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ed88140f-a70f-4ca5-9941-e11b437a817d",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "8d84e59a-3fad-4df0-be38-b3eef0db1085",
"id": "419cd525-2f3a-4c87-b69c-d8899d58c338",
"ConfigId": "284ffdac-81f4-40fe-adb8-2f9a315041cc"
}