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": "03fa9adc-5417-4612-aca6-4d314c1827a3",
"Name": "sample string 1",
"Created": "2026-04-18T17:07:21.1614457+00:00",
"Modified": "2026-04-18T17:07:21.1614457+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"bc8b24a6-263c-4804-9a9f-15c8f7ecf7e6",
"dc605c84-4a7f-437d-ad90-73216756b697"
],
"NonLaborAssignments": [
{
"Id": "a0812c8d-941c-45b7-97d6-26b48b53784c",
"ResourceId": "e1daae03-7464-4db2-8069-0ef6ba43dc8e",
"Quantity": 3.0
},
{
"Id": "a0812c8d-941c-45b7-97d6-26b48b53784c",
"ResourceId": "e1daae03-7464-4db2-8069-0ef6ba43dc8e",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c08012b3-192a-4d44-83a4-2fadf5557c0a",
"Type": 0,
"ResourceId": "4b72eb62-bad9-40ca-ab41-9b0d84007bbf",
"Units": 3.0
},
{
"Id": "c08012b3-192a-4d44-83a4-2fadf5557c0a",
"Type": 0,
"ResourceId": "4b72eb62-bad9-40ca-ab41-9b0d84007bbf",
"Units": 3.0
}
],
"ParentId": "d82234d3-0d77-4179-b71a-3294d05db965",
"WorkTypeParentId": "70cd441f-879a-474f-89f6-e4383b46d058",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "34b1c244-236b-4095-9738-8e3a5ff8fcc6",
"UPN": "fee4bc6e-7396-4562-b1d8-0356a996fcc3",
"PostDate": "2026-04-18T17:07:21.1614457+00:00",
"Comment": "sample string 4",
"CC": [
"11a3543e-a243-4772-a6c9-8169e3b60f7a",
"838df630-f97f-4990-882a-6312fe6b4fae"
],
"Users": [
"ab81a4b7-d8e0-43a1-ac38-7c2b713892d8",
"bbc7f853-68e8-4a36-bd70-64cfcb90d2b5"
]
},
{
"Id": "34b1c244-236b-4095-9738-8e3a5ff8fcc6",
"UPN": "fee4bc6e-7396-4562-b1d8-0356a996fcc3",
"PostDate": "2026-04-18T17:07:21.1614457+00:00",
"Comment": "sample string 4",
"CC": [
"11a3543e-a243-4772-a6c9-8169e3b60f7a",
"838df630-f97f-4990-882a-6312fe6b4fae"
],
"Users": [
"ab81a4b7-d8e0-43a1-ac38-7c2b713892d8",
"bbc7f853-68e8-4a36-bd70-64cfcb90d2b5"
]
}
],
"StartDate": "2026-04-18T17:07:21.1614457+00:00",
"DueDate": "2026-04-18T17:07:21.1614457+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"a6e92398-cdba-479f-b35e-ad6ba3b1748e": "b4b579f5-c7d3-4be4-ab30-f071a9904aec",
"03031df6-0508-4a4b-a827-f07c1042482e": "965714cd-52f6-429d-9c68-027719677ff6"
},
"HasUpdates": true,
"Modified": "2026-04-18T17:07:21.1614457+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-04-18T17:07:21.1614457+00:00"
},
"LastComment": "2026-04-18T17:07:21.1614457+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b1aec8a8-9e50-457e-bf79-ee61f9952e2c",
"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": "09e23fa3-c398-49cd-9bad-f90407186956",
"id": "fd5d1e76-5ae4-4c02-ba39-b4094f40be12",
"ConfigId": "6c20c357-2d9d-45bd-9b4c-0571ea225f2d"
}