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": "cc72b4c9-fcd8-494a-a441-813bf8abdd39",
"Name": "sample string 1",
"Created": "2025-12-16T06:59:43.9630467+00:00",
"Modified": "2025-12-16T06:59:43.9630467+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"672186b9-e235-4682-a023-89d4771e2f94",
"7da485ae-b363-413d-8934-182e48fdffc7"
],
"NonLaborAssignments": [
{
"Id": "61347e0f-97f7-4456-a07f-1d96939147f8",
"ResourceId": "d484e869-3fc5-4154-8290-635e3a09265d",
"Quantity": 3.0
},
{
"Id": "61347e0f-97f7-4456-a07f-1d96939147f8",
"ResourceId": "d484e869-3fc5-4154-8290-635e3a09265d",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "34f878c9-526f-4430-b61c-2ff2a0d5ff22",
"Type": 0,
"ResourceId": "9d692fef-28b1-4827-8973-f69b0e5bef7d",
"Units": 3.0
},
{
"Id": "34f878c9-526f-4430-b61c-2ff2a0d5ff22",
"Type": 0,
"ResourceId": "9d692fef-28b1-4827-8973-f69b0e5bef7d",
"Units": 3.0
}
],
"ParentId": "ff0b5c62-43ef-44e8-a210-3239201d4b7a",
"WorkTypeParentId": "5dcea97d-3560-4837-87bc-b7e217839228",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9c5a9fae-79c4-404d-812e-0ae606e04e9f",
"UPN": "59f84937-aa94-49b4-922d-1a55b9665810",
"PostDate": "2025-12-16T06:59:43.9630467+00:00",
"Comment": "sample string 4",
"CC": [
"a3fa9b4c-c269-4623-bf31-1f7c5d3671bf",
"a4d3acc6-46bc-4a0c-bd99-871f7b190435"
],
"Users": [
"bb40bfc3-ef37-415e-92d6-d91f039aea76",
"b5e1a4bf-09d2-4241-a0f0-2aa964b0e5ea"
]
},
{
"Id": "9c5a9fae-79c4-404d-812e-0ae606e04e9f",
"UPN": "59f84937-aa94-49b4-922d-1a55b9665810",
"PostDate": "2025-12-16T06:59:43.9630467+00:00",
"Comment": "sample string 4",
"CC": [
"a3fa9b4c-c269-4623-bf31-1f7c5d3671bf",
"a4d3acc6-46bc-4a0c-bd99-871f7b190435"
],
"Users": [
"bb40bfc3-ef37-415e-92d6-d91f039aea76",
"b5e1a4bf-09d2-4241-a0f0-2aa964b0e5ea"
]
}
],
"StartDate": "2025-12-16T06:59:43.9630467+00:00",
"DueDate": "2025-12-16T06:59:43.9630467+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"3dd6aa38-e4c6-484d-bf45-21d200d4b1bc": "2e018fbc-8546-4bab-a6ee-ca31a087532d",
"9aff013a-a488-4388-aac1-972faea38418": "9ab37821-9b60-4754-a2df-a7875d0bcdc3"
},
"HasUpdates": true,
"Modified": "2025-12-16T06:59:43.9630467+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-16T06:59:43.9630467+00:00"
},
"LastComment": "2025-12-16T06:59:43.9630467+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "415cc0a1-3318-4c53-9828-06064863fe26",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "a833dfa2-111b-40ed-9900-d1a27492339f",
"id": "ab582988-63bc-47b3-9e13-31a45baf70fb",
"ConfigId": "1eaaee97-bab4-4885-a79b-0bd66c12e0c9"
}