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": "62846ed3-5471-4765-88a3-0ccb395f104b",
"Name": "sample string 1",
"Created": "2026-01-18T06:53:42.5429731+00:00",
"Modified": "2026-01-18T06:53:42.5429731+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"d1bee64e-2934-49eb-810e-f8640b103a4b",
"1d87980a-cbe6-4e46-bf6f-78d9817760b3"
],
"NonLaborAssignments": [
{
"Id": "e25b3a83-a587-42ff-86d3-bd209caa92b2",
"ResourceId": "2685ef07-d0e6-4628-8e12-ca232c2c4ae2",
"Quantity": 3.0
},
{
"Id": "e25b3a83-a587-42ff-86d3-bd209caa92b2",
"ResourceId": "2685ef07-d0e6-4628-8e12-ca232c2c4ae2",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "aec2aff0-1824-4282-8caf-d9a9e80d50bd",
"Type": 0,
"ResourceId": "da964901-2d05-453d-bf25-80e7640088fe",
"Units": 3.0
},
{
"Id": "aec2aff0-1824-4282-8caf-d9a9e80d50bd",
"Type": 0,
"ResourceId": "da964901-2d05-453d-bf25-80e7640088fe",
"Units": 3.0
}
],
"ParentId": "7f80ef5b-497d-4be9-a289-ab89b89230ae",
"WorkTypeParentId": "a6f401c8-59eb-46f7-ad62-99800bf14f01",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "32657a40-6429-4ac7-97b3-13cc07147bf7",
"UPN": "c63d3cf4-f77d-4392-b63d-343f4a0deb7a",
"PostDate": "2026-01-18T06:53:42.5429731+00:00",
"Comment": "sample string 4",
"CC": [
"3e21cb7f-2450-41c5-956a-598add807f00",
"f2ace7d0-5a58-4fa8-a38a-c9bbb86639c9"
],
"Users": [
"12f48b11-7c8a-4f65-b67d-7a1812a66d9f",
"025d1a6f-f353-4824-be81-f79deee10b2c"
]
},
{
"Id": "32657a40-6429-4ac7-97b3-13cc07147bf7",
"UPN": "c63d3cf4-f77d-4392-b63d-343f4a0deb7a",
"PostDate": "2026-01-18T06:53:42.5429731+00:00",
"Comment": "sample string 4",
"CC": [
"3e21cb7f-2450-41c5-956a-598add807f00",
"f2ace7d0-5a58-4fa8-a38a-c9bbb86639c9"
],
"Users": [
"12f48b11-7c8a-4f65-b67d-7a1812a66d9f",
"025d1a6f-f353-4824-be81-f79deee10b2c"
]
}
],
"StartDate": "2026-01-18T06:53:42.5429731+00:00",
"DueDate": "2026-01-18T06:53:42.5429731+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"7da3e09f-a8af-477a-9976-f650ece3edc0": "61f35e34-83db-4ceb-9c30-7a61add62313",
"e194ae3e-2acc-44d2-866d-7d488e2ed260": "38c2e312-7a1e-4680-ae8b-241cf90db560"
},
"HasUpdates": true,
"Modified": "2026-01-18T06:53:42.5429731+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-18T06:53:42.5429731+00:00"
},
"LastComment": "2026-01-18T06:53:42.5429731+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "04f063c1-5a24-45ab-bbf5-8b28a53a9f1e",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "4973f0a2-e292-4fab-a59f-dd14d064a18b",
"id": "aea54ebf-c45e-4a46-8008-de0c316b511c",
"ConfigId": "20a0463d-7c67-435b-badc-de07cf8e23db"
}