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": "759f441d-fdf5-4751-9f77-cb3115824953",
"Name": "sample string 1",
"Created": "2026-07-14T08:12:39.6448543+00:00",
"Modified": "2026-07-14T08:12:39.6448543+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1558806a-7b9b-4a55-b60c-c8aed1513a1d",
"72b9a52d-e7cc-40c1-b223-7be6224f2d15"
],
"NonLaborAssignments": [
{
"Id": "e66aa4ab-3d33-4095-8520-af0bae5cd068",
"ResourceId": "d0eb152d-6911-4a69-b99f-6450531fcea8",
"Quantity": 3.0
},
{
"Id": "e66aa4ab-3d33-4095-8520-af0bae5cd068",
"ResourceId": "d0eb152d-6911-4a69-b99f-6450531fcea8",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "13fdbee4-864b-43c2-82bd-8e486059a176",
"Type": 0,
"ResourceId": "b1cc3d51-f98c-4022-8a44-c97284ffdff0",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "13fdbee4-864b-43c2-82bd-8e486059a176",
"Type": 0,
"ResourceId": "b1cc3d51-f98c-4022-8a44-c97284ffdff0",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "c8822375-9e77-4aa4-a888-132b71b2f5ab",
"WorkTypeParentId": "66a3d2ca-c477-4701-990f-cb06eb7f89f6",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "cd6590ac-4451-4ae0-829e-2d550636843e",
"UPN": "e640bd05-517d-4852-b7b0-ca146c2bc98e",
"PostDate": "2026-07-14T08:12:39.6448543+00:00",
"Comment": "sample string 4",
"CC": [
"e01d2881-75f9-4aca-8dc3-0e88186ba5e1",
"df08801d-2ee1-4635-8303-77b44b15b349"
],
"Users": [
"fc3e24f2-4a68-42fe-9c09-acd0153812b9",
"b915c7ab-59b0-40f7-95f2-8a4e097f7ef5"
]
},
{
"Id": "cd6590ac-4451-4ae0-829e-2d550636843e",
"UPN": "e640bd05-517d-4852-b7b0-ca146c2bc98e",
"PostDate": "2026-07-14T08:12:39.6448543+00:00",
"Comment": "sample string 4",
"CC": [
"e01d2881-75f9-4aca-8dc3-0e88186ba5e1",
"df08801d-2ee1-4635-8303-77b44b15b349"
],
"Users": [
"fc3e24f2-4a68-42fe-9c09-acd0153812b9",
"b915c7ab-59b0-40f7-95f2-8a4e097f7ef5"
]
}
],
"StartDate": "2026-07-14T08:12:39.6448543+00:00",
"DueDate": "2026-07-14T08:12:39.6448543+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8ee8bf3e-01ff-4255-bd49-5512a9414050": "715b18f8-2539-4376-9492-952be79610eb",
"eeb99194-5015-4e04-9312-3d81226571e0": "5528f99c-c988-46ee-a827-26099acfb1a0"
},
"HasUpdates": true,
"Modified": "2026-07-14T08:12:39.6448543+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-07-14T08:12:39.6448543+00:00"
},
"LastComment": "2026-07-14T08:12:39.6448543+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "e6e6d35f-2369-4378-a14f-c89d4a29ff10",
"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": "808a1577-9e69-4cdb-a07f-98b815891009",
"id": "3eb7cea7-2851-411e-b9d4-15ac291cbad2",
"ConfigId": "23fb5b71-f43c-40cf-b852-ea9979eb15a2"
}