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": "2667a0da-e507-4ef0-b89f-39b7495fc41b",
"Name": "sample string 1",
"Created": "2026-02-06T21:29:50.1468079+00:00",
"Modified": "2026-02-06T21:29:50.1468079+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"4f56d135-d29c-435b-ae01-aa1249a374e4",
"f707dd4b-ecac-4129-83e6-c9e2eacee752"
],
"NonLaborAssignments": [
{
"Id": "cb478881-42dd-493b-bd74-5ec04afa92d7",
"ResourceId": "f8c92da5-67d5-4c3b-858b-8ee086845033",
"Quantity": 3.0
},
{
"Id": "cb478881-42dd-493b-bd74-5ec04afa92d7",
"ResourceId": "f8c92da5-67d5-4c3b-858b-8ee086845033",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "93adb5b9-e0ce-4e6c-91ad-c8b57aacf134",
"Type": 0,
"ResourceId": "19e60d18-cda2-4aa7-b831-63b0f3beaf7a",
"Units": 3.0
},
{
"Id": "93adb5b9-e0ce-4e6c-91ad-c8b57aacf134",
"Type": 0,
"ResourceId": "19e60d18-cda2-4aa7-b831-63b0f3beaf7a",
"Units": 3.0
}
],
"ParentId": "f35580ab-9406-4f10-a4a2-d93b0c3dc770",
"WorkTypeParentId": "3ea46c18-d391-4e2e-87f6-dbca84468ebd",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "b566043e-8d21-4487-8bcc-5e5706201213",
"UPN": "4d9600cd-c10b-4f8a-8a0b-7c0da1bad87e",
"PostDate": "2026-02-06T21:29:50.1468079+00:00",
"Comment": "sample string 4",
"CC": [
"6d5e2d7c-2596-4820-a9fe-392fa256ba31",
"7ada91d2-e0a3-4803-b8c7-d1745e06012b"
],
"Users": [
"83e8ad82-a55b-4c7e-8759-7e4926f2e001",
"0ba27b8b-0978-456f-9b1c-61fa02c037dd"
]
},
{
"Id": "b566043e-8d21-4487-8bcc-5e5706201213",
"UPN": "4d9600cd-c10b-4f8a-8a0b-7c0da1bad87e",
"PostDate": "2026-02-06T21:29:50.1468079+00:00",
"Comment": "sample string 4",
"CC": [
"6d5e2d7c-2596-4820-a9fe-392fa256ba31",
"7ada91d2-e0a3-4803-b8c7-d1745e06012b"
],
"Users": [
"83e8ad82-a55b-4c7e-8759-7e4926f2e001",
"0ba27b8b-0978-456f-9b1c-61fa02c037dd"
]
}
],
"StartDate": "2026-02-06T21:29:50.1468079+00:00",
"DueDate": "2026-02-06T21:29:50.1468079+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"886f227b-67b6-49ca-b5e9-a21898f5f55b": "b5e404a1-548c-4ed4-a36a-31c9e9051e8e",
"9f5c7b56-4150-40ae-b83a-5f79583b5841": "c46b6d09-53a9-49a5-b87c-e26df6a01402"
},
"HasUpdates": true,
"Modified": "2026-02-06T21:29:50.1468079+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-02-06T21:29:50.1468079+00:00"
},
"LastComment": "2026-02-06T21:29:50.1468079+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "10c7c462-f22a-42bf-825e-296ff651dd09",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "69009c03-9983-4c20-8ff2-9592f060be45",
"id": "03f67acb-28eb-4cd9-902c-54b32ece7c12",
"ConfigId": "d4c7165c-b6eb-4c2d-924f-e7e114083888"
}