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": "3eedfbb7-906a-4173-ad0e-2c4881973004",
"Name": "sample string 1",
"Created": "2026-01-12T13:30:57.6701539+00:00",
"Modified": "2026-01-12T13:30:57.6701539+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b22a287a-dda9-4eb8-a690-e427972c0a7b",
"5dce33c8-434f-403f-9faf-2abd42b37428"
],
"NonLaborAssignments": [
{
"Id": "acbca471-8651-452d-a394-48b649918756",
"ResourceId": "5511d906-f7b4-4c49-840e-197a29cf0b43",
"Quantity": 3.0
},
{
"Id": "acbca471-8651-452d-a394-48b649918756",
"ResourceId": "5511d906-f7b4-4c49-840e-197a29cf0b43",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "231877c8-33df-467a-b1e5-57d7b29e6ffc",
"Type": 0,
"ResourceId": "1fcd43e7-6210-423f-b179-261d57f9a5f6",
"Units": 3.0
},
{
"Id": "231877c8-33df-467a-b1e5-57d7b29e6ffc",
"Type": 0,
"ResourceId": "1fcd43e7-6210-423f-b179-261d57f9a5f6",
"Units": 3.0
}
],
"ParentId": "9908eddc-6626-4319-a355-81b86354b76b",
"WorkTypeParentId": "850d24ac-fd07-49dd-9c37-b47699583517",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "a0c66204-eb41-40b8-9272-94b2f10f41e9",
"UPN": "c6478546-51f2-4b33-a166-e316e8cf1e6d",
"PostDate": "2026-01-12T13:30:57.6701539+00:00",
"Comment": "sample string 4",
"CC": [
"6ecd9b4d-4f6e-42b6-ad59-41d1878afec3",
"8a130005-2877-4052-861a-dc0224abac5a"
],
"Users": [
"e810e83d-8cbf-4414-a875-5554b9288bbf",
"c47e1c28-0f8a-47c4-b424-0e64a5ba456f"
]
},
{
"Id": "a0c66204-eb41-40b8-9272-94b2f10f41e9",
"UPN": "c6478546-51f2-4b33-a166-e316e8cf1e6d",
"PostDate": "2026-01-12T13:30:57.6701539+00:00",
"Comment": "sample string 4",
"CC": [
"6ecd9b4d-4f6e-42b6-ad59-41d1878afec3",
"8a130005-2877-4052-861a-dc0224abac5a"
],
"Users": [
"e810e83d-8cbf-4414-a875-5554b9288bbf",
"c47e1c28-0f8a-47c4-b424-0e64a5ba456f"
]
}
],
"StartDate": "2026-01-12T13:30:57.6701539+00:00",
"DueDate": "2026-01-12T13:30:57.6701539+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"5da98c1c-ba17-4cdc-81ad-4515cad94fce": "9ea36617-00ff-4021-9006-bfa9015fef9d",
"f914cf2d-8886-4c1d-bd53-e58ae923e262": "7208d4c4-a2ae-4a62-9787-63574f4c23f9"
},
"HasUpdates": true,
"Modified": "2026-01-12T13:30:57.6701539+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-12T13:30:57.6701539+00:00"
},
"LastComment": "2026-01-12T13:30:57.6701539+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ba085cfb-554d-4178-ac0d-b5cfdb98253e",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "1ca10809-8940-4c85-aa0c-68bffe1b447f",
"id": "c7264879-d57e-407e-965b-9f0ea4dff24c",
"ConfigId": "43c28cd7-ff34-4e7f-be38-34d2c7228714"
}