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": "757a1d9d-1824-49fd-8eb7-13b03defbad2",
"Name": "sample string 1",
"Created": "2026-08-11T15:29:24.394313+00:00",
"Modified": "2026-08-11T15:29:24.394313+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"9941ef06-f3b9-4228-819a-2e127f548ab6",
"84c86204-b4d6-45b3-b39b-a19b6bd12dbb"
],
"NonLaborAssignments": [
{
"Id": "8e8efbce-a55f-410a-a8b2-684253a9ad8f",
"ResourceId": "e891a8de-dcbf-40c5-9114-317618076fad",
"Quantity": 3.0
},
{
"Id": "8e8efbce-a55f-410a-a8b2-684253a9ad8f",
"ResourceId": "e891a8de-dcbf-40c5-9114-317618076fad",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "9110d53a-d27b-4901-aeb2-10bab780e364",
"Type": 0,
"ResourceId": "82b9293a-c15c-4be2-9b72-dc12e11fe1f0",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "9110d53a-d27b-4901-aeb2-10bab780e364",
"Type": 0,
"ResourceId": "82b9293a-c15c-4be2-9b72-dc12e11fe1f0",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "1ef6bed1-d41d-4252-8d2d-b410a142f471",
"WorkTypeParentId": "4e3a7f4b-2479-465e-a26d-a7722a9aa8c9",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "281df7c0-78d2-4aa2-b1e5-dccd2c7d3bd7",
"UPN": "3466a38b-0c93-4ad0-a366-7802a1ffc508",
"PostDate": "2026-08-11T15:29:24.394313+00:00",
"Comment": "sample string 4",
"CC": [
"d2c0c122-2273-46fd-b69a-e415a6636abb",
"8214831c-72fa-478c-96ee-dd7c1cd8ae2d"
],
"Users": [
"722c61c5-2add-453c-a202-2043b585712a",
"c8ce030e-a738-48e5-a574-ab380f15028d"
]
},
{
"Id": "281df7c0-78d2-4aa2-b1e5-dccd2c7d3bd7",
"UPN": "3466a38b-0c93-4ad0-a366-7802a1ffc508",
"PostDate": "2026-08-11T15:29:24.394313+00:00",
"Comment": "sample string 4",
"CC": [
"d2c0c122-2273-46fd-b69a-e415a6636abb",
"8214831c-72fa-478c-96ee-dd7c1cd8ae2d"
],
"Users": [
"722c61c5-2add-453c-a202-2043b585712a",
"c8ce030e-a738-48e5-a574-ab380f15028d"
]
}
],
"StartDate": "2026-08-11T15:29:24.394313+00:00",
"DueDate": "2026-08-11T15:29:24.394313+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"4e40e1a8-d0c8-41c5-b4c2-801f9a684d6f": "cedfa3a3-169b-4ded-a366-878aee7febdd",
"ee358417-363e-4208-9bed-459426b2d05a": "130772e7-a32d-41e5-bba5-ebff39ebd836"
},
"HasUpdates": true,
"Modified": "2026-08-11T15:29:24.394313+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-11T15:29:24.394313+00:00"
},
"LastComment": "2026-08-11T15:29:24.394313+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "0256bf5a-532e-46e7-b898-a55c9b05d6c2",
"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": "a72bb1d6-42cc-4f11-be6e-c8ca685af0fd",
"id": "cba79c29-a577-476e-a507-d4d7d8cb17f0",
"ConfigId": "ef90f2e4-9af4-4421-92e1-f34b8c54a379"
}