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": "08148fc4-ca39-4542-96d3-43b50cf39ca9",
"Name": "sample string 1",
"Created": "2025-12-05T13:37:06.8821485+00:00",
"Modified": "2025-12-05T13:37:06.8821485+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"5175b186-5ee0-4971-93f3-29e4b087aac5",
"afe4f914-a6a6-4257-be54-e7e4b96b8b06"
],
"NonLaborAssignments": [
{
"Id": "b4ef07ad-b477-4dba-b9f9-590102195dd1",
"ResourceId": "6ee26de8-824b-4e23-a778-6c9f6f20e28b",
"Quantity": 3.0
},
{
"Id": "b4ef07ad-b477-4dba-b9f9-590102195dd1",
"ResourceId": "6ee26de8-824b-4e23-a778-6c9f6f20e28b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0512d136-cf03-49db-ac08-6aae8eb2e26f",
"Type": 0,
"ResourceId": "ff1ac399-e8b9-4578-9139-d4e8d62f4373",
"Units": 3.0
},
{
"Id": "0512d136-cf03-49db-ac08-6aae8eb2e26f",
"Type": 0,
"ResourceId": "ff1ac399-e8b9-4578-9139-d4e8d62f4373",
"Units": 3.0
}
],
"ParentId": "ee364579-039f-4a35-bcad-83a9ea105a6a",
"WorkTypeParentId": "3492420c-6db1-45bd-aaf1-3fda289baae1",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "86ccc83d-1b43-454e-ae2d-16df5bb67ac8",
"UPN": "d7daa11c-7616-40f2-93b3-18e3dabfdbf9",
"PostDate": "2025-12-05T13:37:06.8821485+00:00",
"Comment": "sample string 4",
"CC": [
"66d358af-3e67-41f2-8c3a-7c23d50d3ced",
"df8b3b2e-e9ea-47df-9de3-74cd60034f72"
],
"Users": [
"0ea34bf1-59b1-4e8a-8f8e-b03cf3abb31b",
"a8cc56aa-328a-478b-9877-0c2b6bb04668"
]
},
{
"Id": "86ccc83d-1b43-454e-ae2d-16df5bb67ac8",
"UPN": "d7daa11c-7616-40f2-93b3-18e3dabfdbf9",
"PostDate": "2025-12-05T13:37:06.8821485+00:00",
"Comment": "sample string 4",
"CC": [
"66d358af-3e67-41f2-8c3a-7c23d50d3ced",
"df8b3b2e-e9ea-47df-9de3-74cd60034f72"
],
"Users": [
"0ea34bf1-59b1-4e8a-8f8e-b03cf3abb31b",
"a8cc56aa-328a-478b-9877-0c2b6bb04668"
]
}
],
"StartDate": "2025-12-05T13:37:06.8821485+00:00",
"DueDate": "2025-12-05T13:37:06.8821485+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"7aa9ff82-1b5a-47f8-aa69-828000fbcc7d": "53a807a4-37c6-4e59-b63e-233025920816",
"4aa1c8bd-d1f1-4d8f-a0c6-7b2e949d36fe": "607cbe04-5b54-4caa-832d-9b80f936dab8"
},
"HasUpdates": true,
"Modified": "2025-12-05T13:37:06.8821485+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-12-05T13:37:06.8821485+00:00"
},
"LastComment": "2025-12-05T13:37:06.8821485+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "19f71849-78d8-4913-84f1-d38cf4d31dc5",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "cf9bef3c-48e4-4862-9858-a26eadbe26be",
"id": "3e232183-b047-4f51-8b35-2724028bb7df",
"ConfigId": "bdf39c87-191a-4325-8a72-64a57f37aa09"
}