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": "e1491f02-92cf-4505-bf67-573600e11f0e",
"Name": "sample string 1",
"Created": "2026-02-21T00:17:18.7855667+00:00",
"Modified": "2026-02-21T00:17:18.7855667+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e593a543-bac9-456f-a448-fe330086da41",
"8072bd89-0456-425e-84e1-28d76718e8e7"
],
"NonLaborAssignments": [
{
"Id": "01ce4ef2-5016-43e2-956c-d56ad67c42b1",
"ResourceId": "00fe38fa-15ca-4679-8c8a-1fdcfb04c3b4",
"Quantity": 3.0
},
{
"Id": "01ce4ef2-5016-43e2-956c-d56ad67c42b1",
"ResourceId": "00fe38fa-15ca-4679-8c8a-1fdcfb04c3b4",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "d568bd4a-757d-47b6-8881-92b60b55b0ea",
"Type": 0,
"ResourceId": "4ecc393f-d373-479a-96b0-4610bdb18029",
"Units": 3.0
},
{
"Id": "d568bd4a-757d-47b6-8881-92b60b55b0ea",
"Type": 0,
"ResourceId": "4ecc393f-d373-479a-96b0-4610bdb18029",
"Units": 3.0
}
],
"ParentId": "dd467e83-63b5-4817-858f-a93c34bc7ba2",
"WorkTypeParentId": "589ece67-2c60-41a6-a397-aa9cce08e65c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "377d3358-85eb-4606-ae7d-4bb54877158e",
"UPN": "8ab8d268-770a-46c5-9884-9a0fdcb3d776",
"PostDate": "2026-02-21T00:17:18.7855667+00:00",
"Comment": "sample string 4",
"CC": [
"4872a191-8ded-4f95-938f-e77860f4e8e5",
"c99af090-51e5-469c-89de-cfa012367c5a"
],
"Users": [
"d2f56a03-c5f1-45ac-8963-edf3967738b3",
"ee320e92-b608-4fb5-be81-82795af63a9d"
]
},
{
"Id": "377d3358-85eb-4606-ae7d-4bb54877158e",
"UPN": "8ab8d268-770a-46c5-9884-9a0fdcb3d776",
"PostDate": "2026-02-21T00:17:18.7855667+00:00",
"Comment": "sample string 4",
"CC": [
"4872a191-8ded-4f95-938f-e77860f4e8e5",
"c99af090-51e5-469c-89de-cfa012367c5a"
],
"Users": [
"d2f56a03-c5f1-45ac-8963-edf3967738b3",
"ee320e92-b608-4fb5-be81-82795af63a9d"
]
}
],
"StartDate": "2026-02-21T00:17:18.7855667+00:00",
"DueDate": "2026-02-21T00:17:18.7855667+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"998d33db-01a7-472e-860b-0cb6dd37b6c3": "94edba5f-d36d-406c-b60a-2fc6c0624997",
"0be7cdd8-58dc-42c7-ae56-177816d48c48": "e92add83-45bb-45fe-8910-41b9533eac8e"
},
"HasUpdates": true,
"Modified": "2026-02-21T00:17:18.7855667+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-02-21T00:17:18.7855667+00:00"
},
"LastComment": "2026-02-21T00:17:18.7855667+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "7f30cd57-ed36-49ba-a47a-16dc0c347955",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "0fcede97-37c0-48fe-89f9-89ce6e3e196c",
"id": "5a3a5487-f319-4a5c-8c2d-d9fa365a2a31",
"ConfigId": "cdc8606d-4710-4d69-9991-cfe38e1410b1"
}