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": "8564748c-d398-4436-b49d-fa707dba008f",
"Name": "sample string 1",
"Created": "2026-03-04T01:40:10.9797405+00:00",
"Modified": "2026-03-04T01:40:10.9797405+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"abd5f948-355e-4b57-8245-dc1a661bbaf9",
"ed82ec87-f1a1-4e8f-a852-fe0607cdf14a"
],
"NonLaborAssignments": [
{
"Id": "7d7c06f8-296f-4c16-ba50-b14446580ee9",
"ResourceId": "ad3b2906-b26a-48cc-8d18-dd5f4ef4a12c",
"Quantity": 3.0
},
{
"Id": "7d7c06f8-296f-4c16-ba50-b14446580ee9",
"ResourceId": "ad3b2906-b26a-48cc-8d18-dd5f4ef4a12c",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "dd471f77-6e28-4d9d-88b6-613b1fce54fe",
"Type": 0,
"ResourceId": "a3d7be75-59e9-44ea-b6c5-67c42e5849a8",
"Units": 3.0
},
{
"Id": "dd471f77-6e28-4d9d-88b6-613b1fce54fe",
"Type": 0,
"ResourceId": "a3d7be75-59e9-44ea-b6c5-67c42e5849a8",
"Units": 3.0
}
],
"ParentId": "491cb348-d3c1-43fb-a2db-25eea896f135",
"WorkTypeParentId": "7e380e67-a6bf-49dd-9ea8-c906dd4a9563",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "39e138ce-3a76-4678-a20b-3b50348d20c5",
"UPN": "3d3e2aa4-ed6a-4c6e-9c71-bab6bef38319",
"PostDate": "2026-03-04T01:40:10.9797405+00:00",
"Comment": "sample string 4",
"CC": [
"80167027-90c5-4259-9c00-83784ab27d02",
"e8ef8783-1754-4b40-b4a0-197ba5225fe5"
],
"Users": [
"db9c4933-0043-4a53-9188-5439c13218f4",
"8a57592c-ad0d-4e5e-a451-d8f6c6d3b314"
]
},
{
"Id": "39e138ce-3a76-4678-a20b-3b50348d20c5",
"UPN": "3d3e2aa4-ed6a-4c6e-9c71-bab6bef38319",
"PostDate": "2026-03-04T01:40:10.9797405+00:00",
"Comment": "sample string 4",
"CC": [
"80167027-90c5-4259-9c00-83784ab27d02",
"e8ef8783-1754-4b40-b4a0-197ba5225fe5"
],
"Users": [
"db9c4933-0043-4a53-9188-5439c13218f4",
"8a57592c-ad0d-4e5e-a451-d8f6c6d3b314"
]
}
],
"StartDate": "2026-03-04T01:40:10.9797405+00:00",
"DueDate": "2026-03-04T01:40:10.9797405+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"53608a11-f438-4f6f-a5fe-4f6e60c1887c": "9c14df62-ab33-49b2-adfe-1e8637399d09",
"bb43af63-15d8-4c68-aa0a-f1708caecb3f": "31808eb5-32c7-4c58-a7bb-76bd9e3045a6"
},
"HasUpdates": true,
"Modified": "2026-03-04T01:40:10.9797405+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-03-04T01:40:10.9797405+00:00"
},
"LastComment": "2026-03-04T01:40:10.9797405+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "62cfa3a3-fade-4626-8ad5-487dd985e600",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "f52cb0b4-2060-4cbd-90ce-ebf46c220dbe",
"id": "9fbad1bc-4172-42ef-8ac3-a40a4e18fd3c",
"ConfigId": "07552d1d-1698-42a2-a824-6b9c73536e1b"
}