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": "70474b4d-a806-437a-a1c3-62a0dbb6bff5",
"Name": "sample string 1",
"Created": "2026-03-19T06:36:46.5942015+00:00",
"Modified": "2026-03-19T06:36:46.5942015+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1da0412c-cb0a-4d63-afa7-9ac5bf7cbee4",
"469f07ee-dccb-4d74-bd33-6b3af39ee19c"
],
"NonLaborAssignments": [
{
"Id": "eff2ef92-40ed-47e9-acce-da0d2c584240",
"ResourceId": "106390e6-87b8-4b20-b4a6-8c32e159bb7d",
"Quantity": 3.0
},
{
"Id": "eff2ef92-40ed-47e9-acce-da0d2c584240",
"ResourceId": "106390e6-87b8-4b20-b4a6-8c32e159bb7d",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "aeb74971-9026-491e-9c46-48bada31c062",
"Type": 0,
"ResourceId": "aa871243-c61e-4a8b-885e-309bde0be7ab",
"Units": 3.0
},
{
"Id": "aeb74971-9026-491e-9c46-48bada31c062",
"Type": 0,
"ResourceId": "aa871243-c61e-4a8b-885e-309bde0be7ab",
"Units": 3.0
}
],
"ParentId": "3f5fd4e3-e34f-4942-ae59-1ce1fa051901",
"WorkTypeParentId": "0e10d38a-87f7-475c-92cc-8f06972b139a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "f9df169e-4f02-438e-9d24-7c094fc95190",
"UPN": "2574e4aa-794e-475c-a7da-b159a44a0a06",
"PostDate": "2026-03-19T06:36:46.5942015+00:00",
"Comment": "sample string 4",
"CC": [
"9a657f4a-51d2-4118-ab22-d72348efbf39",
"cf629709-5bb5-4656-aa06-09c25cee4deb"
],
"Users": [
"4bbb3d26-0d66-48fb-bba9-3fbb3b36e667",
"4e84a469-b3c5-4ba4-942e-560ddcabbaa6"
]
},
{
"Id": "f9df169e-4f02-438e-9d24-7c094fc95190",
"UPN": "2574e4aa-794e-475c-a7da-b159a44a0a06",
"PostDate": "2026-03-19T06:36:46.5942015+00:00",
"Comment": "sample string 4",
"CC": [
"9a657f4a-51d2-4118-ab22-d72348efbf39",
"cf629709-5bb5-4656-aa06-09c25cee4deb"
],
"Users": [
"4bbb3d26-0d66-48fb-bba9-3fbb3b36e667",
"4e84a469-b3c5-4ba4-942e-560ddcabbaa6"
]
}
],
"StartDate": "2026-03-19T06:36:46.5942015+00:00",
"DueDate": "2026-03-19T06:36:46.5942015+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"e0e8a115-817c-4e0f-967f-05b3a231e082": "0329bae9-8ab4-480b-933e-9a098b7068a0",
"f4986a8c-22c3-45ea-afe6-6e41b22817f2": "fe395bae-73d7-45da-85b5-5a8f50f3e774"
},
"HasUpdates": true,
"Modified": "2026-03-19T06:36:46.5942015+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-19T06:36:46.5942015+00:00"
},
"LastComment": "2026-03-19T06:36:46.5942015+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "005c85d3-0083-4720-82da-70b970b49615",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "088b4bd7-2f91-4ad6-9417-88ea399bc69b",
"id": "c8fe92dd-815e-462c-9a35-e947c954c166",
"ConfigId": "6cddac3d-32a1-4b64-9c0d-36eccc3e24e5"
}