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": "da9dbcd8-847c-4849-935b-739471234c48",
"Name": "sample string 1",
"Created": "2026-04-12T15:27:36.3171423+00:00",
"Modified": "2026-04-12T15:27:36.3171423+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a85f8fa2-d71e-43a5-841a-87b4e3866435",
"80bfce63-fa4d-4017-acde-54114175bc96"
],
"NonLaborAssignments": [
{
"Id": "2959f1ef-978b-4adc-a5db-9115e9fe73cf",
"ResourceId": "b01cfe20-8ee1-43d7-9495-a65e40419d21",
"Quantity": 3.0
},
{
"Id": "2959f1ef-978b-4adc-a5db-9115e9fe73cf",
"ResourceId": "b01cfe20-8ee1-43d7-9495-a65e40419d21",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "46293e9b-8a7a-4a41-9332-f4e78459c4ef",
"Type": 0,
"ResourceId": "97179042-234f-4c03-a82e-ba8371d5820d",
"Units": 3.0
},
{
"Id": "46293e9b-8a7a-4a41-9332-f4e78459c4ef",
"Type": 0,
"ResourceId": "97179042-234f-4c03-a82e-ba8371d5820d",
"Units": 3.0
}
],
"ParentId": "90adf9c9-4e40-4b32-9e4d-5287308c14c1",
"WorkTypeParentId": "d6cd9c59-a15a-44ac-8ada-4ce736f868cf",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "97e97118-e035-41e8-9fa4-1e4f00fb15b9",
"UPN": "ea68e1ed-3dfc-4086-b8d3-d9f3fcf85175",
"PostDate": "2026-04-12T15:27:36.3171423+00:00",
"Comment": "sample string 4",
"CC": [
"6279a28a-abac-454f-bb5e-9fb5860adfa1",
"e4413140-ffe4-48c2-a916-4cd13a8349e9"
],
"Users": [
"130a8011-5ebc-478c-a896-ab623dac882b",
"f40fc2ee-f563-4ced-9404-18cd6a876227"
]
},
{
"Id": "97e97118-e035-41e8-9fa4-1e4f00fb15b9",
"UPN": "ea68e1ed-3dfc-4086-b8d3-d9f3fcf85175",
"PostDate": "2026-04-12T15:27:36.3171423+00:00",
"Comment": "sample string 4",
"CC": [
"6279a28a-abac-454f-bb5e-9fb5860adfa1",
"e4413140-ffe4-48c2-a916-4cd13a8349e9"
],
"Users": [
"130a8011-5ebc-478c-a896-ab623dac882b",
"f40fc2ee-f563-4ced-9404-18cd6a876227"
]
}
],
"StartDate": "2026-04-12T15:27:36.3171423+00:00",
"DueDate": "2026-04-12T15:27:36.3171423+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"bcaa0842-b752-4a11-8e58-7ec8ae8ed10f": "13d9ae6e-f4d4-4146-86c7-1f039e52c688",
"91803764-261c-4afa-abe6-3941547af05f": "43248ac4-3188-41bd-b445-79bc270152cf"
},
"HasUpdates": true,
"Modified": "2026-04-12T15:27:36.3171423+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-04-12T15:27:36.3171423+00:00"
},
"LastComment": "2026-04-12T15:27:36.3171423+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "bcc60003-6a9b-4351-88e1-6649a508d01c",
"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": "7a90a718-b9dd-4fe9-a31f-100af13fb001",
"id": "d78bbabb-db10-404b-acc9-9e1288dab1d7",
"ConfigId": "dcb53289-893b-4cff-8069-c10af8d9ccd2"
}