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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "15a93187-c102-48c0-9925-823c0405a21d",
"Name": "sample string 1",
"Created": "2026-05-05T18:30:27.5748004+00:00",
"Modified": "2026-05-05T18:30:27.5748004+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"d86dd730-a29f-4ae8-b128-8011ce722049",
"d6877dcf-bc9a-4ecc-b756-71998d377a30"
],
"NonLaborAssignments": [
{
"Id": "2a1e062d-edac-4d61-8b99-88ddec403b05",
"ResourceId": "f04ecae3-aab7-48f0-a7f5-d9d435e5882a",
"Quantity": 3.0
},
{
"Id": "2a1e062d-edac-4d61-8b99-88ddec403b05",
"ResourceId": "f04ecae3-aab7-48f0-a7f5-d9d435e5882a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "cedf32c9-8570-406a-ba41-b4bf3a6f5115",
"Type": 0,
"ResourceId": "ea78eea9-29e4-4e66-8436-d68e1fd30bd6",
"Units": 3.0
},
{
"Id": "cedf32c9-8570-406a-ba41-b4bf3a6f5115",
"Type": 0,
"ResourceId": "ea78eea9-29e4-4e66-8436-d68e1fd30bd6",
"Units": 3.0
}
],
"ParentId": "d8ea6455-df48-483c-ad0d-b93723c429b0",
"WorkTypeParentId": "802867f9-00fe-4ed1-8892-431b8a244e16",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "27861254-017f-4a35-94e5-20c64efd5267",
"UPN": "6f05b61c-fef3-467e-815d-071cd2833863",
"PostDate": "2026-05-05T18:30:27.5748004+00:00",
"Comment": "sample string 4",
"CC": [
"26ebd0e0-938c-4cef-84b7-726e60398ea1",
"26775c81-00a4-4516-a7bd-56db4f3809f0"
],
"Users": [
"dfad7e75-7c8e-439f-8143-1b66f24720cc",
"3ca4fc53-f904-4990-9545-0c4727515b27"
]
},
{
"Id": "27861254-017f-4a35-94e5-20c64efd5267",
"UPN": "6f05b61c-fef3-467e-815d-071cd2833863",
"PostDate": "2026-05-05T18:30:27.5748004+00:00",
"Comment": "sample string 4",
"CC": [
"26ebd0e0-938c-4cef-84b7-726e60398ea1",
"26775c81-00a4-4516-a7bd-56db4f3809f0"
],
"Users": [
"dfad7e75-7c8e-439f-8143-1b66f24720cc",
"3ca4fc53-f904-4990-9545-0c4727515b27"
]
}
],
"StartDate": "2026-05-05T18:30:27.5748004+00:00",
"DueDate": "2026-05-05T18:30:27.5748004+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b08dd04e-2391-4958-81af-a97299a26b36": "6f555cc8-2b45-4441-9b31-2375ce365b16",
"fe2af13b-d66c-41d1-af3c-d531d61647d7": "59c6941f-f2d9-47c5-94fe-392007b825ca"
},
"HasUpdates": true,
"Modified": "2026-05-05T18:30:27.5748004+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-05-05T18:30:27.5748004+00:00"
},
"LastComment": "2026-05-05T18:30:27.5748004+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "49824512-160e-46e8-8876-2d7d1d3d858f",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "16f03f78-f24a-480f-bbce-3d9ac6436f0b",
"id": "c0c988a3-0820-41f8-82be-a385eed4935f",
"ConfigId": "7026c4cd-4563-4b69-bd24-a7146ceff917"
}