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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "ccef8456-5d3c-4274-8623-94d0614e1952",
"Name": "sample string 1",
"Created": "2026-09-08T21:43:24.4093939+00:00",
"Modified": "2026-09-08T21:43:24.4093939+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e46f4cf2-fcd3-4a27-a943-873dae1194ee",
"52aaccd5-7f0b-44ed-b09c-8cea2debf61c"
],
"NonLaborAssignments": [
{
"Id": "5f633c88-756d-460c-87d3-29f2e1f6b8e0",
"ResourceId": "b562579f-04b8-4092-bd23-620596449cf1",
"Quantity": 3.0
},
{
"Id": "5f633c88-756d-460c-87d3-29f2e1f6b8e0",
"ResourceId": "b562579f-04b8-4092-bd23-620596449cf1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "65199747-9f45-4abb-b416-27e4da63befe",
"Type": 0,
"ResourceId": "91821f2b-afac-4114-852e-e3ad0a2297f3",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "ff0284d1-5d5b-49a8-bc65-1c94666cf2a7",
"Start": "2026-09-08T21:43:24.4093939+00:00",
"Due": "2026-09-08T21:43:24.4093939+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "ff0284d1-5d5b-49a8-bc65-1c94666cf2a7",
"Start": "2026-09-08T21:43:24.4093939+00:00",
"Due": "2026-09-08T21:43:24.4093939+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "65199747-9f45-4abb-b416-27e4da63befe",
"Type": 0,
"ResourceId": "91821f2b-afac-4114-852e-e3ad0a2297f3",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "ff0284d1-5d5b-49a8-bc65-1c94666cf2a7",
"Start": "2026-09-08T21:43:24.4093939+00:00",
"Due": "2026-09-08T21:43:24.4093939+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "ff0284d1-5d5b-49a8-bc65-1c94666cf2a7",
"Start": "2026-09-08T21:43:24.4093939+00:00",
"Due": "2026-09-08T21:43:24.4093939+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "a80d4929-dba1-4772-9575-42a3b0af8a62",
"WorkTypeParentId": "b6cd3456-d43d-4941-8668-74b1fc35d11e",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "23eb7cc9-c53f-429f-a75d-9173f62d2a81",
"UPN": "c95fddd7-bd44-4c0e-9596-c1cab6d6f182",
"PostDate": "2026-09-08T21:43:24.4093939+00:00",
"Comment": "sample string 4",
"CC": [
"13ccdc0f-1cc4-4847-82dd-8bbaae457248",
"ff8f3cc3-822a-4a42-be31-b4cb9a512bd0"
],
"Users": [
"e7c7704c-4695-4530-a7b6-7c839dea3fc3",
"db167851-ba22-47cd-b4ca-da63b984eacd"
]
},
{
"Id": "23eb7cc9-c53f-429f-a75d-9173f62d2a81",
"UPN": "c95fddd7-bd44-4c0e-9596-c1cab6d6f182",
"PostDate": "2026-09-08T21:43:24.4093939+00:00",
"Comment": "sample string 4",
"CC": [
"13ccdc0f-1cc4-4847-82dd-8bbaae457248",
"ff8f3cc3-822a-4a42-be31-b4cb9a512bd0"
],
"Users": [
"e7c7704c-4695-4530-a7b6-7c839dea3fc3",
"db167851-ba22-47cd-b4ca-da63b984eacd"
]
}
],
"StartDate": "2026-09-08T21:43:24.4093939+00:00",
"DueDate": "2026-09-08T21:43:24.4093939+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"bd9cd625-c730-4d43-a504-a606ba3ff6d4": "edf975a2-da2c-4d38-9be1-4e50310a7500",
"4c80bb12-6aaa-45d6-9b6b-2580de8e5244": "85498144-8bfc-4eb1-b250-8384e843b693"
},
"HasUpdates": true,
"Modified": "2026-09-08T21:43:24.4093939+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-09-08T21:43:24.4093939+00:00"
},
"LastComment": "2026-09-08T21:43:24.4093939+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "401b2cc2-5d5e-4845-8ad6-7840631bce03",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "b1449d01-4c96-4feb-b82a-4af06663e250",
"id": "7e6f85c3-a602-4f83-8452-fc7d45529239",
"ConfigId": "2f336a3f-e15a-497e-8712-d4e4dd7f4ced"
}