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": "74179eac-0a35-4524-8dd0-2bb90248ea86",
"Name": "sample string 1",
"Created": "2026-06-02T03:24:00.5924397+00:00",
"Modified": "2026-06-02T03:24:00.5924397+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b01eae26-9711-4a8a-a0b9-f544288f77a7",
"e1256087-b161-4783-ba7c-0c8bbefbb259"
],
"NonLaborAssignments": [
{
"Id": "91321e53-3299-418d-a365-750d39f6e9f9",
"ResourceId": "7cda8375-35e5-425f-9dba-345624891252",
"Quantity": 3.0
},
{
"Id": "91321e53-3299-418d-a365-750d39f6e9f9",
"ResourceId": "7cda8375-35e5-425f-9dba-345624891252",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "8a6e3662-1523-4ca6-b095-86871aae1881",
"Type": 0,
"ResourceId": "4757aace-7386-4186-96a9-48a14a9b9458",
"Units": 3.0
},
{
"Id": "8a6e3662-1523-4ca6-b095-86871aae1881",
"Type": 0,
"ResourceId": "4757aace-7386-4186-96a9-48a14a9b9458",
"Units": 3.0
}
],
"ParentId": "96c01d96-8b5e-471e-a963-e66b2e124452",
"WorkTypeParentId": "84a75d97-706d-4fe3-b29e-c8a08dd68cf8",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "06b39576-f660-4ad2-bece-2f7a3f668d40",
"UPN": "0e317f80-cc53-4e43-8bd0-a5972f8476a7",
"PostDate": "2026-06-02T03:24:00.5924397+00:00",
"Comment": "sample string 4",
"CC": [
"08eca8bc-6348-4193-957c-8955331d8182",
"018a045e-b509-4c4b-be95-bc0e5334e87a"
],
"Users": [
"a323802f-dbd7-45b3-9eab-2d3d4198cf62",
"20c1b175-c692-49df-8313-f24a1f2c84b6"
]
},
{
"Id": "06b39576-f660-4ad2-bece-2f7a3f668d40",
"UPN": "0e317f80-cc53-4e43-8bd0-a5972f8476a7",
"PostDate": "2026-06-02T03:24:00.5924397+00:00",
"Comment": "sample string 4",
"CC": [
"08eca8bc-6348-4193-957c-8955331d8182",
"018a045e-b509-4c4b-be95-bc0e5334e87a"
],
"Users": [
"a323802f-dbd7-45b3-9eab-2d3d4198cf62",
"20c1b175-c692-49df-8313-f24a1f2c84b6"
]
}
],
"StartDate": "2026-06-02T03:24:00.5924397+00:00",
"DueDate": "2026-06-02T03:24:00.5924397+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"48591218-d446-47c1-b06d-bccd5206e47d": "4490ea11-b83a-4d6e-b6de-3be8f6376836",
"f8974e6e-34ee-4678-aef7-ba360629a61c": "093007a6-d0cb-4888-b1a9-16a817b1fcb8"
},
"HasUpdates": true,
"Modified": "2026-06-02T03:24:00.5924397+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-06-02T03:24:00.5924397+00:00"
},
"LastComment": "2026-06-02T03:24:00.5924397+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3442f0ea-dcde-4bb5-98f3-1062a51f3129",
"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": "f1215c1d-4589-4ced-ae86-64a50e9eb1fd",
"id": "9571bd90-4a12-4878-b246-8b6deba218fc",
"ConfigId": "badf1055-49d2-473a-92c5-5bc2e554c1ba"
}