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": "1462a4f6-4129-4eee-9a17-dcade08c7fe4",
"Name": "sample string 1",
"Created": "2026-11-04T05:13:09.4775675+00:00",
"Modified": "2026-11-04T05:13:09.4775675+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a1121988-e708-402e-bd4e-b71a50d21a85",
"0878b67f-e4ff-44f8-af02-702008dfc2ec"
],
"NonLaborAssignments": [
{
"Id": "e9f3ba19-976f-431a-a884-b3b76d200f1c",
"ResourceId": "27672c58-f156-4500-ae71-5d1a9f04e544",
"Quantity": 3.0
},
{
"Id": "e9f3ba19-976f-431a-a884-b3b76d200f1c",
"ResourceId": "27672c58-f156-4500-ae71-5d1a9f04e544",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "aa2968eb-8207-412f-8fdd-725a15c81252",
"Type": 0,
"ResourceId": "938917e7-044f-498c-b41b-ea1ad33d0654",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "053ef061-18cf-43db-9c53-9c7ca791fd0d",
"Start": "2026-11-04T05:13:09.4775675+00:00",
"Due": "2026-11-04T05:13:09.4775675+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "053ef061-18cf-43db-9c53-9c7ca791fd0d",
"Start": "2026-11-04T05:13:09.4775675+00:00",
"Due": "2026-11-04T05:13:09.4775675+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "aa2968eb-8207-412f-8fdd-725a15c81252",
"Type": 0,
"ResourceId": "938917e7-044f-498c-b41b-ea1ad33d0654",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "053ef061-18cf-43db-9c53-9c7ca791fd0d",
"Start": "2026-11-04T05:13:09.4775675+00:00",
"Due": "2026-11-04T05:13:09.4775675+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "053ef061-18cf-43db-9c53-9c7ca791fd0d",
"Start": "2026-11-04T05:13:09.4775675+00:00",
"Due": "2026-11-04T05:13:09.4775675+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "9cc2eb07-a058-4661-8bfe-eb743e83f6a0",
"WorkTypeParentId": "b55b154d-6ec5-40c0-8494-f3ae80bb121f",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "777bfec2-5cd0-480b-8200-a65ae72b56f5",
"UPN": "4ae12021-dbeb-4825-bd5a-ef8a4ba3230b",
"PostDate": "2026-11-04T05:13:09.4775675+00:00",
"Comment": "sample string 4",
"CC": [
"50daf4f0-22f4-4951-89ee-50a7595def25",
"80743c5c-0caf-4596-87e5-0f18255e1bda"
],
"Users": [
"d1f34162-82da-46da-a222-22cf141feb5a",
"0438d444-702a-4e04-bb0f-2aadd9d47743"
]
},
{
"Id": "777bfec2-5cd0-480b-8200-a65ae72b56f5",
"UPN": "4ae12021-dbeb-4825-bd5a-ef8a4ba3230b",
"PostDate": "2026-11-04T05:13:09.4775675+00:00",
"Comment": "sample string 4",
"CC": [
"50daf4f0-22f4-4951-89ee-50a7595def25",
"80743c5c-0caf-4596-87e5-0f18255e1bda"
],
"Users": [
"d1f34162-82da-46da-a222-22cf141feb5a",
"0438d444-702a-4e04-bb0f-2aadd9d47743"
]
}
],
"StartDate": "2026-11-04T05:13:09.4775675+00:00",
"DueDate": "2026-11-04T05:13:09.4775675+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"c6444eef-30d7-401c-9a71-d8071208e90e": "55320140-7b3e-4e88-b2aa-25174372a7cf",
"9e9f2d99-5f50-46bd-a9bb-1accc47421c1": "95fa33c8-5f86-446e-b64d-cfd00e5e10f7"
},
"HasUpdates": true,
"Modified": "2026-11-04T05:13:09.4775675+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-11-04T05:13:09.4775675+00:00"
},
"LastComment": "2026-11-04T05:13:09.4775675+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "22e54694-53b1-46fa-96f5-90609d78c809",
"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": "90600ee0-ce7b-4791-b027-3ba79929fb7a",
"id": "a174dd8c-a0e3-47fe-830e-79b84774939d",
"ConfigId": "b550f5a8-a96a-414c-9b7e-1571456c8d7d"
}