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": "faa080f6-7878-4122-8540-334393ef1727",
"Name": "sample string 1",
"Created": "2026-01-27T20:44:02.1132869+00:00",
"Modified": "2026-01-27T20:44:02.1132869+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"4ec31af9-8f20-4836-b6c4-bdc3b9f88169",
"2bd083ba-f614-4243-aecb-e2b12346719f"
],
"NonLaborAssignments": [
{
"Id": "b5447238-f1d0-491a-92b0-bd931245bcf8",
"ResourceId": "1bcd9add-0c57-4d99-9248-b33f8096e1ab",
"Quantity": 3.0
},
{
"Id": "b5447238-f1d0-491a-92b0-bd931245bcf8",
"ResourceId": "1bcd9add-0c57-4d99-9248-b33f8096e1ab",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "a88ffedb-4572-4164-8a87-258dbe35b4ba",
"Type": 0,
"ResourceId": "bc0e787b-0502-4381-a2ba-aa13c5c1ff15",
"Units": 3.0
},
{
"Id": "a88ffedb-4572-4164-8a87-258dbe35b4ba",
"Type": 0,
"ResourceId": "bc0e787b-0502-4381-a2ba-aa13c5c1ff15",
"Units": 3.0
}
],
"ParentId": "237f71c0-b1ab-4d1b-b205-56a2c698a97a",
"WorkTypeParentId": "07f884b1-121d-4ca2-8462-22e79f9b3ae3",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "cf4d2401-0044-4ad9-a876-fe64c759d72b",
"UPN": "4e737824-5393-421b-8701-ada998364540",
"PostDate": "2026-01-27T20:44:02.1132869+00:00",
"Comment": "sample string 4",
"CC": [
"bad64f03-d3b7-4521-904a-13cce44d9534",
"8bcab49c-6d76-4e3c-a79f-b9e14eda3577"
],
"Users": [
"e4163884-5a0f-4335-8924-0766e32c3532",
"ae9c60c1-783a-43e4-8406-3613ffc1120c"
]
},
{
"Id": "cf4d2401-0044-4ad9-a876-fe64c759d72b",
"UPN": "4e737824-5393-421b-8701-ada998364540",
"PostDate": "2026-01-27T20:44:02.1132869+00:00",
"Comment": "sample string 4",
"CC": [
"bad64f03-d3b7-4521-904a-13cce44d9534",
"8bcab49c-6d76-4e3c-a79f-b9e14eda3577"
],
"Users": [
"e4163884-5a0f-4335-8924-0766e32c3532",
"ae9c60c1-783a-43e4-8406-3613ffc1120c"
]
}
],
"StartDate": "2026-01-27T20:44:02.1132869+00:00",
"DueDate": "2026-01-27T20:44:02.1132869+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"7e848d6c-6139-40fc-88f4-5d0ff234ce2e": "2acc561c-9167-46e1-9904-d38a993dcca6",
"3b678ef7-a6a7-445a-953a-4dc127264790": "840bbf26-dced-4dc2-bc22-e3d37d78885c"
},
"HasUpdates": true,
"Modified": "2026-01-27T20:44:02.1132869+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-01-27T20:44:02.1132869+00:00"
},
"LastComment": "2026-01-27T20:44:02.1132869+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "af0a307d-90d8-4bed-8f24-753178a652c3",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "f7794bd5-f293-4799-a906-2ae5038918c5",
"id": "973db512-d09a-41ee-b4c1-5d3034ae5356",
"ConfigId": "9334a36d-2ea3-4218-b1a4-198db259fa73"
}