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": "0ff414f9-14d5-4f52-a2c2-ced0b48f8a0d",
"Name": "sample string 1",
"Created": "2026-03-25T23:50:03.8396687+00:00",
"Modified": "2026-03-25T23:50:03.8396687+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b8545cfd-900e-4b10-b630-940292f26147",
"498a8279-9911-46ad-a079-d742cad114eb"
],
"NonLaborAssignments": [
{
"Id": "693fd769-81fe-4f60-80f1-37fadd2503c2",
"ResourceId": "fe376165-fcfc-431b-8646-789ff62d1f67",
"Quantity": 3.0
},
{
"Id": "693fd769-81fe-4f60-80f1-37fadd2503c2",
"ResourceId": "fe376165-fcfc-431b-8646-789ff62d1f67",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "efad6584-6741-48b5-a78f-ffe992aa96c8",
"Type": 0,
"ResourceId": "3d047c3e-f24e-4c80-8774-3a8b7e44af96",
"Units": 3.0
},
{
"Id": "efad6584-6741-48b5-a78f-ffe992aa96c8",
"Type": 0,
"ResourceId": "3d047c3e-f24e-4c80-8774-3a8b7e44af96",
"Units": 3.0
}
],
"ParentId": "e13ea52b-ce98-41c5-93eb-042a9b2f4711",
"WorkTypeParentId": "362d2f98-7481-4ef2-aaa0-548577798745",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "ed4714de-4881-4027-b06d-8ce968dbdfb6",
"UPN": "a9afa829-8520-4f24-9848-2d97318c717e",
"PostDate": "2026-03-25T23:50:03.8396687+00:00",
"Comment": "sample string 4",
"CC": [
"6adf2ac1-a81a-4505-b543-419a0ebc07dc",
"c106a7e3-794d-41bf-acfa-5258443f4429"
],
"Users": [
"c7f0aff2-443b-451d-8281-912bf7a7f984",
"569fe5e6-a6d4-4c34-9d51-c198f439cbc2"
]
},
{
"Id": "ed4714de-4881-4027-b06d-8ce968dbdfb6",
"UPN": "a9afa829-8520-4f24-9848-2d97318c717e",
"PostDate": "2026-03-25T23:50:03.8396687+00:00",
"Comment": "sample string 4",
"CC": [
"6adf2ac1-a81a-4505-b543-419a0ebc07dc",
"c106a7e3-794d-41bf-acfa-5258443f4429"
],
"Users": [
"c7f0aff2-443b-451d-8281-912bf7a7f984",
"569fe5e6-a6d4-4c34-9d51-c198f439cbc2"
]
}
],
"StartDate": "2026-03-25T23:50:03.8396687+00:00",
"DueDate": "2026-03-25T23:50:03.8396687+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"40e6c538-744f-49e4-a8ea-83a4f8611dd9": "211d586a-ae60-42cb-a0ae-25a958816364",
"558b6c23-1755-4e8f-ab1f-fba67e0d60b2": "02fed874-9fe2-4150-b487-18fb01e0ae2a"
},
"HasUpdates": true,
"Modified": "2026-03-25T23:50:03.8396687+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-03-25T23:50:03.8396687+00:00"
},
"LastComment": "2026-03-25T23:50:03.8396687+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "bdf82851-093d-4d21-89cb-173faca7a49a",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "632c1787-23d0-4528-bc0a-f1c9a6842a03",
"id": "81313b74-c331-404c-aa5a-c27ddb3dbbd8",
"ConfigId": "0ddfa367-77d2-406f-b889-dd2626650524"
}