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": "e3c48a76-3c9c-493b-8acc-30b7264fe74a",
"Name": "sample string 1",
"Created": "2026-03-30T16:59:24.4509215+00:00",
"Modified": "2026-03-30T16:59:24.4509215+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8efccda3-bef5-413f-8c2e-a05eb72a99be",
"bf9ae5bb-1dc6-4e76-96ef-7e7121fd118e"
],
"NonLaborAssignments": [
{
"Id": "b558d247-cf60-478f-ae9a-d437252d9bf9",
"ResourceId": "01e5a6ca-0d65-46ba-9e31-811ea11b6e6a",
"Quantity": 3.0
},
{
"Id": "b558d247-cf60-478f-ae9a-d437252d9bf9",
"ResourceId": "01e5a6ca-0d65-46ba-9e31-811ea11b6e6a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "2efe7ed7-f865-451a-8838-083aadbb61ff",
"Type": 0,
"ResourceId": "bab33cd1-cd38-44c5-8c6c-83e493cf1456",
"Units": 3.0
},
{
"Id": "2efe7ed7-f865-451a-8838-083aadbb61ff",
"Type": 0,
"ResourceId": "bab33cd1-cd38-44c5-8c6c-83e493cf1456",
"Units": 3.0
}
],
"ParentId": "87f51d44-28cd-4328-bb1f-f060a0894277",
"WorkTypeParentId": "c20ee301-26dd-4bfd-a209-85977a6c6be1",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "a80cd9b4-3be6-4146-9cd2-11d7170cb7db",
"UPN": "e54d47f5-54c7-43e6-b603-5cd367c35bc3",
"PostDate": "2026-03-30T16:59:24.4509215+00:00",
"Comment": "sample string 4",
"CC": [
"4ef4e3cc-059d-4517-baac-4269c405744f",
"521eac5c-0a0b-42bf-a8e4-b39fd53cfebe"
],
"Users": [
"e16f612b-c74a-4acb-a3fa-02d757033812",
"88f89357-97c7-42c9-b275-a8c59f7e1105"
]
},
{
"Id": "a80cd9b4-3be6-4146-9cd2-11d7170cb7db",
"UPN": "e54d47f5-54c7-43e6-b603-5cd367c35bc3",
"PostDate": "2026-03-30T16:59:24.4509215+00:00",
"Comment": "sample string 4",
"CC": [
"4ef4e3cc-059d-4517-baac-4269c405744f",
"521eac5c-0a0b-42bf-a8e4-b39fd53cfebe"
],
"Users": [
"e16f612b-c74a-4acb-a3fa-02d757033812",
"88f89357-97c7-42c9-b275-a8c59f7e1105"
]
}
],
"StartDate": "2026-03-30T16:59:24.4509215+00:00",
"DueDate": "2026-03-30T16:59:24.4509215+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"db800152-ed32-404e-8877-87a886f306e0": "b5b3ddde-9e53-4270-bd15-85ffb7b07959",
"a6386417-5e36-4d24-bc54-7d9b7e914d96": "c9829ad1-312e-42c7-9d3f-83320ecbfaa3"
},
"HasUpdates": true,
"Modified": "2026-03-30T16:59:24.4509215+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-30T16:59:24.4509215+00:00"
},
"LastComment": "2026-03-30T16:59:24.4509215+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "4d9ccdd7-72b5-4688-94a9-418be9488e1a",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "074774f4-5914-4a2f-b390-38d746e86f92",
"id": "ef5b88df-4dc5-42f3-930e-dfb30989d894",
"ConfigId": "948a0134-7730-41c3-b642-97bc864c1989"
}