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": "bb6b76b9-5ad6-4e48-83e6-5747737a9a04",
"Name": "sample string 1",
"Created": "2026-03-25T11:00:21.0279148+00:00",
"Modified": "2026-03-25T11:00:21.0279148+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"910ad196-3f6b-42b7-9481-88d97b02e3be",
"9eef915b-3a68-46a9-96d3-44af7b2bbea2"
],
"NonLaborAssignments": [
{
"Id": "75145086-32cc-49c3-8da5-a0feb6c2e959",
"ResourceId": "06af429c-7cc1-434d-b88f-ab62162ebce1",
"Quantity": 3.0
},
{
"Id": "75145086-32cc-49c3-8da5-a0feb6c2e959",
"ResourceId": "06af429c-7cc1-434d-b88f-ab62162ebce1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "ba9f4e57-c943-4009-b688-bff46000d3ad",
"Type": 0,
"ResourceId": "2eba9356-63fe-4eb2-90f7-29f156eb9e2e",
"Units": 3.0
},
{
"Id": "ba9f4e57-c943-4009-b688-bff46000d3ad",
"Type": 0,
"ResourceId": "2eba9356-63fe-4eb2-90f7-29f156eb9e2e",
"Units": 3.0
}
],
"ParentId": "cbda0b16-9d85-4c22-8f1e-a8045eab7b63",
"WorkTypeParentId": "6a1efc96-f1e9-4595-8720-c21d83f892a2",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "8ab4fc85-a97e-413c-9440-d7f465fe88b3",
"UPN": "aec5b5ef-1c9a-495e-8bb9-c8ae5483f499",
"PostDate": "2026-03-25T11:00:21.0279148+00:00",
"Comment": "sample string 4",
"CC": [
"0b15c0db-b2c4-4556-857b-a1d5cd0adf3b",
"41143fca-e814-4c35-961e-3e8f2de59779"
],
"Users": [
"0e077a13-4b43-4763-917e-792d09f194b3",
"986a9a1e-5a16-4bf5-891f-dc71194efb51"
]
},
{
"Id": "8ab4fc85-a97e-413c-9440-d7f465fe88b3",
"UPN": "aec5b5ef-1c9a-495e-8bb9-c8ae5483f499",
"PostDate": "2026-03-25T11:00:21.0279148+00:00",
"Comment": "sample string 4",
"CC": [
"0b15c0db-b2c4-4556-857b-a1d5cd0adf3b",
"41143fca-e814-4c35-961e-3e8f2de59779"
],
"Users": [
"0e077a13-4b43-4763-917e-792d09f194b3",
"986a9a1e-5a16-4bf5-891f-dc71194efb51"
]
}
],
"StartDate": "2026-03-25T11:00:21.0279148+00:00",
"DueDate": "2026-03-25T11:00:21.0279148+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"2756e768-8d91-46fe-93f5-7112e58c61b7": "8291ca84-b00e-4a3e-b363-bd34f397648b",
"f2ced81c-6a6a-4c9f-ae92-1ea801c10409": "0ae9ab4e-8320-418a-a220-d0b573333535"
},
"HasUpdates": true,
"Modified": "2026-03-25T11:00:21.0279148+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-25T11:00:21.0279148+00:00"
},
"LastComment": "2026-03-25T11:00:21.0279148+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "19a63875-dc23-4e36-ab99-03fea39043ce",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "96c5cb1c-69b4-48df-8963-c2ba8909b3a1",
"id": "defd5493-a807-437d-9c6a-2dcb93f8a3dc",
"ConfigId": "d42a6e5d-4457-486d-a8eb-7f579535390b"
}