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": "6cf60e03-7da7-4e8a-8de2-729318b79658",
"Name": "sample string 1",
"Created": "2026-06-23T06:40:41.0162914+00:00",
"Modified": "2026-06-23T06:40:41.0162914+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"6c052a08-bd38-4e02-b8d4-f5f8bbb76236",
"5ed56ed3-59f0-4e60-b0f3-0f3bf0bbf982"
],
"NonLaborAssignments": [
{
"Id": "c19b1803-12cf-4cd0-ae40-4a6d590f820a",
"ResourceId": "79c6bfdf-196b-4596-8196-0523f1ff38f1",
"Quantity": 3.0
},
{
"Id": "c19b1803-12cf-4cd0-ae40-4a6d590f820a",
"ResourceId": "79c6bfdf-196b-4596-8196-0523f1ff38f1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "965274b1-12cb-414f-8dd9-9b440bdfae84",
"Type": 0,
"ResourceId": "e02866a3-6854-4119-883b-bcc3214f3b88",
"Units": 3.0
},
{
"Id": "965274b1-12cb-414f-8dd9-9b440bdfae84",
"Type": 0,
"ResourceId": "e02866a3-6854-4119-883b-bcc3214f3b88",
"Units": 3.0
}
],
"ParentId": "fd346819-9725-485d-b0c7-e91cf444a839",
"WorkTypeParentId": "f31bda0a-1318-45b9-87e8-bb63ddae960f",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2f63732f-45e3-4845-8a64-e4a160a2722f",
"UPN": "36edc3d1-43b0-4548-b204-7f8b05e94f1a",
"PostDate": "2026-06-23T06:40:41.0162914+00:00",
"Comment": "sample string 4",
"CC": [
"b93b142a-919d-4a57-bf71-6f4d17a02d91",
"8ff378af-17a4-45e1-a764-a0eef6311814"
],
"Users": [
"6128734e-9061-4e9e-b3ff-4ac3f7deb310",
"e9a0aa10-1b8c-4307-8a50-9effcfb769a3"
]
},
{
"Id": "2f63732f-45e3-4845-8a64-e4a160a2722f",
"UPN": "36edc3d1-43b0-4548-b204-7f8b05e94f1a",
"PostDate": "2026-06-23T06:40:41.0162914+00:00",
"Comment": "sample string 4",
"CC": [
"b93b142a-919d-4a57-bf71-6f4d17a02d91",
"8ff378af-17a4-45e1-a764-a0eef6311814"
],
"Users": [
"6128734e-9061-4e9e-b3ff-4ac3f7deb310",
"e9a0aa10-1b8c-4307-8a50-9effcfb769a3"
]
}
],
"StartDate": "2026-06-23T06:40:41.0162914+00:00",
"DueDate": "2026-06-23T06:40:41.0162914+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"f61d41b1-02de-4061-a5b1-990b880a4172": "ada8b98d-bd2c-4576-98ea-042889201d55",
"5404f972-47f1-427d-b8ed-44b4a6936927": "22805da5-809f-4223-b586-a20cd4200344"
},
"HasUpdates": true,
"Modified": "2026-06-23T06:40:41.0162914+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-06-23T06:40:41.0162914+00:00"
},
"LastComment": "2026-06-23T06:40:41.0162914+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "5c9d50cc-bd3c-47ea-a5fc-7c67868069ed",
"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": "f3c800cc-96e2-4f33-acf9-809790059188",
"id": "4b78e4a2-e98a-4294-8e9e-7c618300b94f",
"ConfigId": "f5662336-f57c-4348-99f7-df538e298123"
}