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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "c2aa3c17-e534-4e08-b8cf-6c5b565ac137",
"Name": "sample string 1",
"Created": "2026-08-25T18:35:12.5477767+00:00",
"Modified": "2026-08-25T18:35:12.5477767+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"aa6e97fb-aae0-4dfd-a7e2-6746ac4c9a00",
"91ef02e8-3bf2-4f89-994d-757816889708"
],
"NonLaborAssignments": [
{
"Id": "d8bb4076-d7b0-4c2b-88f9-461800fae472",
"ResourceId": "54dd8bb0-ec26-4c37-a17c-7bbcc9e07788",
"Quantity": 3.0
},
{
"Id": "d8bb4076-d7b0-4c2b-88f9-461800fae472",
"ResourceId": "54dd8bb0-ec26-4c37-a17c-7bbcc9e07788",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "3f782934-bb0d-467f-b8c3-5d878e09055a",
"Type": 0,
"ResourceId": "aa752b1b-b671-4701-8901-2c3a5258bf65",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "3f782934-bb0d-467f-b8c3-5d878e09055a",
"Type": 0,
"ResourceId": "aa752b1b-b671-4701-8901-2c3a5258bf65",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "d09d776e-37ed-40c7-8589-a9c8aed96027",
"WorkTypeParentId": "a56121e4-41df-4abb-9290-f7d7289890a3",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "891a1d6f-56d3-4671-8931-4440e3feeab4",
"UPN": "fcc18106-1493-45f2-9783-cb2a06208e00",
"PostDate": "2026-08-25T18:35:12.5477767+00:00",
"Comment": "sample string 4",
"CC": [
"772e124a-5948-4955-8b4e-70bbb1dfd8fb",
"43fd84d4-3beb-4747-84ef-5e1fbc1058a4"
],
"Users": [
"fc47fd55-0563-48f6-807e-c81d7977d18f",
"ab930047-f98a-4475-b322-bd8ac5e7ac08"
]
},
{
"Id": "891a1d6f-56d3-4671-8931-4440e3feeab4",
"UPN": "fcc18106-1493-45f2-9783-cb2a06208e00",
"PostDate": "2026-08-25T18:35:12.5477767+00:00",
"Comment": "sample string 4",
"CC": [
"772e124a-5948-4955-8b4e-70bbb1dfd8fb",
"43fd84d4-3beb-4747-84ef-5e1fbc1058a4"
],
"Users": [
"fc47fd55-0563-48f6-807e-c81d7977d18f",
"ab930047-f98a-4475-b322-bd8ac5e7ac08"
]
}
],
"StartDate": "2026-08-25T18:35:12.5477767+00:00",
"DueDate": "2026-08-25T18:35:12.5477767+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"c27c49ff-dc6a-43cc-8e2d-bd2f4de026dd": "d8a2e753-e754-42ee-b858-46dad956dff1",
"00dec723-108c-4874-9d77-f5843e288072": "ccf6cfb1-877f-45cd-a8f2-68f2a373f158"
},
"HasUpdates": true,
"Modified": "2026-08-25T18:35:12.5477767+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-08-25T18:35:12.5477767+00:00"
},
"LastComment": "2026-08-25T18:35:12.5477767+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "71769e6d-03b3-43d8-9c13-8fa0f9ef97da",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "ebb01fb4-9e97-496c-bf34-7afd992016f2",
"id": "92844b01-ca7a-43d4-81a5-843aaf9030ed",
"ConfigId": "2989ed9a-4217-4c3f-a101-30d7abde23db"
}