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": "dae9eb5f-b928-4239-930e-f9cdedc0f030",
"Name": "sample string 1",
"Created": "2026-09-15T23:34:40.7389397+00:00",
"Modified": "2026-09-15T23:34:40.7389397+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"ff3e89f2-1db6-4897-955c-da9813344608",
"42f798b8-2762-4dd5-a199-fcd1e1f634ee"
],
"NonLaborAssignments": [
{
"Id": "abb69593-2403-47ce-8477-69febc0b7d76",
"ResourceId": "dc75808a-f43e-4647-8fc1-a0d053ee7d5b",
"Quantity": 3.0
},
{
"Id": "abb69593-2403-47ce-8477-69febc0b7d76",
"ResourceId": "dc75808a-f43e-4647-8fc1-a0d053ee7d5b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "6794c09e-9a16-4f03-9c3f-a73237f20be6",
"Type": 0,
"ResourceId": "4f9dea7d-a307-497b-838b-991d95c64c8a",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "75eb4783-de2a-4261-b194-fd44d6596e02",
"Start": "2026-09-15T23:34:40.7389397+00:00",
"Due": "2026-09-15T23:34:40.7389397+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "75eb4783-de2a-4261-b194-fd44d6596e02",
"Start": "2026-09-15T23:34:40.7389397+00:00",
"Due": "2026-09-15T23:34:40.7389397+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "6794c09e-9a16-4f03-9c3f-a73237f20be6",
"Type": 0,
"ResourceId": "4f9dea7d-a307-497b-838b-991d95c64c8a",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "75eb4783-de2a-4261-b194-fd44d6596e02",
"Start": "2026-09-15T23:34:40.7389397+00:00",
"Due": "2026-09-15T23:34:40.7389397+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "75eb4783-de2a-4261-b194-fd44d6596e02",
"Start": "2026-09-15T23:34:40.7389397+00:00",
"Due": "2026-09-15T23:34:40.7389397+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "5c0e92ae-596b-40fc-a48b-1df2ee1e9a09",
"WorkTypeParentId": "da32fce6-372c-408a-af60-053e08825d6a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "ce2bbc31-8006-44b6-940f-9fcefc671a70",
"UPN": "c87ae6b7-ed40-4fd0-84b2-b092a067ee51",
"PostDate": "2026-09-15T23:34:40.7389397+00:00",
"Comment": "sample string 4",
"CC": [
"e39d5411-edfa-485f-b67a-6ff079db5a31",
"4bbad313-f587-454b-81c5-ae60690d3387"
],
"Users": [
"94508f83-cb25-49da-bc29-51fd850e0ce9",
"eb55bc83-5d76-4013-ac70-dced1022cb7a"
]
},
{
"Id": "ce2bbc31-8006-44b6-940f-9fcefc671a70",
"UPN": "c87ae6b7-ed40-4fd0-84b2-b092a067ee51",
"PostDate": "2026-09-15T23:34:40.7389397+00:00",
"Comment": "sample string 4",
"CC": [
"e39d5411-edfa-485f-b67a-6ff079db5a31",
"4bbad313-f587-454b-81c5-ae60690d3387"
],
"Users": [
"94508f83-cb25-49da-bc29-51fd850e0ce9",
"eb55bc83-5d76-4013-ac70-dced1022cb7a"
]
}
],
"StartDate": "2026-09-15T23:34:40.7389397+00:00",
"DueDate": "2026-09-15T23:34:40.7389397+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"2112c25f-990e-4ab7-88fb-64838af5feb9": "d3cbe984-8bb7-4ae7-b41d-3d20a1b54de4",
"caa25faf-218e-46dd-bb14-d8933ee03e2c": "05eec037-3ad3-4bcf-ac7e-f3fcb00bc0ce"
},
"HasUpdates": true,
"Modified": "2026-09-15T23:34:40.7389397+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-09-15T23:34:40.7389397+00:00"
},
"LastComment": "2026-09-15T23:34:40.7389397+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "7b63c065-3cb3-4921-a333-7e521fe5e813",
"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": "a6b79d15-239f-45c3-b7b1-0b590e2fe91f",
"id": "e7c9fd0c-47da-48c1-8932-53a6edc35aa0",
"ConfigId": "c29332b5-225d-476b-9e0b-43b3802d9368"
}