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": "a4d7b550-7cef-4184-80f2-c7ebbd97d57d",
"Name": "sample string 1",
"Created": "2026-06-16T04:43:47.9881387+00:00",
"Modified": "2026-06-16T04:43:47.9881387+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"0a280cbc-5f84-44d7-8a94-340477adb79c",
"ff77063a-827e-403f-b9af-6fa1b78bc32f"
],
"NonLaborAssignments": [
{
"Id": "7491f94c-7f6b-40b6-8abe-5865ef7119ea",
"ResourceId": "785e11c6-e25f-4b55-a0c6-4664a185d74e",
"Quantity": 3.0
},
{
"Id": "7491f94c-7f6b-40b6-8abe-5865ef7119ea",
"ResourceId": "785e11c6-e25f-4b55-a0c6-4664a185d74e",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "dd175e4e-fefd-4fb8-ab7f-5186cbc8871f",
"Type": 0,
"ResourceId": "4142d66e-8e6c-4268-b9ad-85f4ecfa6079",
"Units": 3.0
},
{
"Id": "dd175e4e-fefd-4fb8-ab7f-5186cbc8871f",
"Type": 0,
"ResourceId": "4142d66e-8e6c-4268-b9ad-85f4ecfa6079",
"Units": 3.0
}
],
"ParentId": "1a6e9cc5-4206-40ab-a5b6-07b536ff20eb",
"WorkTypeParentId": "37b9864e-6377-4f28-af1a-3d5484ce090c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "a11fba61-cc5a-4283-b164-1c4d394e88be",
"UPN": "e82715c6-26ed-4d2e-9f38-e36c512afecc",
"PostDate": "2026-06-16T04:43:47.9881387+00:00",
"Comment": "sample string 4",
"CC": [
"5c47f38b-3382-4237-8473-9b179e17371b",
"356fef29-1d14-4933-8d50-f9012c924cb0"
],
"Users": [
"1d460cb6-34c9-4566-ab0b-419c51cef09b",
"cb306e93-0641-49f3-95c9-f3cee3a6cf22"
]
},
{
"Id": "a11fba61-cc5a-4283-b164-1c4d394e88be",
"UPN": "e82715c6-26ed-4d2e-9f38-e36c512afecc",
"PostDate": "2026-06-16T04:43:47.9881387+00:00",
"Comment": "sample string 4",
"CC": [
"5c47f38b-3382-4237-8473-9b179e17371b",
"356fef29-1d14-4933-8d50-f9012c924cb0"
],
"Users": [
"1d460cb6-34c9-4566-ab0b-419c51cef09b",
"cb306e93-0641-49f3-95c9-f3cee3a6cf22"
]
}
],
"StartDate": "2026-06-16T04:43:47.9881387+00:00",
"DueDate": "2026-06-16T04:43:47.9881387+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"3e8ccf6e-5843-4822-9a30-c828c3336777": "691ffefb-fb89-43bd-ab8f-fb88834c0af7",
"2ed1892a-aa25-48b4-9bd4-6c0e48ce72b0": "681b616f-6a46-4590-b0ce-d08eac68f10e"
},
"HasUpdates": true,
"Modified": "2026-06-16T04:43:47.9881387+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-16T04:43:47.9881387+00:00"
},
"LastComment": "2026-06-16T04:43:47.9881387+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ce045c9f-af44-417b-ae0c-90e406cc3416",
"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": "b50266de-10a7-48c4-b4f3-e4403c75b396",
"id": "e9268e94-78f5-4a78-a12e-f618154f8b59",
"ConfigId": "40543b08-8d4d-4690-ade5-d665f0d34759"
}