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": "045be34e-72d7-49f3-abda-eb3e484a52c2",
"Name": "sample string 1",
"Created": "2026-02-28T00:25:27.1925141+00:00",
"Modified": "2026-02-28T00:25:27.1925141+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"f42f8374-895f-4733-b799-5d1261bc6ca1",
"c4c62591-b413-4fc6-9a1c-907569f1de24"
],
"NonLaborAssignments": [
{
"Id": "9b1c55e5-c1fe-4f43-b60a-06620ebb7418",
"ResourceId": "3a250afd-0e12-4758-b165-27181a68d1c1",
"Quantity": 3.0
},
{
"Id": "9b1c55e5-c1fe-4f43-b60a-06620ebb7418",
"ResourceId": "3a250afd-0e12-4758-b165-27181a68d1c1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e8308a7f-e649-484a-afa9-32d24826568a",
"Type": 0,
"ResourceId": "5cc303ad-02d1-4aa3-83b3-8d4795df70a9",
"Units": 3.0
},
{
"Id": "e8308a7f-e649-484a-afa9-32d24826568a",
"Type": 0,
"ResourceId": "5cc303ad-02d1-4aa3-83b3-8d4795df70a9",
"Units": 3.0
}
],
"ParentId": "3312386b-8d94-4da4-9878-07f403989aca",
"WorkTypeParentId": "6760b649-634d-49e9-bf04-ab496c842a68",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9efff27b-4ba7-41e9-84f6-addb2da18131",
"UPN": "0ce1dc64-921a-48d3-bc6a-cf4690cb3d2c",
"PostDate": "2026-02-28T00:25:27.1925141+00:00",
"Comment": "sample string 4",
"CC": [
"bc8574b6-c45c-4239-aea7-37a9226b84fd",
"c81afb1e-d83f-49a9-af32-a3e40f5214a7"
],
"Users": [
"922a37fa-c1b2-4358-b26f-7ed3423d036a",
"ff7cbe85-ffc4-44f5-82b3-71fa6a139b3e"
]
},
{
"Id": "9efff27b-4ba7-41e9-84f6-addb2da18131",
"UPN": "0ce1dc64-921a-48d3-bc6a-cf4690cb3d2c",
"PostDate": "2026-02-28T00:25:27.1925141+00:00",
"Comment": "sample string 4",
"CC": [
"bc8574b6-c45c-4239-aea7-37a9226b84fd",
"c81afb1e-d83f-49a9-af32-a3e40f5214a7"
],
"Users": [
"922a37fa-c1b2-4358-b26f-7ed3423d036a",
"ff7cbe85-ffc4-44f5-82b3-71fa6a139b3e"
]
}
],
"StartDate": "2026-02-28T00:25:27.1925141+00:00",
"DueDate": "2026-02-28T00:25:27.1925141+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"9e55c52c-34b8-4687-9d14-fed06b7eeecd": "a3f24319-388b-498f-877f-27c754bda17a",
"3792fda4-0ab0-4b63-b8b0-160dc406c306": "225ddfd0-106e-465a-865f-78342a0b4e1e"
},
"HasUpdates": true,
"Modified": "2026-02-28T00:25:27.1925141+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-02-28T00:25:27.1925141+00:00"
},
"LastComment": "2026-02-28T00:25:27.1925141+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a815e116-8e92-4905-8d75-dc76cb80d828",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "a143b9ee-8acc-4e56-95a8-63844eb49868",
"id": "cc1ba959-3da1-46a1-ae58-d23a8997eff1",
"ConfigId": "2cbf5d55-adc4-4f04-ac19-e9fa261b8256"
}