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": "67aedc54-85eb-4feb-b94a-282ca22b42ca",
"Name": "sample string 1",
"Created": "2025-11-13T06:23:50.2924199+00:00",
"Modified": "2025-11-13T06:23:50.2924199+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"6b52f635-d75c-4e65-8504-b21f23e7e3ca",
"a176ac3f-3620-4a4b-be8e-7a869428d5e1"
],
"NonLaborAssignments": [
{
"Id": "86dd8548-856b-48d3-989b-f10128f062ae",
"ResourceId": "36a01bcd-e845-4767-95cc-35a29960654c",
"Quantity": 3.0
},
{
"Id": "86dd8548-856b-48d3-989b-f10128f062ae",
"ResourceId": "36a01bcd-e845-4767-95cc-35a29960654c",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "ae38f1c3-dd8a-4978-8bec-ec4ae08dc6b6",
"Type": 0,
"ResourceId": "889bd358-f0fa-441e-b403-5ecccf389a7a",
"Units": 3.0
},
{
"Id": "ae38f1c3-dd8a-4978-8bec-ec4ae08dc6b6",
"Type": 0,
"ResourceId": "889bd358-f0fa-441e-b403-5ecccf389a7a",
"Units": 3.0
}
],
"ParentId": "e264895a-5177-4741-9840-419b3b2224ca",
"WorkTypeParentId": "243d56dd-f585-4265-8509-372410bd6746",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2fe92a99-3d74-444d-9596-8638b7ff2a86",
"UPN": "b9466e54-73bc-4609-b618-4aaa1fa57686",
"PostDate": "2025-11-13T06:23:50.3080272+00:00",
"Comment": "sample string 4",
"CC": [
"bc8f1f05-e269-4a8e-9689-c5cf1290c646",
"6dc4ef1e-857c-4932-891b-96eedd53d35c"
],
"Users": [
"55abcf1f-f4a2-428b-9c5c-a5c891fd78f4",
"a1249eb7-38c3-4f4b-ba6a-0ef302c34434"
]
},
{
"Id": "2fe92a99-3d74-444d-9596-8638b7ff2a86",
"UPN": "b9466e54-73bc-4609-b618-4aaa1fa57686",
"PostDate": "2025-11-13T06:23:50.3080272+00:00",
"Comment": "sample string 4",
"CC": [
"bc8f1f05-e269-4a8e-9689-c5cf1290c646",
"6dc4ef1e-857c-4932-891b-96eedd53d35c"
],
"Users": [
"55abcf1f-f4a2-428b-9c5c-a5c891fd78f4",
"a1249eb7-38c3-4f4b-ba6a-0ef302c34434"
]
}
],
"StartDate": "2025-11-13T06:23:50.3080272+00:00",
"DueDate": "2025-11-13T06:23:50.3080272+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"651a7919-5e45-4d6a-adeb-35fbd91235bc": "e5255ac6-98fc-4a69-89cc-5214e66cea15",
"549d6145-d0fa-4594-8edd-3e47e22cb467": "9d08034d-2c09-4c1e-ac54-cccfaa3ae88a"
},
"HasUpdates": true,
"Modified": "2025-11-13T06:23:50.3080272+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-11-13T06:23:50.3080272+00:00"
},
"LastComment": "2025-11-13T06:23:50.3080272+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "93873db2-eb52-439f-a137-3e7409801e24",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "450ca94b-cc68-447d-bafa-085244d0bfdd",
"id": "74d30e68-6df8-4bab-9fee-b292fa48dbdb",
"ConfigId": "6b1d8220-589e-4a79-8319-fb31f327f70e"
}