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": "647eca6f-ceee-4cea-89b4-9449e6b49398",
"Name": "sample string 1",
"Created": "2026-06-30T07:05:17.2073496+00:00",
"Modified": "2026-06-30T07:05:17.2073496+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"aa20d1c1-0832-4229-b4c7-217ad7ff6a06",
"88ee2918-40bb-4845-b237-8b63ef6d3542"
],
"NonLaborAssignments": [
{
"Id": "e4d751b4-c36a-413f-bcf1-90d1e80d8189",
"ResourceId": "13d510b8-e723-45bb-a69c-cfa5370dd2af",
"Quantity": 3.0
},
{
"Id": "e4d751b4-c36a-413f-bcf1-90d1e80d8189",
"ResourceId": "13d510b8-e723-45bb-a69c-cfa5370dd2af",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "4b26b2fc-8d6f-455a-93f1-3496cee6ade7",
"Type": 0,
"ResourceId": "728d4114-defd-4c11-9c05-3bb12c3aa969",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "4b26b2fc-8d6f-455a-93f1-3496cee6ade7",
"Type": 0,
"ResourceId": "728d4114-defd-4c11-9c05-3bb12c3aa969",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "a02c1880-0622-45f8-98fb-6d44e4e21f91",
"WorkTypeParentId": "ed0bb4f7-66f4-40bf-8312-26721802fedd",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2d22a43e-b6c2-4eea-8d7d-c0c37c59408f",
"UPN": "c27eb2e8-56a2-43d8-ab6b-1aec2169577e",
"PostDate": "2026-06-30T07:05:17.2073496+00:00",
"Comment": "sample string 4",
"CC": [
"846b9d5b-4538-4f61-bfaa-7523d4562eb1",
"8bd3e5e0-6243-407c-847d-6b0acdb544fc"
],
"Users": [
"4abd4f7f-2b08-4be4-a55d-f5c21a42445c",
"745c2e9d-51c1-4d05-a47c-da29ba7b2e71"
]
},
{
"Id": "2d22a43e-b6c2-4eea-8d7d-c0c37c59408f",
"UPN": "c27eb2e8-56a2-43d8-ab6b-1aec2169577e",
"PostDate": "2026-06-30T07:05:17.2073496+00:00",
"Comment": "sample string 4",
"CC": [
"846b9d5b-4538-4f61-bfaa-7523d4562eb1",
"8bd3e5e0-6243-407c-847d-6b0acdb544fc"
],
"Users": [
"4abd4f7f-2b08-4be4-a55d-f5c21a42445c",
"745c2e9d-51c1-4d05-a47c-da29ba7b2e71"
]
}
],
"StartDate": "2026-06-30T07:05:17.2073496+00:00",
"DueDate": "2026-06-30T07:05:17.2073496+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b1d5f47a-5098-4d44-b71d-e70fd1e64d05": "831f64ed-46db-46ec-afb2-e5784c84d7c2",
"445fdf9c-cfad-4ada-a917-903261e623d0": "3c98b884-451c-416e-a596-04bae2ff976e"
},
"HasUpdates": true,
"Modified": "2026-06-30T07:05:17.2073496+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-06-30T07:05:17.2073496+00:00"
},
"LastComment": "2026-06-30T07:05:17.2073496+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "070161bd-47d8-4d40-89b1-7329a3ed431d",
"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": "9df8b151-a807-442d-b93b-d773b91181f5",
"id": "1c95be36-3114-4309-8032-bf526e1c6ee4",
"ConfigId": "76a89153-f626-41bf-ab24-8183cf3a3dfe"
}