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": "4118cfb2-1a2f-4145-b36f-cf6426123aaa",
"Name": "sample string 1",
"Created": "2026-01-17T06:06:19.5688794+00:00",
"Modified": "2026-01-17T06:06:19.5688794+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"91a87be7-b0d4-458b-af5e-c4c6cfd5965d",
"9ef305bd-b52a-4c80-9ced-165327d37a65"
],
"NonLaborAssignments": [
{
"Id": "78edfab2-45a2-4fdc-8566-683b46729d80",
"ResourceId": "118e9fb9-ca60-4437-9c00-226333af609b",
"Quantity": 3.0
},
{
"Id": "78edfab2-45a2-4fdc-8566-683b46729d80",
"ResourceId": "118e9fb9-ca60-4437-9c00-226333af609b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "2d6556a4-6ed4-4799-8f8f-954326d1fc00",
"Type": 0,
"ResourceId": "60405f94-017e-4957-9d94-53b02a5716e9",
"Units": 3.0
},
{
"Id": "2d6556a4-6ed4-4799-8f8f-954326d1fc00",
"Type": 0,
"ResourceId": "60405f94-017e-4957-9d94-53b02a5716e9",
"Units": 3.0
}
],
"ParentId": "440525b9-42eb-4748-8a62-8405aa2f1b9e",
"WorkTypeParentId": "fdf24647-12db-4ee6-be9a-01e44e538c9c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "7782a286-ed20-4f78-9f2c-9775e2233da5",
"UPN": "fe4065d8-c303-4c06-be44-e551845fc542",
"PostDate": "2026-01-17T06:06:19.5688794+00:00",
"Comment": "sample string 4",
"CC": [
"bf30d88a-e562-4b42-8f9a-510bd7c0ab24",
"1695b60b-8453-407d-97fa-9c2f62e49b1b"
],
"Users": [
"0ffabb38-83be-4bb8-99a9-d02ae6a1332b",
"6044d1e5-8213-48d4-b4dc-3b708b806273"
]
},
{
"Id": "7782a286-ed20-4f78-9f2c-9775e2233da5",
"UPN": "fe4065d8-c303-4c06-be44-e551845fc542",
"PostDate": "2026-01-17T06:06:19.5688794+00:00",
"Comment": "sample string 4",
"CC": [
"bf30d88a-e562-4b42-8f9a-510bd7c0ab24",
"1695b60b-8453-407d-97fa-9c2f62e49b1b"
],
"Users": [
"0ffabb38-83be-4bb8-99a9-d02ae6a1332b",
"6044d1e5-8213-48d4-b4dc-3b708b806273"
]
}
],
"StartDate": "2026-01-17T06:06:19.5688794+00:00",
"DueDate": "2026-01-17T06:06:19.5688794+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"6749c429-bdae-449b-bf3f-94ed88b4aacb": "fed12453-b2be-422e-9bf3-bc2874fa7f8c",
"7c42b0d9-ea24-44da-95e9-72d5b3fa2c85": "bf03ccec-f655-4f6c-a99b-ac58be34c88f"
},
"HasUpdates": true,
"Modified": "2026-01-17T06:06:19.5688794+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-01-17T06:06:19.5688794+00:00"
},
"LastComment": "2026-01-17T06:06:19.5688794+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "084b49b8-5069-4693-9745-4d988fba204b",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "944e2f1a-6876-418a-bce2-34bbb0b05010",
"id": "41425cc2-c291-4552-9e7b-995a07238a65",
"ConfigId": "23fa9ac6-90ad-481e-b066-df8e0df079d3"
}