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": "a0411b81-8823-4346-9a31-39867bfa1e34",
"Name": "sample string 1",
"Created": "2026-04-09T14:49:16.9277389+00:00",
"Modified": "2026-04-09T14:49:16.9277389+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"6387df03-4e73-4406-8ec3-3b1cc38525fe",
"fd9a3b0f-fd21-44e1-a39d-653699d372f0"
],
"NonLaborAssignments": [
{
"Id": "8a3f2f21-97fc-46e0-a62a-9c21278af969",
"ResourceId": "44d3d05c-dc3d-4216-b07d-a5cda3388b5e",
"Quantity": 3.0
},
{
"Id": "8a3f2f21-97fc-46e0-a62a-9c21278af969",
"ResourceId": "44d3d05c-dc3d-4216-b07d-a5cda3388b5e",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0d06a1be-7508-4312-9299-c303842080bc",
"Type": 0,
"ResourceId": "fb4a8597-c970-4b50-8cb8-65aa6b8beca1",
"Units": 3.0
},
{
"Id": "0d06a1be-7508-4312-9299-c303842080bc",
"Type": 0,
"ResourceId": "fb4a8597-c970-4b50-8cb8-65aa6b8beca1",
"Units": 3.0
}
],
"ParentId": "28ffc6cb-07a9-4b62-a2bf-bc95edafb7ca",
"WorkTypeParentId": "491cc449-d540-446c-8d4d-e58796a4c82c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "5a21b4a6-3ecf-4432-9640-200ec1c36d97",
"UPN": "ff456ec1-d785-48ae-86ac-a5e66ae63ca3",
"PostDate": "2026-04-09T14:49:16.9277389+00:00",
"Comment": "sample string 4",
"CC": [
"c17584e9-9efa-4ff6-b0e8-c02c33e993af",
"c45bb721-c891-432e-96b6-5325a30d7189"
],
"Users": [
"e4e87c60-8dba-4557-a70d-28510fbf6fa9",
"28aa3d58-79bd-43ce-9b92-855dba398ffc"
]
},
{
"Id": "5a21b4a6-3ecf-4432-9640-200ec1c36d97",
"UPN": "ff456ec1-d785-48ae-86ac-a5e66ae63ca3",
"PostDate": "2026-04-09T14:49:16.9277389+00:00",
"Comment": "sample string 4",
"CC": [
"c17584e9-9efa-4ff6-b0e8-c02c33e993af",
"c45bb721-c891-432e-96b6-5325a30d7189"
],
"Users": [
"e4e87c60-8dba-4557-a70d-28510fbf6fa9",
"28aa3d58-79bd-43ce-9b92-855dba398ffc"
]
}
],
"StartDate": "2026-04-09T14:49:16.9277389+00:00",
"DueDate": "2026-04-09T14:49:16.9277389+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"d4ed8b3b-5a05-4d68-bfaf-02fb2a26d119": "38ac7c7f-648d-4b92-92d3-f40f615ed859",
"ce871cc3-e99f-499d-b00c-f5f08d0da926": "89373506-d868-4fc1-a49b-b4f71fa65688"
},
"HasUpdates": true,
"Modified": "2026-04-09T14:49:16.9277389+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-09T14:49:16.9277389+00:00"
},
"LastComment": "2026-04-09T14:49:16.9277389+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "898fb466-fb14-49dd-a69e-3d4da29018ad",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "4475fa0a-0b59-42ef-9866-b8a7222673ac",
"id": "67e1c342-ce68-4b94-917e-59c649b724ae",
"ConfigId": "648d8bd3-ca3d-44ba-af83-4a4a0ae58c38"
}