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": "eddad5af-64bb-4d6d-9eb8-7f9884f52e5a",
"Name": "sample string 1",
"Created": "2026-04-28T17:50:00.625726+00:00",
"Modified": "2026-04-28T17:50:00.625726+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"18df8460-12c0-47f5-96aa-b0e883d7ea0e",
"53fadfdd-2e7a-4b2b-9daa-2a8cb3beedea"
],
"NonLaborAssignments": [
{
"Id": "4e4563f8-f619-4107-9e7b-7efbd87d92f0",
"ResourceId": "68637531-2f4a-4597-ab2d-b9753ef2d828",
"Quantity": 3.0
},
{
"Id": "4e4563f8-f619-4107-9e7b-7efbd87d92f0",
"ResourceId": "68637531-2f4a-4597-ab2d-b9753ef2d828",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "86edf0bc-334a-4475-83ad-78dd59023b35",
"Type": 0,
"ResourceId": "ed819cb8-3b37-4c50-8ba9-577a0c3b6319",
"Units": 3.0
},
{
"Id": "86edf0bc-334a-4475-83ad-78dd59023b35",
"Type": 0,
"ResourceId": "ed819cb8-3b37-4c50-8ba9-577a0c3b6319",
"Units": 3.0
}
],
"ParentId": "da27ad22-2dde-4ff9-b7cf-1d55a65d0809",
"WorkTypeParentId": "81bc4ec8-eade-4d2b-bacf-4d685d2c3e90",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9e7da7e4-23b3-46cb-91b2-354e5caf655d",
"UPN": "71f9f2fb-80c0-41d9-a811-1b1d1f73a97e",
"PostDate": "2026-04-28T17:50:00.6413479+00:00",
"Comment": "sample string 4",
"CC": [
"74e7a476-1eda-4f17-8bed-35c97c87d699",
"a2bed18e-4d42-4709-828d-f1e2030aba4c"
],
"Users": [
"8a3f90e6-1fc9-44a1-90d9-9e1c282a3977",
"bfddf17c-97be-4941-b06b-8922844b7f55"
]
},
{
"Id": "9e7da7e4-23b3-46cb-91b2-354e5caf655d",
"UPN": "71f9f2fb-80c0-41d9-a811-1b1d1f73a97e",
"PostDate": "2026-04-28T17:50:00.6413479+00:00",
"Comment": "sample string 4",
"CC": [
"74e7a476-1eda-4f17-8bed-35c97c87d699",
"a2bed18e-4d42-4709-828d-f1e2030aba4c"
],
"Users": [
"8a3f90e6-1fc9-44a1-90d9-9e1c282a3977",
"bfddf17c-97be-4941-b06b-8922844b7f55"
]
}
],
"StartDate": "2026-04-28T17:50:00.6413479+00:00",
"DueDate": "2026-04-28T17:50:00.6413479+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b9d80b3d-ff42-43a9-9584-89e79df7912b": "1b4377bf-8294-4675-9358-91f8562df93e",
"9e59c32b-5f65-44ca-bd48-52132e7bdd5f": "3c38f100-87ca-4b6c-8fb8-d8446c366671"
},
"HasUpdates": true,
"Modified": "2026-04-28T17:50:00.6413479+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-28T17:50:00.6413479+00:00"
},
"LastComment": "2026-04-28T17:50:00.6413479+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "f541b29e-ceb3-4406-bb8c-8786b2085f59",
"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": "4e3fd217-18a9-4f49-8049-e6b20fe6801d",
"id": "1eac2601-c866-4a67-97a0-be65ef52195c",
"ConfigId": "05a7c05d-5187-42bd-b22a-a1475bdc43a9"
}