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": "60d89099-85a7-4b8e-b473-e8e77fbb4156",
"Name": "sample string 1",
"Created": "2026-01-30T21:23:37.1545903+00:00",
"Modified": "2026-01-30T21:23:37.1545903+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"4adf7bf3-6c66-431d-a8b2-57138989e5d1",
"d65005aa-21ff-42c7-8a68-268d45bd6b5f"
],
"NonLaborAssignments": [
{
"Id": "d8f05710-9092-41ee-8758-8d1c6c82cb45",
"ResourceId": "5a19f287-663c-46e2-a2f5-b77425f93e7b",
"Quantity": 3.0
},
{
"Id": "d8f05710-9092-41ee-8758-8d1c6c82cb45",
"ResourceId": "5a19f287-663c-46e2-a2f5-b77425f93e7b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "96f1a624-ae8a-4007-b1c6-cd035b770f8c",
"Type": 0,
"ResourceId": "fb6cbc23-28f0-458d-9b08-c76b4d2c14e0",
"Units": 3.0
},
{
"Id": "96f1a624-ae8a-4007-b1c6-cd035b770f8c",
"Type": 0,
"ResourceId": "fb6cbc23-28f0-458d-9b08-c76b4d2c14e0",
"Units": 3.0
}
],
"ParentId": "e2f84401-e0a2-4ee2-a823-9ee766df80d5",
"WorkTypeParentId": "64e9839c-0751-4e18-92b7-dbfb4319a142",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "8b20dd8e-2c3e-447a-91dd-8e2203ef5aef",
"UPN": "869b19e4-53da-4322-ad30-48b688492300",
"PostDate": "2026-01-30T21:23:37.1545903+00:00",
"Comment": "sample string 4",
"CC": [
"cd90cb35-d225-4462-8899-5d3be4ec19d3",
"ce3f3150-9b62-476f-9e5f-c34d20320e0a"
],
"Users": [
"379345e3-7ce7-4e9c-b8d4-c07c4ab8bea0",
"7eb4bd17-1746-4a78-b3f3-ca7f34e0c7cb"
]
},
{
"Id": "8b20dd8e-2c3e-447a-91dd-8e2203ef5aef",
"UPN": "869b19e4-53da-4322-ad30-48b688492300",
"PostDate": "2026-01-30T21:23:37.1545903+00:00",
"Comment": "sample string 4",
"CC": [
"cd90cb35-d225-4462-8899-5d3be4ec19d3",
"ce3f3150-9b62-476f-9e5f-c34d20320e0a"
],
"Users": [
"379345e3-7ce7-4e9c-b8d4-c07c4ab8bea0",
"7eb4bd17-1746-4a78-b3f3-ca7f34e0c7cb"
]
}
],
"StartDate": "2026-01-30T21:23:37.1545903+00:00",
"DueDate": "2026-01-30T21:23:37.1545903+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"006b18ef-92b6-4c76-a3cf-b23cdb381c19": "2b1ccf92-2224-4e66-a6a0-47662970392a",
"b8f8f275-ebcb-43a7-b849-37165016c449": "0dad0a8b-a9f1-4556-b2d3-4380d12e74ba"
},
"HasUpdates": true,
"Modified": "2026-01-30T21:23:37.1545903+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-30T21:23:37.1545903+00:00"
},
"LastComment": "2026-01-30T21:23:37.1545903+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a50bbdc0-22dc-42c4-b808-a9938a1de432",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "0a816850-00dd-4cd6-b787-6efab49ca1ad",
"id": "77624d9f-4390-43bc-bf53-c62749805367",
"ConfigId": "98ebfd11-3923-4b57-a712-440afebef3ae"
}