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. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "b45fd0c3-f829-421a-9c94-51b3110c89ea",
"Name": "sample string 1",
"Created": "2026-01-26T20:29:48.3136696+00:00",
"Modified": "2026-01-26T20:29:48.3136696+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"3eb7550e-0399-40bc-9821-e960f6090714",
"a44308ba-1e42-458a-bece-6bee82043709"
],
"NonLaborAssignments": [
{
"Id": "a2b5b345-e805-4276-8ea2-8f9b2ac3af91",
"ResourceId": "3c87b16b-23a6-4156-a61f-dd24ac569482",
"Quantity": 3.0
},
{
"Id": "a2b5b345-e805-4276-8ea2-8f9b2ac3af91",
"ResourceId": "3c87b16b-23a6-4156-a61f-dd24ac569482",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "aa70af0e-9661-4b76-ba82-29e4c4c01b16",
"Type": 0,
"ResourceId": "defdbfa0-fdeb-490d-9e13-5e00dae38e03",
"Units": 3.0
},
{
"Id": "aa70af0e-9661-4b76-ba82-29e4c4c01b16",
"Type": 0,
"ResourceId": "defdbfa0-fdeb-490d-9e13-5e00dae38e03",
"Units": 3.0
}
],
"ParentId": "2c13f0a8-c3bf-493d-88f9-f208fe259304",
"WorkTypeParentId": "352e8e63-4924-4252-a4a7-8478ae9c3d0e",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "af93763e-2493-49f8-b0e5-5716ede94ba6",
"UPN": "066a9689-1415-4892-8b87-a4e8f08ee31c",
"PostDate": "2026-01-26T20:29:48.3136696+00:00",
"Comment": "sample string 4",
"CC": [
"3535cd8d-e7a8-4442-b62f-8a14c328f45a",
"58718fd7-b21b-4b42-94af-ee0c7f63c5fe"
],
"Users": [
"f6b3cbc5-4d8f-43aa-a5ab-7d08250b3096",
"3bab11ce-10c1-4ca4-8824-ce808fb0ffbd"
]
},
{
"Id": "af93763e-2493-49f8-b0e5-5716ede94ba6",
"UPN": "066a9689-1415-4892-8b87-a4e8f08ee31c",
"PostDate": "2026-01-26T20:29:48.3136696+00:00",
"Comment": "sample string 4",
"CC": [
"3535cd8d-e7a8-4442-b62f-8a14c328f45a",
"58718fd7-b21b-4b42-94af-ee0c7f63c5fe"
],
"Users": [
"f6b3cbc5-4d8f-43aa-a5ab-7d08250b3096",
"3bab11ce-10c1-4ca4-8824-ce808fb0ffbd"
]
}
],
"StartDate": "2026-01-26T20:29:48.3136696+00:00",
"DueDate": "2026-01-26T20:29:48.3136696+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b22d9327-60d1-415e-8c91-43210d40c33c": "599d7868-920b-4b6e-846e-215f345c6d32",
"fd5ba22e-cb09-4d93-8f17-c471bafb2854": "a79bcee7-a97b-4ad9-b3d7-042214b2baa6"
},
"HasUpdates": true,
"Modified": "2026-01-26T20:29:48.3136696+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-01-26T20:29:48.3136696+00:00"
},
"LastComment": "2026-01-26T20:29:48.3136696+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "66782039-34b1-4a49-8df3-fe3ec22dff43",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "6fcdb45c-5c26-4fff-a298-cede4d5070d7",
"id": "7332cae4-18a6-463f-884d-5162528d268e",
"ConfigId": "82d62452-ee68-4cfe-9cd4-d424cc525d94"
}