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": "f3dfa247-2bbc-4a71-826d-104b4fde54ba",
"Name": "sample string 1",
"Created": "2026-01-15T14:16:48.3214016+00:00",
"Modified": "2026-01-15T14:16:48.3214016+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"796b8200-6747-473c-a58f-8be529bca65f",
"09b50008-fe02-4111-9150-3d90c9c81596"
],
"NonLaborAssignments": [
{
"Id": "36bd9d26-2ae2-4e49-8268-243e3281308a",
"ResourceId": "ac5a2ddf-0d54-4789-bbde-ee3cd772ef09",
"Quantity": 3.0
},
{
"Id": "36bd9d26-2ae2-4e49-8268-243e3281308a",
"ResourceId": "ac5a2ddf-0d54-4789-bbde-ee3cd772ef09",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "11bd3759-711c-494d-b32d-9eef7fcd6d70",
"Type": 0,
"ResourceId": "3dacc86b-571b-4e26-9b5f-6ccf415080f9",
"Units": 3.0
},
{
"Id": "11bd3759-711c-494d-b32d-9eef7fcd6d70",
"Type": 0,
"ResourceId": "3dacc86b-571b-4e26-9b5f-6ccf415080f9",
"Units": 3.0
}
],
"ParentId": "4b9646a1-b2b3-421c-a7c0-273635a32fb1",
"WorkTypeParentId": "87016aef-e2f0-4671-8b11-4920237d1d4f",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "47225706-283d-4970-a98e-eb8cd91fa853",
"UPN": "7ffb56a3-e57a-495f-8cdc-6400884b3a9c",
"PostDate": "2026-01-15T14:16:48.3214016+00:00",
"Comment": "sample string 4",
"CC": [
"a1519572-6287-454c-9ef4-14832464ff86",
"af7836b9-324f-4cc5-9850-9c5e82e114e6"
],
"Users": [
"d87dbcd7-9b47-43bf-a49c-611ac96decba",
"42fa9945-e815-47fe-a09d-ddc94cd27a2e"
]
},
{
"Id": "47225706-283d-4970-a98e-eb8cd91fa853",
"UPN": "7ffb56a3-e57a-495f-8cdc-6400884b3a9c",
"PostDate": "2026-01-15T14:16:48.3214016+00:00",
"Comment": "sample string 4",
"CC": [
"a1519572-6287-454c-9ef4-14832464ff86",
"af7836b9-324f-4cc5-9850-9c5e82e114e6"
],
"Users": [
"d87dbcd7-9b47-43bf-a49c-611ac96decba",
"42fa9945-e815-47fe-a09d-ddc94cd27a2e"
]
}
],
"StartDate": "2026-01-15T14:16:48.3214016+00:00",
"DueDate": "2026-01-15T14:16:48.3214016+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"70329788-8004-4d6b-8c20-0cb70fff9433": "a119f8a2-ee15-4459-b4f0-77c9d75f5ae2",
"1f37662f-58cf-4425-9a4d-42de74434203": "bf7209c0-cb07-4ee6-a4cc-8e1bb90d0e56"
},
"HasUpdates": true,
"Modified": "2026-01-15T14:16:48.3214016+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-15T14:16:48.3214016+00:00"
},
"LastComment": "2026-01-15T14:16:48.3214016+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "cee52238-64c4-403c-9fb7-29d943ac3201",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "8d8ea140-5e90-4411-8451-25abfc529795",
"id": "28e48a32-6c9e-4535-ba6b-580d12583bc8",
"ConfigId": "efb9cf29-da1c-4de6-ab7b-125483ee2c35"
}