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": "877af725-cc29-461d-bf34-80866328268b",
"Name": "sample string 1",
"Created": "2026-07-28T14:41:17.0680524+00:00",
"Modified": "2026-07-28T14:41:17.0680524+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e6dbecc6-f517-4c5a-abb2-7d176fa6007e",
"5b66bccb-6228-4df9-a9ea-800262774a6b"
],
"NonLaborAssignments": [
{
"Id": "dd3b6af3-e60e-46f9-b7ea-3ad065648602",
"ResourceId": "d03f66f3-438c-43ae-9914-cf3f08ece74e",
"Quantity": 3.0
},
{
"Id": "dd3b6af3-e60e-46f9-b7ea-3ad065648602",
"ResourceId": "d03f66f3-438c-43ae-9914-cf3f08ece74e",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "755bea38-d7f9-48da-8dc7-b205701179e4",
"Type": 0,
"ResourceId": "2e8192c2-5eb1-4ba0-b566-bb1f954c7ad2",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "755bea38-d7f9-48da-8dc7-b205701179e4",
"Type": 0,
"ResourceId": "2e8192c2-5eb1-4ba0-b566-bb1f954c7ad2",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "69cc599b-3b01-4c28-9677-62dc19bb662d",
"WorkTypeParentId": "01ebd0b6-c575-4dce-8579-3c7f27f952ed",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "56f99279-6041-4554-863b-6a1ed86bb545",
"UPN": "ceaa7f95-4df5-4905-ad74-cab4475128b3",
"PostDate": "2026-07-28T14:41:17.0680524+00:00",
"Comment": "sample string 4",
"CC": [
"d5bf7b1a-3238-4a2a-b4e9-e09890d16849",
"74babf69-2835-4a9a-9c9e-0f1bef4ea329"
],
"Users": [
"61ee7cb8-4aa9-48c8-9563-2f36bdd03447",
"6aa12fac-0c1b-46c1-93b5-115bfb4d0cf3"
]
},
{
"Id": "56f99279-6041-4554-863b-6a1ed86bb545",
"UPN": "ceaa7f95-4df5-4905-ad74-cab4475128b3",
"PostDate": "2026-07-28T14:41:17.0680524+00:00",
"Comment": "sample string 4",
"CC": [
"d5bf7b1a-3238-4a2a-b4e9-e09890d16849",
"74babf69-2835-4a9a-9c9e-0f1bef4ea329"
],
"Users": [
"61ee7cb8-4aa9-48c8-9563-2f36bdd03447",
"6aa12fac-0c1b-46c1-93b5-115bfb4d0cf3"
]
}
],
"StartDate": "2026-07-28T14:41:17.0680524+00:00",
"DueDate": "2026-07-28T14:41:17.0680524+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"688bf64f-8ec6-46e8-992b-bd125add8d35": "902aecd6-c001-47ff-bff5-e18f4aca3329",
"5b2103e2-f703-411f-9c38-043c4d599faa": "e0c65213-2e2b-450d-86ad-7b206929318a"
},
"HasUpdates": true,
"Modified": "2026-07-28T14:41:17.0680524+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-07-28T14:41:17.0680524+00:00"
},
"LastComment": "2026-07-28T14:41:17.0680524+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "eae3bde9-a298-43c3-bb25-3aee94a81b83",
"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": "6a599770-9a60-4de7-ba86-b960ed4816e9",
"id": "d09fada8-6f5a-4b20-928a-afe81254ecc8",
"ConfigId": "c27e90ef-7f9a-4852-8c88-09f5ecaf62a2"
}