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": "ec4206ef-47ea-4265-8b1c-aa96441827da",
"Name": "sample string 1",
"Created": "2026-01-05T10:14:28.4646431+00:00",
"Modified": "2026-01-05T10:14:28.4646431+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1d62f4d7-a50b-4af7-93ed-43e65a06c8f7",
"2c39e984-f2c2-40f7-a9e0-57f408112990"
],
"NonLaborAssignments": [
{
"Id": "a842d75d-1b9d-4ad8-9b26-816b99a09cc1",
"ResourceId": "fb0a24a0-7934-4ba6-a07d-d8aa51d79112",
"Quantity": 3.0
},
{
"Id": "a842d75d-1b9d-4ad8-9b26-816b99a09cc1",
"ResourceId": "fb0a24a0-7934-4ba6-a07d-d8aa51d79112",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "f307e15c-5a1f-43f8-acb4-0de74f18429f",
"Type": 0,
"ResourceId": "f0110833-e663-4904-a443-400753079963",
"Units": 3.0
},
{
"Id": "f307e15c-5a1f-43f8-acb4-0de74f18429f",
"Type": 0,
"ResourceId": "f0110833-e663-4904-a443-400753079963",
"Units": 3.0
}
],
"ParentId": "fb3e6513-1d6e-472e-903f-aeb47a10c801",
"WorkTypeParentId": "27cd29d9-43b3-4cd6-ab6d-3fe21aca717a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "e4a850a4-9dde-41ba-9edd-efd57e954ebb",
"UPN": "5b857d45-611d-4b3d-996b-ef58b60302bb",
"PostDate": "2026-01-05T10:14:28.4646431+00:00",
"Comment": "sample string 4",
"CC": [
"05cf898d-30da-4343-81cd-1fbfe50a0c6b",
"2be2e729-f5ed-4ace-9945-061cd2d12fa2"
],
"Users": [
"817bb85b-0f1a-4a38-8ee3-fca81928674b",
"d4f3c5ca-2ead-46b2-9c26-75471677b51f"
]
},
{
"Id": "e4a850a4-9dde-41ba-9edd-efd57e954ebb",
"UPN": "5b857d45-611d-4b3d-996b-ef58b60302bb",
"PostDate": "2026-01-05T10:14:28.4646431+00:00",
"Comment": "sample string 4",
"CC": [
"05cf898d-30da-4343-81cd-1fbfe50a0c6b",
"2be2e729-f5ed-4ace-9945-061cd2d12fa2"
],
"Users": [
"817bb85b-0f1a-4a38-8ee3-fca81928674b",
"d4f3c5ca-2ead-46b2-9c26-75471677b51f"
]
}
],
"StartDate": "2026-01-05T10:14:28.4646431+00:00",
"DueDate": "2026-01-05T10:14:28.4646431+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"d78e2105-4d12-4741-870c-68fc5aead60c": "fa4b7047-caa0-4ba9-b37c-6821925a0ef6",
"f3adf048-4e9d-494f-89bc-ce6dd2ecd2ab": "7fbe8108-2204-4a62-bea1-af8db86f0d86"
},
"HasUpdates": true,
"Modified": "2026-01-05T10:14:28.4646431+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-01-05T10:14:28.4646431+00:00"
},
"LastComment": "2026-01-05T10:14:28.4646431+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "66fddee5-d4c1-4049-9a8a-d3295387b417",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "01f8132e-a012-48f4-a6a4-3ebf4c2bf0f7",
"id": "134dae16-6960-44b7-aad5-b2fafe9851a3",
"ConfigId": "b948fc20-d511-45f0-94c4-5902d1f0a9a1"
}