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": "5a79e125-6df0-4da1-b855-2e07b542bc7d",
"Name": "sample string 1",
"Created": "2025-12-04T10:50:47.5409183+00:00",
"Modified": "2025-12-04T10:50:47.5409183+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"6d7e7b32-e91d-45f1-a641-0d31853babd9",
"930f70db-8901-4648-ab18-12e5730e0b01"
],
"NonLaborAssignments": [
{
"Id": "e1b760e2-1174-4857-b778-a9ad296c9796",
"ResourceId": "f9c038f6-8178-4875-ab55-d7395e8ea480",
"Quantity": 3.0
},
{
"Id": "e1b760e2-1174-4857-b778-a9ad296c9796",
"ResourceId": "f9c038f6-8178-4875-ab55-d7395e8ea480",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "952a2f59-c182-4116-90bf-dbd97857efb5",
"Type": 0,
"ResourceId": "e682fa8c-d9bc-484d-aa8a-736957e54dbc",
"Units": 3.0
},
{
"Id": "952a2f59-c182-4116-90bf-dbd97857efb5",
"Type": 0,
"ResourceId": "e682fa8c-d9bc-484d-aa8a-736957e54dbc",
"Units": 3.0
}
],
"ParentId": "e9517696-8e54-4d0a-bab3-4d30caa91b9a",
"WorkTypeParentId": "78d01f42-e464-4c82-b016-29078da62737",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "46e005a3-3dbe-4ba0-8b6f-e9d00adaca9e",
"UPN": "43f91980-11b9-4ab6-855f-450855cfee1e",
"PostDate": "2025-12-04T10:50:47.5565518+00:00",
"Comment": "sample string 4",
"CC": [
"f113d744-2b97-4448-9278-76da39d6c65a",
"018a84e9-182e-4028-a37c-27c5224648fe"
],
"Users": [
"51a18535-d89b-4fb6-9ccd-d5710939ee5c",
"dbb7186a-3a7d-4746-abf3-32b447277a5a"
]
},
{
"Id": "46e005a3-3dbe-4ba0-8b6f-e9d00adaca9e",
"UPN": "43f91980-11b9-4ab6-855f-450855cfee1e",
"PostDate": "2025-12-04T10:50:47.5565518+00:00",
"Comment": "sample string 4",
"CC": [
"f113d744-2b97-4448-9278-76da39d6c65a",
"018a84e9-182e-4028-a37c-27c5224648fe"
],
"Users": [
"51a18535-d89b-4fb6-9ccd-d5710939ee5c",
"dbb7186a-3a7d-4746-abf3-32b447277a5a"
]
}
],
"StartDate": "2025-12-04T10:50:47.5565518+00:00",
"DueDate": "2025-12-04T10:50:47.5565518+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"785d7c1b-2d41-489f-9a4a-f06f8ba06f11": "813c0186-0356-4ad7-a8da-24ab1d44ebe6",
"ab92c0a3-775a-4b10-8ecd-674f56c2f108": "6e685ca6-4228-423b-ac05-4e6be9128ffd"
},
"HasUpdates": true,
"Modified": "2025-12-04T10:50:47.5565518+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": "2025-12-04T10:50:47.5565518+00:00"
},
"LastComment": "2025-12-04T10:50:47.5565518+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ae6247e0-2aee-478d-92c5-1002984070a1",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "4982d2af-5e51-4d63-aaad-b464734de36d",
"id": "f9aef5f4-1003-4278-b3d2-aaf9efda8ba0",
"ConfigId": "1554a691-4a0d-4cc7-96a7-8c5a8eab9049"
}