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": "ea2b00a6-76f3-4d42-82e7-458c9cd895aa",
"Name": "sample string 1",
"Created": "2025-12-23T10:03:31.624406+00:00",
"Modified": "2025-12-23T10:03:31.624406+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"0c8dbc32-6cca-4200-97ac-3feb36e970ae",
"4f838f4f-bd62-4797-a403-1ba5bc977f65"
],
"NonLaborAssignments": [
{
"Id": "6f676a99-ead1-42ca-8895-119f56c98332",
"ResourceId": "bb82965e-3b70-4495-b971-2cbd1f67ea8b",
"Quantity": 3.0
},
{
"Id": "6f676a99-ead1-42ca-8895-119f56c98332",
"ResourceId": "bb82965e-3b70-4495-b971-2cbd1f67ea8b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "fc124934-5fb1-4f14-85b4-5d702b27bb92",
"Type": 0,
"ResourceId": "7210695c-0917-43d7-9661-beb9bb403c2c",
"Units": 3.0
},
{
"Id": "fc124934-5fb1-4f14-85b4-5d702b27bb92",
"Type": 0,
"ResourceId": "7210695c-0917-43d7-9661-beb9bb403c2c",
"Units": 3.0
}
],
"ParentId": "34ef1c44-af84-49d7-b69f-7db6fd7af203",
"WorkTypeParentId": "2f312424-85fa-4ed1-9c1f-0e645e5428db",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "c989bf68-56a6-4024-bde9-31dc052c66ea",
"UPN": "ef1bd686-378d-460f-9762-e7ea30ccc25a",
"PostDate": "2025-12-23T10:03:31.624406+00:00",
"Comment": "sample string 4",
"CC": [
"f8ba2bd0-fbfe-46ee-bfb0-cbb99c059f96",
"76af9adf-11b7-480c-b4e9-f41bb73f77b3"
],
"Users": [
"a4c3b328-18fd-4e4f-abc3-3f0742db9e03",
"0b2951cd-373c-4ea1-ae42-f9b8cd655d2b"
]
},
{
"Id": "c989bf68-56a6-4024-bde9-31dc052c66ea",
"UPN": "ef1bd686-378d-460f-9762-e7ea30ccc25a",
"PostDate": "2025-12-23T10:03:31.624406+00:00",
"Comment": "sample string 4",
"CC": [
"f8ba2bd0-fbfe-46ee-bfb0-cbb99c059f96",
"76af9adf-11b7-480c-b4e9-f41bb73f77b3"
],
"Users": [
"a4c3b328-18fd-4e4f-abc3-3f0742db9e03",
"0b2951cd-373c-4ea1-ae42-f9b8cd655d2b"
]
}
],
"StartDate": "2025-12-23T10:03:31.624406+00:00",
"DueDate": "2025-12-23T10:03:31.624406+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b481f7e2-fbab-4daa-a8ea-d757e4996815": "540ec827-5664-4723-8180-a5b0dceb5f3a",
"80caac56-9302-487b-bdc2-5e21ee8a64f7": "e1a28473-774a-484e-bfe7-5a260b98bc0a"
},
"HasUpdates": true,
"Modified": "2025-12-23T10:03:31.624406+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-23T10:03:31.624406+00:00"
},
"LastComment": "2025-12-23T10:03:31.624406+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "09b0c392-e861-44cc-80df-e313d952d0d4",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "08fe9c3c-fde3-44e6-ad89-238b379ea1fe",
"id": "db02aad2-014c-47de-8573-e513f5ae3f28",
"ConfigId": "15173d4f-b21c-4c21-8686-8a1d9face5d9"
}