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": "3c3d150c-2d37-4d84-b0e9-33fa5281dc9b",
"Name": "sample string 1",
"Created": "2025-12-08T14:29:39.5179142+00:00",
"Modified": "2025-12-08T14:29:39.5179142+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"7eacd7aa-5277-4b93-9dac-27ee700fdad0",
"7769236f-4199-4b21-85b1-a3807b8a9ee4"
],
"NonLaborAssignments": [
{
"Id": "60429eb8-b1e4-4d2a-8ceb-be955aeac20f",
"ResourceId": "e608e708-89ac-4014-aa9b-525d6fbf6b77",
"Quantity": 3.0
},
{
"Id": "60429eb8-b1e4-4d2a-8ceb-be955aeac20f",
"ResourceId": "e608e708-89ac-4014-aa9b-525d6fbf6b77",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c04770cf-6cc7-436d-927c-25305e004429",
"Type": 0,
"ResourceId": "abfd7af0-0c6f-4f3a-8c28-7b8f47f0de06",
"Units": 3.0
},
{
"Id": "c04770cf-6cc7-436d-927c-25305e004429",
"Type": 0,
"ResourceId": "abfd7af0-0c6f-4f3a-8c28-7b8f47f0de06",
"Units": 3.0
}
],
"ParentId": "aea28a02-63ed-41c5-ba85-18d516fd7dd9",
"WorkTypeParentId": "26b71dac-199b-4809-bfdd-c0b623d2e2d1",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "fd017a41-8742-459f-91c3-b40309d69016",
"UPN": "94ff4835-e5d6-4bab-9ad0-642ef2a7f402",
"PostDate": "2025-12-08T14:29:39.5179142+00:00",
"Comment": "sample string 4",
"CC": [
"466176d0-3e6c-4f4b-8456-084c7fe0e044",
"025e33b1-de74-4262-b1bd-0a9b5f62d6d0"
],
"Users": [
"3c573002-ddad-4528-a3be-cab1dc561985",
"de8bb312-167d-4a8d-8e74-3e12efc4b03c"
]
},
{
"Id": "fd017a41-8742-459f-91c3-b40309d69016",
"UPN": "94ff4835-e5d6-4bab-9ad0-642ef2a7f402",
"PostDate": "2025-12-08T14:29:39.5179142+00:00",
"Comment": "sample string 4",
"CC": [
"466176d0-3e6c-4f4b-8456-084c7fe0e044",
"025e33b1-de74-4262-b1bd-0a9b5f62d6d0"
],
"Users": [
"3c573002-ddad-4528-a3be-cab1dc561985",
"de8bb312-167d-4a8d-8e74-3e12efc4b03c"
]
}
],
"StartDate": "2025-12-08T14:29:39.5179142+00:00",
"DueDate": "2025-12-08T14:29:39.5179142+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8f4632cd-92da-4fd1-bc20-fac9bcd0dacf": "13f48648-9ea4-4d09-ac21-a9e2ecc0c883",
"4c74cc25-67ed-453e-b568-e80449896a60": "8b4c61be-0931-486c-92da-7f2a55792c8f"
},
"HasUpdates": true,
"Modified": "2025-12-08T14:29:39.5179142+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-12-08T14:29:39.5179142+00:00"
},
"LastComment": "2025-12-08T14:29:39.5179142+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "456fba0b-afe0-4f7a-9d0e-93bce4539599",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "c9f54ec7-90af-4fca-9c83-211f13ee7966",
"id": "bba944cd-89da-4e7c-8352-c949ca753da4",
"ConfigId": "f33e662c-ef28-4e39-8674-eb78e9b803ee"
}