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": "da7975fa-58c5-4e0f-baa5-89614cf3aaa7",
"Name": "sample string 1",
"Created": "2025-11-20T06:58:45.2882872+00:00",
"Modified": "2025-11-20T06:58:45.2882872+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"6e8b9f57-0ece-4089-9285-952153fa0c10",
"8957886f-9bd0-4103-9977-ead3d0c7425c"
],
"NonLaborAssignments": [
{
"Id": "3f2e188a-88b1-40af-b9c0-7a93e42e6418",
"ResourceId": "a7bbf054-98aa-4ff5-9fe5-e9fe2b3c10d2",
"Quantity": 3.0
},
{
"Id": "3f2e188a-88b1-40af-b9c0-7a93e42e6418",
"ResourceId": "a7bbf054-98aa-4ff5-9fe5-e9fe2b3c10d2",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "14d70b95-5d4c-46a9-9e1a-2f000c61b61c",
"Type": 0,
"ResourceId": "137be5e0-db6a-44a6-b473-613ce8bc3486",
"Units": 3.0
},
{
"Id": "14d70b95-5d4c-46a9-9e1a-2f000c61b61c",
"Type": 0,
"ResourceId": "137be5e0-db6a-44a6-b473-613ce8bc3486",
"Units": 3.0
}
],
"ParentId": "55729ada-9969-4f7f-b992-7e310aadf91f",
"WorkTypeParentId": "19c23758-d300-4f90-8387-3b24972b1e1b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "93a786a0-aa8c-43dd-b270-5ccfc4bd0881",
"UPN": "66853fea-8774-44cb-9f3b-3b45a2adf450",
"PostDate": "2025-11-20T06:58:45.2882872+00:00",
"Comment": "sample string 4",
"CC": [
"1680e9fa-0e67-4b39-af65-a546f457368a",
"016a4383-df70-469b-b31c-5bf9a12e9851"
],
"Users": [
"3a9e1893-9e40-4381-b853-c7ed39cf5d18",
"7e34a98c-103c-46a9-9f32-b1b415c58529"
]
},
{
"Id": "93a786a0-aa8c-43dd-b270-5ccfc4bd0881",
"UPN": "66853fea-8774-44cb-9f3b-3b45a2adf450",
"PostDate": "2025-11-20T06:58:45.2882872+00:00",
"Comment": "sample string 4",
"CC": [
"1680e9fa-0e67-4b39-af65-a546f457368a",
"016a4383-df70-469b-b31c-5bf9a12e9851"
],
"Users": [
"3a9e1893-9e40-4381-b853-c7ed39cf5d18",
"7e34a98c-103c-46a9-9f32-b1b415c58529"
]
}
],
"StartDate": "2025-11-20T06:58:45.2882872+00:00",
"DueDate": "2025-11-20T06:58:45.2882872+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"3b947f31-e511-4242-aada-5dd14154e46d": "321fce83-329a-48d8-9323-676561dd00fd",
"7001c258-afa9-46f4-9a38-eb3ed9723018": "f730d327-417a-44a2-9e1d-64929571835a"
},
"HasUpdates": true,
"Modified": "2025-11-20T06:58:45.2882872+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-20T06:58:45.2882872+00:00"
},
"LastComment": "2025-11-20T06:58:45.2882872+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "14103f91-7d60-4f2e-8720-d166ff336ef9",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "7f8e482f-737e-4a67-8c82-9103912d0148",
"id": "9dc612a1-3ea0-48fb-8b4d-f175567e41f2",
"ConfigId": "7e3b4618-2890-449a-bdfd-357ee3fc1931"
}