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": "30d8db62-1e47-44ed-b8b7-da3572761333",
"Name": "sample string 1",
"Created": "2026-06-05T16:18:42.7290448+00:00",
"Modified": "2026-06-05T16:18:42.7290448+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"41c62c8f-9d18-4480-a5de-81e8158f2bc7",
"b01ca30f-8a31-4529-a08a-76424ffd21f6"
],
"NonLaborAssignments": [
{
"Id": "0d3e01f1-31d9-47d2-bb5b-f21d315465de",
"ResourceId": "21c87f23-65b6-4584-aa27-155454f1cd34",
"Quantity": 3.0
},
{
"Id": "0d3e01f1-31d9-47d2-bb5b-f21d315465de",
"ResourceId": "21c87f23-65b6-4584-aa27-155454f1cd34",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "59f6a1be-c931-4e1f-bc7c-738a183b59c7",
"Type": 0,
"ResourceId": "2b22fd94-f3b2-4a4e-ad3f-cfaedde61bf6",
"Units": 3.0
},
{
"Id": "59f6a1be-c931-4e1f-bc7c-738a183b59c7",
"Type": 0,
"ResourceId": "2b22fd94-f3b2-4a4e-ad3f-cfaedde61bf6",
"Units": 3.0
}
],
"ParentId": "c7fed394-1468-4c58-a3f0-1f9a1a71dcdf",
"WorkTypeParentId": "935ddf03-5735-45a5-81b5-5b61b1e41293",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "aa335475-12ad-4206-bec3-3da72ef3c08b",
"UPN": "9422d334-4406-4999-b82d-34d8cbfdae02",
"PostDate": "2026-06-05T16:18:42.7290448+00:00",
"Comment": "sample string 4",
"CC": [
"d7a596f2-28c3-47a7-9ffe-2bddb4c0cf63",
"b4f004b4-b3d1-46bf-a40a-ac86606f5364"
],
"Users": [
"8f5b7bff-8cc7-4683-a15f-f5d256ccdb6c",
"87b0f54d-7db2-413a-9cce-d8f4d2860870"
]
},
{
"Id": "aa335475-12ad-4206-bec3-3da72ef3c08b",
"UPN": "9422d334-4406-4999-b82d-34d8cbfdae02",
"PostDate": "2026-06-05T16:18:42.7290448+00:00",
"Comment": "sample string 4",
"CC": [
"d7a596f2-28c3-47a7-9ffe-2bddb4c0cf63",
"b4f004b4-b3d1-46bf-a40a-ac86606f5364"
],
"Users": [
"8f5b7bff-8cc7-4683-a15f-f5d256ccdb6c",
"87b0f54d-7db2-413a-9cce-d8f4d2860870"
]
}
],
"StartDate": "2026-06-05T16:18:42.7290448+00:00",
"DueDate": "2026-06-05T16:18:42.7290448+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"cad52f9d-adec-407e-8f8a-3da5debea945": "1868a7f9-4715-4782-a335-df4942ca929c",
"351a48b6-b612-4752-9689-3836dc2261cd": "da76eee3-15ae-42bd-9883-36d305b0e431"
},
"HasUpdates": true,
"Modified": "2026-06-05T16:18:42.7446676+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-05T16:18:42.7446676+00:00"
},
"LastComment": "2026-06-05T16:18:42.7446676+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "26497526-4205-4ee8-a90b-8120981d8e49",
"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": "cd1a68fd-064d-4f6c-8725-cb57bbf7e35c",
"id": "c7304d93-953e-453e-993f-b749b1d204b3",
"ConfigId": "44c2b967-601c-407d-b050-560732c472eb"
}