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": "c2ae6d92-27c0-45b7-8130-62e7420c6e34",
"Name": "sample string 1",
"Created": "2026-04-05T10:11:19.3592515+00:00",
"Modified": "2026-04-05T10:11:19.3592515+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"67f523a8-355d-433d-9f3e-bf273720667e",
"4ec1c28c-1e44-4e03-a952-70b4f3fc509c"
],
"NonLaborAssignments": [
{
"Id": "de8f4d85-4667-422f-b098-d37cf1718da5",
"ResourceId": "44470dc5-8672-4fef-bf71-e6912c830dc1",
"Quantity": 3.0
},
{
"Id": "de8f4d85-4667-422f-b098-d37cf1718da5",
"ResourceId": "44470dc5-8672-4fef-bf71-e6912c830dc1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "28488e0f-1fb7-4143-8405-c91324800f66",
"Type": 0,
"ResourceId": "b6ed386c-41bd-46f2-9cb6-9a42ba1e38ec",
"Units": 3.0
},
{
"Id": "28488e0f-1fb7-4143-8405-c91324800f66",
"Type": 0,
"ResourceId": "b6ed386c-41bd-46f2-9cb6-9a42ba1e38ec",
"Units": 3.0
}
],
"ParentId": "704b626b-a26f-44d9-8a2f-b4d55d4a6cff",
"WorkTypeParentId": "d491429f-e9d7-4fcc-841f-0271fdbc28c8",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2baba877-7ddd-4978-9885-d844be6c80be",
"UPN": "c4753991-5701-43c8-8c9c-4ef940dab339",
"PostDate": "2026-04-05T10:11:19.3592515+00:00",
"Comment": "sample string 4",
"CC": [
"4dca99cb-5b4e-404f-89df-aecace92f074",
"9fd360e8-55c9-4327-b9bb-28826c5f1ebf"
],
"Users": [
"58f38330-f3ca-46b3-85c5-d5930567a1ae",
"1ab8d62d-eebc-4867-9fdd-01c097c0b853"
]
},
{
"Id": "2baba877-7ddd-4978-9885-d844be6c80be",
"UPN": "c4753991-5701-43c8-8c9c-4ef940dab339",
"PostDate": "2026-04-05T10:11:19.3592515+00:00",
"Comment": "sample string 4",
"CC": [
"4dca99cb-5b4e-404f-89df-aecace92f074",
"9fd360e8-55c9-4327-b9bb-28826c5f1ebf"
],
"Users": [
"58f38330-f3ca-46b3-85c5-d5930567a1ae",
"1ab8d62d-eebc-4867-9fdd-01c097c0b853"
]
}
],
"StartDate": "2026-04-05T10:11:19.3592515+00:00",
"DueDate": "2026-04-05T10:11:19.3592515+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"eb8568f4-47d7-4c15-8b7f-1ef997d84861": "cb516f29-24e4-4b17-8da3-c26e3f4e054a",
"b327a80e-b1c2-4766-bb50-1e34cadee9d8": "1a4f16a9-25ed-471c-bdba-5a89e93af407"
},
"HasUpdates": true,
"Modified": "2026-04-05T10:11:19.3592515+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-05T10:11:19.3592515+00:00"
},
"LastComment": "2026-04-05T10:11:19.3592515+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "c64996de-a6b9-44e0-a942-67daf89606e8",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "3a80c70a-03c8-4d9b-9575-a0da0a6f982c",
"id": "5f139577-30e2-48c2-8923-7d8003d1a832",
"ConfigId": "26b0469a-8b16-4502-a384-79cade8262f6"
}