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": "d655776a-2711-4d98-a599-bc62e18bbcd1",
"Name": "sample string 1",
"Created": "2025-11-16T06:43:13.9481752+00:00",
"Modified": "2025-11-16T06:43:13.9481752+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"cde0849e-901d-44b9-8a1f-a4dc3280e8bb",
"06057ebf-4ec7-4333-8077-5b9a61e38db2"
],
"NonLaborAssignments": [
{
"Id": "0da6df05-abea-4fb0-8579-905ce3b39321",
"ResourceId": "f08a9ed1-9b27-4416-8140-8f6d023866b2",
"Quantity": 3.0
},
{
"Id": "0da6df05-abea-4fb0-8579-905ce3b39321",
"ResourceId": "f08a9ed1-9b27-4416-8140-8f6d023866b2",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "cc06de2d-90af-49e2-bcf0-2124ed1f30b8",
"Type": 0,
"ResourceId": "b2998900-1366-48bf-9437-c4c2686389c3",
"Units": 3.0
},
{
"Id": "cc06de2d-90af-49e2-bcf0-2124ed1f30b8",
"Type": 0,
"ResourceId": "b2998900-1366-48bf-9437-c4c2686389c3",
"Units": 3.0
}
],
"ParentId": "471c510a-15ae-4c99-b224-422eda1c1b05",
"WorkTypeParentId": "92c152a8-b79c-48b7-a6c4-95abd66e304b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "379be93a-74f3-4940-b756-66311bf73fed",
"UPN": "6409bc85-d6ca-43ca-aced-8a03d58790ec",
"PostDate": "2025-11-16T06:43:13.9481752+00:00",
"Comment": "sample string 4",
"CC": [
"fe1608f8-07c4-4f7e-aa66-181f1817811a",
"4ca81b02-6830-4b9b-8175-6428d688a626"
],
"Users": [
"2d50c02c-0fb0-413b-97b6-50d1c2a42537",
"1d10a424-cfd4-4534-a0fe-5afa9eae0cd6"
]
},
{
"Id": "379be93a-74f3-4940-b756-66311bf73fed",
"UPN": "6409bc85-d6ca-43ca-aced-8a03d58790ec",
"PostDate": "2025-11-16T06:43:13.9481752+00:00",
"Comment": "sample string 4",
"CC": [
"fe1608f8-07c4-4f7e-aa66-181f1817811a",
"4ca81b02-6830-4b9b-8175-6428d688a626"
],
"Users": [
"2d50c02c-0fb0-413b-97b6-50d1c2a42537",
"1d10a424-cfd4-4534-a0fe-5afa9eae0cd6"
]
}
],
"StartDate": "2025-11-16T06:43:13.9481752+00:00",
"DueDate": "2025-11-16T06:43:13.9481752+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8f11a36c-8fe3-4ce3-8f15-3565fd7096bb": "c6ae2c37-c684-4bd8-bdde-25160178c8c5",
"1338a11f-6246-40b5-b415-831feaad7d22": "b0e4c472-f819-4556-bf8b-a7e17e1b3ec8"
},
"HasUpdates": true,
"Modified": "2025-11-16T06:43:13.9481752+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": "2025-11-16T06:43:13.9481752+00:00"
},
"LastComment": "2025-11-16T06:43:13.9481752+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "aad5f3a4-e642-4435-95de-131590af59c4",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "10378ada-0254-4740-98d0-18a1e0db7abd",
"id": "17889230-0594-4b05-9fd9-88d31062ff01",
"ConfigId": "8976b797-3082-4e7b-85bc-e2f411e22b74"
}