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": "f92293b1-70ae-47d1-a039-48059c823dcc",
"Name": "sample string 1",
"Created": "2025-11-27T00:26:21.446121+00:00",
"Modified": "2025-11-27T00:26:21.446121+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"bd53becb-f4d6-49be-958a-837732ca88c8",
"497130c3-6ab7-4c5a-be06-d770a5885ed6"
],
"NonLaborAssignments": [
{
"Id": "b4dbf5f3-c898-453b-85b7-a522030ca893",
"ResourceId": "188a2f63-3402-4e66-9a5b-896ae41e66cf",
"Quantity": 3.0
},
{
"Id": "b4dbf5f3-c898-453b-85b7-a522030ca893",
"ResourceId": "188a2f63-3402-4e66-9a5b-896ae41e66cf",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "052b9ff4-3439-4e2c-b066-e7fef8b9827d",
"Type": 0,
"ResourceId": "e5d6ee08-076c-4009-a750-7ff4fea8c673",
"Units": 3.0
},
{
"Id": "052b9ff4-3439-4e2c-b066-e7fef8b9827d",
"Type": 0,
"ResourceId": "e5d6ee08-076c-4009-a750-7ff4fea8c673",
"Units": 3.0
}
],
"ParentId": "c6802822-a691-4707-978a-596b45bd2726",
"WorkTypeParentId": "09ee4f81-1004-4ddd-8e8c-23f7e7cf8796",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "3c83c4f7-e975-402a-bf7c-a1e646f3d907",
"UPN": "d92759da-d896-4b67-915e-cab97f7e3ae7",
"PostDate": "2025-11-27T00:26:21.446121+00:00",
"Comment": "sample string 4",
"CC": [
"dd830ad9-5320-4854-aba3-93cdcfdf5bcf",
"5acb39f1-083b-423b-b340-0916e6d85389"
],
"Users": [
"df61a7ba-ab66-4b73-ad8f-bb3908b80a39",
"c7bd84e1-187c-4e92-adf2-65b6f5b27489"
]
},
{
"Id": "3c83c4f7-e975-402a-bf7c-a1e646f3d907",
"UPN": "d92759da-d896-4b67-915e-cab97f7e3ae7",
"PostDate": "2025-11-27T00:26:21.446121+00:00",
"Comment": "sample string 4",
"CC": [
"dd830ad9-5320-4854-aba3-93cdcfdf5bcf",
"5acb39f1-083b-423b-b340-0916e6d85389"
],
"Users": [
"df61a7ba-ab66-4b73-ad8f-bb3908b80a39",
"c7bd84e1-187c-4e92-adf2-65b6f5b27489"
]
}
],
"StartDate": "2025-11-27T00:26:21.446121+00:00",
"DueDate": "2025-11-27T00:26:21.446121+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b6bdfefd-ed8d-4c64-8893-7f6757f564d3": "134b1c3f-72b7-417b-ba74-944de74ad15e",
"d5948544-517e-49e4-9c19-f2933c406490": "2350aeec-87eb-4064-a0c9-8eb9a362f356"
},
"HasUpdates": true,
"Modified": "2025-11-27T00:26:21.446121+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-11-27T00:26:21.446121+00:00"
},
"LastComment": "2025-11-27T00:26:21.446121+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "77900aa2-efbb-48a2-9050-e29c9596bf62",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "b5f7e770-d751-46b0-aaa8-3964d3d8fd07",
"id": "42a0b46d-6fe6-4c85-aace-35d3b7d959f1",
"ConfigId": "eedef928-279b-446d-868b-97a51d14c958"
}