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": "27184c57-a1d0-416f-be4d-94054d0db125",
"Name": "sample string 1",
"Created": "2026-03-24T09:00:37.3023185+00:00",
"Modified": "2026-03-24T09:00:37.3023185+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a0ceb8c9-b410-40cc-ad4e-ab90d3fced05",
"93fb8804-17f2-4a01-bf17-c8a8e6c679b1"
],
"NonLaborAssignments": [
{
"Id": "236ff928-4c13-4be3-be61-668d6c04bbef",
"ResourceId": "4aae2840-d0e2-4906-8423-c5840f110d34",
"Quantity": 3.0
},
{
"Id": "236ff928-4c13-4be3-be61-668d6c04bbef",
"ResourceId": "4aae2840-d0e2-4906-8423-c5840f110d34",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "24254d1e-ea20-402d-a7cb-7075545b6973",
"Type": 0,
"ResourceId": "95cefffb-c053-495b-a1c5-a574a024c986",
"Units": 3.0
},
{
"Id": "24254d1e-ea20-402d-a7cb-7075545b6973",
"Type": 0,
"ResourceId": "95cefffb-c053-495b-a1c5-a574a024c986",
"Units": 3.0
}
],
"ParentId": "e57c935a-e930-4e32-96c3-4f7489d1cfea",
"WorkTypeParentId": "ca6312b1-df7f-4674-8ea9-5d6afc8a799c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "cd3d11f8-5c71-44ed-889f-52d8b5caea53",
"UPN": "7877f3e5-34ad-4f65-8d27-0a5ee04169c0",
"PostDate": "2026-03-24T09:00:37.3023185+00:00",
"Comment": "sample string 4",
"CC": [
"255d900e-89f0-4052-bc85-2cf794213e3a",
"1f983764-c31a-4015-9f24-93805952e45f"
],
"Users": [
"cea7bc87-63a7-4733-b47f-cb6614324f71",
"962bb127-57db-43fd-9323-98c8b08141b9"
]
},
{
"Id": "cd3d11f8-5c71-44ed-889f-52d8b5caea53",
"UPN": "7877f3e5-34ad-4f65-8d27-0a5ee04169c0",
"PostDate": "2026-03-24T09:00:37.3023185+00:00",
"Comment": "sample string 4",
"CC": [
"255d900e-89f0-4052-bc85-2cf794213e3a",
"1f983764-c31a-4015-9f24-93805952e45f"
],
"Users": [
"cea7bc87-63a7-4733-b47f-cb6614324f71",
"962bb127-57db-43fd-9323-98c8b08141b9"
]
}
],
"StartDate": "2026-03-24T09:00:37.3023185+00:00",
"DueDate": "2026-03-24T09:00:37.3023185+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"c9243d17-3d5e-4ddb-a8ad-3109a812315b": "c4f118ac-88ea-4bc2-818f-03463438647c",
"5f9b1966-9fa0-459d-b53d-2640db7b6a14": "6e7c9068-5ebb-4fd5-b56f-de95dff14901"
},
"HasUpdates": true,
"Modified": "2026-03-24T09:00:37.3023185+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-03-24T09:00:37.3023185+00:00"
},
"LastComment": "2026-03-24T09:00:37.3023185+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "d345b3fa-769b-43b1-a667-41287741a0f6",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "3ac2a060-3ad9-4955-a100-79c2d98bace5",
"id": "e05001a3-6eac-4080-b464-0a46a07b899f",
"ConfigId": "fb234d0c-745a-4678-8f78-f32139d06281"
}