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": "22f25d06-6008-49fb-9be1-d9a53cea86d6",
"Name": "sample string 1",
"Created": "2026-04-04T02:35:43.8969836+00:00",
"Modified": "2026-04-04T02:35:43.8969836+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"d4502c04-48b6-4608-a998-f16f9809c004",
"b3fdfb0a-4b30-4b80-aff4-ea99f88b6811"
],
"NonLaborAssignments": [
{
"Id": "ddedb40b-ced2-4b76-bff5-bb7886f9a289",
"ResourceId": "da9362bb-a49b-4032-a909-3b0f41e269bd",
"Quantity": 3.0
},
{
"Id": "ddedb40b-ced2-4b76-bff5-bb7886f9a289",
"ResourceId": "da9362bb-a49b-4032-a909-3b0f41e269bd",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c593254c-90eb-4c25-b8c6-9ab6f36e4866",
"Type": 0,
"ResourceId": "84a32b24-7077-4465-b826-306173d60a89",
"Units": 3.0
},
{
"Id": "c593254c-90eb-4c25-b8c6-9ab6f36e4866",
"Type": 0,
"ResourceId": "84a32b24-7077-4465-b826-306173d60a89",
"Units": 3.0
}
],
"ParentId": "b4ff21ac-4b74-402d-9e09-7550819baeea",
"WorkTypeParentId": "51a43dc6-adbb-40a8-881a-b294fdb14235",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "6df201de-2197-4183-b339-920cb9676aa6",
"UPN": "dd0c1804-0a2d-4016-904a-3c1aca5113fb",
"PostDate": "2026-04-04T02:35:43.8969836+00:00",
"Comment": "sample string 4",
"CC": [
"6378f0bf-5095-4927-a7b6-dcea66789eab",
"d62038d2-8cb6-45b7-a5bb-6bfe188267b3"
],
"Users": [
"a4a752aa-14c6-440f-b9bb-5a03e983dd45",
"7e8676cd-dddb-4fc1-847e-a1c444bcea0c"
]
},
{
"Id": "6df201de-2197-4183-b339-920cb9676aa6",
"UPN": "dd0c1804-0a2d-4016-904a-3c1aca5113fb",
"PostDate": "2026-04-04T02:35:43.8969836+00:00",
"Comment": "sample string 4",
"CC": [
"6378f0bf-5095-4927-a7b6-dcea66789eab",
"d62038d2-8cb6-45b7-a5bb-6bfe188267b3"
],
"Users": [
"a4a752aa-14c6-440f-b9bb-5a03e983dd45",
"7e8676cd-dddb-4fc1-847e-a1c444bcea0c"
]
}
],
"StartDate": "2026-04-04T02:35:43.8969836+00:00",
"DueDate": "2026-04-04T02:35:43.8969836+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"ee766e4b-e4c3-4537-bedc-99535a8304f3": "070041a4-de3f-42e2-b3e9-89d9f804172f",
"781bb74e-5f17-4502-be16-93873392884b": "10269b72-89f6-44f3-b00d-c8cc15ef5358"
},
"HasUpdates": true,
"Modified": "2026-04-04T02:35:43.8969836+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-04-04T02:35:43.8969836+00:00"
},
"LastComment": "2026-04-04T02:35:43.8969836+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3d4754ee-d564-4821-83b1-eb24e14da18f",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "ed18ec45-6889-4c57-820b-2aa623671114",
"id": "c1749e2e-2185-4b6d-a300-7bc9ca68f798",
"ConfigId": "b7d08565-8208-47d1-9f10-cb853e285c42"
}