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": "dd2b3f6d-6a7d-43d5-82f5-b66d6e42641f",
"Name": "sample string 1",
"Created": "2026-01-19T20:31:57.9876766+00:00",
"Modified": "2026-01-19T20:31:57.9876766+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b29ef1f0-29ae-4555-ba57-4612d6eb0f76",
"44125ee4-06de-4ff2-8728-732130cd8c0a"
],
"NonLaborAssignments": [
{
"Id": "976ea108-c3fb-4b91-8dda-7c74f23b34a1",
"ResourceId": "bf68bd45-379b-4cad-b981-bb880138e7d5",
"Quantity": 3.0
},
{
"Id": "976ea108-c3fb-4b91-8dda-7c74f23b34a1",
"ResourceId": "bf68bd45-379b-4cad-b981-bb880138e7d5",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "af9b9a29-b0c0-4a50-825c-ffcf86d549da",
"Type": 0,
"ResourceId": "192926ac-9329-4259-abef-cf3a3ec1a62f",
"Units": 3.0
},
{
"Id": "af9b9a29-b0c0-4a50-825c-ffcf86d549da",
"Type": 0,
"ResourceId": "192926ac-9329-4259-abef-cf3a3ec1a62f",
"Units": 3.0
}
],
"ParentId": "2521dedc-8674-421d-9222-f5e558bba6e1",
"WorkTypeParentId": "000d8d4a-5f19-4937-b4ac-0a2bf9319836",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "90f92f73-7ae0-4f7a-b3eb-6fed55d779e7",
"UPN": "1220e127-3f40-4954-aa53-350f8ada9246",
"PostDate": "2026-01-19T20:31:57.9876766+00:00",
"Comment": "sample string 4",
"CC": [
"f8c61d2d-589e-457f-accb-3f52fda76b2c",
"d310c2d6-54a0-4a26-ba30-c81273c31264"
],
"Users": [
"c42cb957-e9ab-4c32-bb03-89127f294334",
"7ed045ed-5896-46fe-8d23-56e257a6de70"
]
},
{
"Id": "90f92f73-7ae0-4f7a-b3eb-6fed55d779e7",
"UPN": "1220e127-3f40-4954-aa53-350f8ada9246",
"PostDate": "2026-01-19T20:31:57.9876766+00:00",
"Comment": "sample string 4",
"CC": [
"f8c61d2d-589e-457f-accb-3f52fda76b2c",
"d310c2d6-54a0-4a26-ba30-c81273c31264"
],
"Users": [
"c42cb957-e9ab-4c32-bb03-89127f294334",
"7ed045ed-5896-46fe-8d23-56e257a6de70"
]
}
],
"StartDate": "2026-01-19T20:31:57.9876766+00:00",
"DueDate": "2026-01-19T20:31:57.9876766+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"7ca77e03-d3a0-475f-a192-2f41a3922492": "065d149d-1f9f-461e-8abc-ee579fa3c41f",
"7d040adc-1ace-4088-b1bb-ec7ae2bd3149": "e582564a-f5ad-462f-9bc8-23572378d80a"
},
"HasUpdates": true,
"Modified": "2026-01-19T20:31:57.9876766+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-01-19T20:31:57.9876766+00:00"
},
"LastComment": "2026-01-19T20:31:57.9876766+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "1f75a74e-9e69-4888-a418-0ddcc00d917b",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "b81b61e1-bfb7-4a42-9f49-750fcd589318",
"id": "2c8497de-7f7e-49df-a5e3-4e7e4100fb39",
"ConfigId": "95ff8821-556e-4ea4-9fa5-6417925d16e5"
}