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": "5b9264e7-ad32-48ba-8855-84caabe267b7",
"Name": "sample string 1",
"Created": "2026-04-06T11:11:00.5717374+00:00",
"Modified": "2026-04-06T11:11:00.5717374+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a7efef46-65b3-4ec4-8aa4-c3258189baf9",
"80303572-ace3-40a9-ae8d-820acde32cb7"
],
"NonLaborAssignments": [
{
"Id": "ff2bc17b-509c-4a9c-88c7-a38c649beb03",
"ResourceId": "18ea21ae-3be6-4c59-8d64-5f9154f0d718",
"Quantity": 3.0
},
{
"Id": "ff2bc17b-509c-4a9c-88c7-a38c649beb03",
"ResourceId": "18ea21ae-3be6-4c59-8d64-5f9154f0d718",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "48b18494-1f21-4f1d-879e-1294ccf338e0",
"Type": 0,
"ResourceId": "74b85f48-4010-4f6a-a67b-7246a1365641",
"Units": 3.0
},
{
"Id": "48b18494-1f21-4f1d-879e-1294ccf338e0",
"Type": 0,
"ResourceId": "74b85f48-4010-4f6a-a67b-7246a1365641",
"Units": 3.0
}
],
"ParentId": "5c91df1a-cebb-4868-bcd7-1e75a6e876a3",
"WorkTypeParentId": "8ed0a602-e731-4db2-80e4-40888390c9be",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9eade5da-04e5-41b3-a741-d189a6a603b4",
"UPN": "0b05c01f-bc18-4ddd-af4c-b4dff86c8f31",
"PostDate": "2026-04-06T11:11:00.5717374+00:00",
"Comment": "sample string 4",
"CC": [
"1e8492d6-0988-40f8-9796-c125e3f37934",
"1445a74b-3142-4c8b-9584-39105ef6c1a8"
],
"Users": [
"7d881ba1-6113-44af-8a0d-33c4e7236d31",
"5418b1d1-283e-44eb-8554-14ef88943bc7"
]
},
{
"Id": "9eade5da-04e5-41b3-a741-d189a6a603b4",
"UPN": "0b05c01f-bc18-4ddd-af4c-b4dff86c8f31",
"PostDate": "2026-04-06T11:11:00.5717374+00:00",
"Comment": "sample string 4",
"CC": [
"1e8492d6-0988-40f8-9796-c125e3f37934",
"1445a74b-3142-4c8b-9584-39105ef6c1a8"
],
"Users": [
"7d881ba1-6113-44af-8a0d-33c4e7236d31",
"5418b1d1-283e-44eb-8554-14ef88943bc7"
]
}
],
"StartDate": "2026-04-06T11:11:00.5717374+00:00",
"DueDate": "2026-04-06T11:11:00.5717374+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"84015e64-86ca-4802-a45c-4ae22d07c30f": "f844276b-820d-450c-aaf1-fb61aecf0539",
"fadff845-0c1a-48dd-9149-b42481b1ee9a": "ffd0a49d-1346-4834-a987-3d062c9d58f2"
},
"HasUpdates": true,
"Modified": "2026-04-06T11:11:00.5717374+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-06T11:11:00.5717374+00:00"
},
"LastComment": "2026-04-06T11:11:00.5717374+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "c0198743-1cbc-4b40-8edd-503e3239e9a9",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "34ff4bf5-4dd4-4660-82fe-036f34a3062d",
"id": "fe26d384-4a9d-4107-b796-62ecf64d238c",
"ConfigId": "b618cf04-e7a6-4835-a763-332920af0180"
}