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": "92bf0a8c-7d96-476e-a7be-6429ee209c4f",
"Name": "sample string 1",
"Created": "2026-05-08T18:58:15.7688242+00:00",
"Modified": "2026-05-08T18:58:15.7688242+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"4801137b-af83-4957-89d9-f3fac4f447c2",
"9b435e2f-128e-4ca0-ac4a-cc9f03fa2d7c"
],
"NonLaborAssignments": [
{
"Id": "d605181a-b40b-4392-a435-4eccefbf34e3",
"ResourceId": "28ac4c83-1987-4d81-af5b-c95222912cca",
"Quantity": 3.0
},
{
"Id": "d605181a-b40b-4392-a435-4eccefbf34e3",
"ResourceId": "28ac4c83-1987-4d81-af5b-c95222912cca",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "d8a698ad-b4d1-4ec6-8f34-f73e3d3d3b38",
"Type": 0,
"ResourceId": "db6b19fa-4e83-4bf0-866c-9c32b5d963b0",
"Units": 3.0
},
{
"Id": "d8a698ad-b4d1-4ec6-8f34-f73e3d3d3b38",
"Type": 0,
"ResourceId": "db6b19fa-4e83-4bf0-866c-9c32b5d963b0",
"Units": 3.0
}
],
"ParentId": "3e07fae6-b8e0-4305-b9f5-0887495ecc73",
"WorkTypeParentId": "a0b68779-76d6-4dfa-82a6-8e5cf8f3a676",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "ef7b10dd-e434-498b-acfe-b172d8524049",
"UPN": "595b3307-b4d8-4cf3-a453-5ac95f7458a1",
"PostDate": "2026-05-08T18:58:15.7688242+00:00",
"Comment": "sample string 4",
"CC": [
"0f13f4fe-93e0-49de-8239-90860c69822e",
"add4ea2c-69bc-43fa-a7c8-e29c212c6e9c"
],
"Users": [
"36bacbd2-78d2-4bbb-8c0d-9cb286b9da65",
"6a287967-5c6a-4d77-8920-8933e14702e2"
]
},
{
"Id": "ef7b10dd-e434-498b-acfe-b172d8524049",
"UPN": "595b3307-b4d8-4cf3-a453-5ac95f7458a1",
"PostDate": "2026-05-08T18:58:15.7688242+00:00",
"Comment": "sample string 4",
"CC": [
"0f13f4fe-93e0-49de-8239-90860c69822e",
"add4ea2c-69bc-43fa-a7c8-e29c212c6e9c"
],
"Users": [
"36bacbd2-78d2-4bbb-8c0d-9cb286b9da65",
"6a287967-5c6a-4d77-8920-8933e14702e2"
]
}
],
"StartDate": "2026-05-08T18:58:15.7688242+00:00",
"DueDate": "2026-05-08T18:58:15.7688242+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"19276afe-a577-4745-adbb-ca86c1f90c25": "50b5117b-9d63-4a96-a8c5-25715e268269",
"d44d03cf-6aae-48eb-97ad-f0adcc4718df": "8f16ea57-0ef1-48ca-a3b3-5d72f8e8a9ce"
},
"HasUpdates": true,
"Modified": "2026-05-08T18:58:15.7688242+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-05-08T18:58:15.7688242+00:00"
},
"LastComment": "2026-05-08T18:58:15.7688242+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b751994f-c367-478a-a773-1e8958999369",
"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": "2520762c-6c0c-4051-9349-a6ee6246e309",
"id": "cbebd355-3ba0-4541-ace9-99aac9344c8b",
"ConfigId": "838107ab-d701-4ac6-8709-9bed9f95f6a5"
}