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": "fd0eec99-a9cd-43d1-9a52-ef19eff64261",
"Name": "sample string 1",
"Created": "2026-04-25T17:00:25.9466475+00:00",
"Modified": "2026-04-25T17:00:25.9466475+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"6c7b609e-07cf-4b9d-bdf3-c0b96668eb83",
"f01c6280-e894-43a1-a830-ed4a3fbb3198"
],
"NonLaborAssignments": [
{
"Id": "987fa1df-1a62-4c48-b5f3-29ea9246bf66",
"ResourceId": "dcd92d93-e38f-479c-975a-ef0502292491",
"Quantity": 3.0
},
{
"Id": "987fa1df-1a62-4c48-b5f3-29ea9246bf66",
"ResourceId": "dcd92d93-e38f-479c-975a-ef0502292491",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "8c0915f3-87b0-4557-b6bd-f5a306ddec3c",
"Type": 0,
"ResourceId": "6bd0bc03-6ef8-4d3e-b4cc-4800e9c5bda3",
"Units": 3.0
},
{
"Id": "8c0915f3-87b0-4557-b6bd-f5a306ddec3c",
"Type": 0,
"ResourceId": "6bd0bc03-6ef8-4d3e-b4cc-4800e9c5bda3",
"Units": 3.0
}
],
"ParentId": "db2fdb18-d928-4760-a490-9c1f99f329d3",
"WorkTypeParentId": "dbef021e-1a8c-4c07-91b5-7b7cbc1434dc",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "914478e2-3cd1-4e62-991a-b6e450910ab8",
"UPN": "a6155e02-30c2-4032-bccf-e20b1b53670e",
"PostDate": "2026-04-25T17:00:25.9466475+00:00",
"Comment": "sample string 4",
"CC": [
"9abf7601-e16c-42c1-972e-6e160950d590",
"e4faa7d2-f634-4887-b944-0dac6d2df1aa"
],
"Users": [
"9a227909-141d-46e9-8fe5-2096978a2caa",
"00f4f2f3-02db-4cdc-b8be-a5b382e47aa2"
]
},
{
"Id": "914478e2-3cd1-4e62-991a-b6e450910ab8",
"UPN": "a6155e02-30c2-4032-bccf-e20b1b53670e",
"PostDate": "2026-04-25T17:00:25.9466475+00:00",
"Comment": "sample string 4",
"CC": [
"9abf7601-e16c-42c1-972e-6e160950d590",
"e4faa7d2-f634-4887-b944-0dac6d2df1aa"
],
"Users": [
"9a227909-141d-46e9-8fe5-2096978a2caa",
"00f4f2f3-02db-4cdc-b8be-a5b382e47aa2"
]
}
],
"StartDate": "2026-04-25T17:00:25.9466475+00:00",
"DueDate": "2026-04-25T17:00:25.9466475+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"3199ea29-e372-4a76-9666-2f8a520bb65e": "e5c61b5c-72a7-47c7-acd7-995ce60ca8f2",
"0252b56a-83b1-4026-bb90-34c9108204db": "715166c5-7e30-49e3-9100-8a6e06b8bad2"
},
"HasUpdates": true,
"Modified": "2026-04-25T17:00:25.9466475+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-25T17:00:25.9466475+00:00"
},
"LastComment": "2026-04-25T17:00:25.9466475+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "4ec3a26b-da0d-44e2-a685-1846c362e782",
"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": "a3651b8c-997d-471f-b8be-1f6a8daffecc",
"id": "c6cf77cd-63c4-4b43-b3e4-2b1dcf031822",
"ConfigId": "f0a6e57b-a9a9-4bfa-9ab1-bc7e0bb1c1e1"
}