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": "d8c01437-732a-4f03-84f0-0e9d0c30450b",
"Name": "sample string 1",
"Created": "2026-04-15T17:04:43.6175329+00:00",
"Modified": "2026-04-15T17:04:43.6175329+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"c3238dfe-42f7-428b-9b67-0cb839ef061d",
"0a08b8af-2997-4ad9-858d-a0b2af2c806b"
],
"NonLaborAssignments": [
{
"Id": "ba300666-8630-4b76-b69d-c8af782a4a94",
"ResourceId": "ee975240-3dfd-493b-9106-ad4cf940a1ff",
"Quantity": 3.0
},
{
"Id": "ba300666-8630-4b76-b69d-c8af782a4a94",
"ResourceId": "ee975240-3dfd-493b-9106-ad4cf940a1ff",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "9e3a953a-e9bb-4dda-a641-e2e813bb45fb",
"Type": 0,
"ResourceId": "8bfd28f9-ca89-4a8e-a10b-d070d3cf1be3",
"Units": 3.0
},
{
"Id": "9e3a953a-e9bb-4dda-a641-e2e813bb45fb",
"Type": 0,
"ResourceId": "8bfd28f9-ca89-4a8e-a10b-d070d3cf1be3",
"Units": 3.0
}
],
"ParentId": "d0dc7d13-d803-40cc-991f-bc8013213af8",
"WorkTypeParentId": "23bf0846-bbd1-49a3-ae70-e2142284fb1a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "49bbbee0-21e0-474f-902a-967a77ec9436",
"UPN": "5accc823-f841-4b9d-b1b8-e9831f946b38",
"PostDate": "2026-04-15T17:04:43.6175329+00:00",
"Comment": "sample string 4",
"CC": [
"44976154-4290-4a78-8dd6-77a41e09394d",
"82eed721-9e30-43ce-8fa5-ff994fe6491e"
],
"Users": [
"057a8a74-ba74-4732-98dc-6139997361f8",
"a1b3dc9e-2f5e-4463-9723-d86f103ba2d3"
]
},
{
"Id": "49bbbee0-21e0-474f-902a-967a77ec9436",
"UPN": "5accc823-f841-4b9d-b1b8-e9831f946b38",
"PostDate": "2026-04-15T17:04:43.6175329+00:00",
"Comment": "sample string 4",
"CC": [
"44976154-4290-4a78-8dd6-77a41e09394d",
"82eed721-9e30-43ce-8fa5-ff994fe6491e"
],
"Users": [
"057a8a74-ba74-4732-98dc-6139997361f8",
"a1b3dc9e-2f5e-4463-9723-d86f103ba2d3"
]
}
],
"StartDate": "2026-04-15T17:04:43.6175329+00:00",
"DueDate": "2026-04-15T17:04:43.6175329+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"499a3802-ac24-45b0-8834-303e9cca991f": "b91be094-3890-4941-b4da-f059ee549746",
"949f2563-b24f-4479-881f-651bd35ce3cf": "fd0b2845-11bc-4ade-a238-4196df39c520"
},
"HasUpdates": true,
"Modified": "2026-04-15T17:04:43.6175329+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-15T17:04:43.6175329+00:00"
},
"LastComment": "2026-04-15T17:04:43.6175329+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b21168d8-8cfb-42fd-885d-00c8e57e8575",
"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": "fa7f8272-7e49-4bf6-a89a-a84969673cfe",
"id": "5fd3795b-b9e6-41af-a6cd-e30d409d50e5",
"ConfigId": "63439f13-8fd0-4a6a-9e4e-70031c1fb330"
}