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": "f90ce5ad-defb-4073-bfa3-3eaecb46877c",
"Name": "sample string 1",
"Created": "2026-07-21T13:02:39.121251+00:00",
"Modified": "2026-07-21T13:02:39.121251+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8cdc083a-641d-4466-8709-c33e039ad92c",
"cd69e18e-db2a-4612-898d-ea0a6c9277af"
],
"NonLaborAssignments": [
{
"Id": "aa0b18c9-36de-4b61-8a2e-3770a6eef9e5",
"ResourceId": "ff6ccb01-8223-48db-858a-7a0c54ccf557",
"Quantity": 3.0
},
{
"Id": "aa0b18c9-36de-4b61-8a2e-3770a6eef9e5",
"ResourceId": "ff6ccb01-8223-48db-858a-7a0c54ccf557",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "a4209a8c-a0ac-4c28-85dc-25f6cd885f2e",
"Type": 0,
"ResourceId": "80d85bb6-9f61-4826-9616-de85d5c5b7ff",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "a4209a8c-a0ac-4c28-85dc-25f6cd885f2e",
"Type": 0,
"ResourceId": "80d85bb6-9f61-4826-9616-de85d5c5b7ff",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "7779d149-42f3-47a2-b842-5ef74523656d",
"WorkTypeParentId": "1be085c1-4327-4691-ab1c-4bc2b9b6c25c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "445fc4f1-2555-4dbf-b237-0168921636a3",
"UPN": "2a80b5eb-c949-45ff-98b9-7aa2b3682f81",
"PostDate": "2026-07-21T13:02:39.121251+00:00",
"Comment": "sample string 4",
"CC": [
"5b764b94-3316-459b-a7e8-8148e1497ec9",
"229447bc-180c-4771-865a-53efd8f623cd"
],
"Users": [
"7f1c1a50-fdb6-4952-b033-065db71398f4",
"8f4ef9a7-8db5-45f2-8f86-2205e0150b4b"
]
},
{
"Id": "445fc4f1-2555-4dbf-b237-0168921636a3",
"UPN": "2a80b5eb-c949-45ff-98b9-7aa2b3682f81",
"PostDate": "2026-07-21T13:02:39.121251+00:00",
"Comment": "sample string 4",
"CC": [
"5b764b94-3316-459b-a7e8-8148e1497ec9",
"229447bc-180c-4771-865a-53efd8f623cd"
],
"Users": [
"7f1c1a50-fdb6-4952-b033-065db71398f4",
"8f4ef9a7-8db5-45f2-8f86-2205e0150b4b"
]
}
],
"StartDate": "2026-07-21T13:02:39.121251+00:00",
"DueDate": "2026-07-21T13:02:39.121251+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"9410c064-d0ea-4927-ae10-3ecee669ad35": "d2dd0332-9521-4349-8268-e97df2460b55",
"78e447d9-b2f6-4f63-b3e3-dab44ed7c570": "de7f79f6-d314-484e-9ec2-b081724e7d41"
},
"HasUpdates": true,
"Modified": "2026-07-21T13:02:39.121251+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-07-21T13:02:39.121251+00:00"
},
"LastComment": "2026-07-21T13:02:39.121251+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "fd95734e-00d1-487e-a99a-dfacbcf2a6fd",
"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": "b393ccf6-de9c-4fea-b8ee-b54fca93ff58",
"id": "0525fe66-0085-4cb8-90d3-64fdcf9965c5",
"ConfigId": "e55a3956-d6f9-4ebc-b95f-f9fc95b91dee"
}