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": "43231780-03cd-4887-af23-3ef8f46f526e",
"Name": "sample string 1",
"Created": "2026-07-21T13:44:08.4831139+00:00",
"Modified": "2026-07-21T13:44:08.4831139+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"59626467-1df7-4a6e-8248-b426b8a6fe2a",
"8b0f4d55-608e-4ec0-bc31-a91111a7a605"
],
"NonLaborAssignments": [
{
"Id": "a2d7c754-bff0-4f79-90ab-586249cf1072",
"ResourceId": "b40c21dc-a4ce-4240-803a-cb35ba41349c",
"Quantity": 3.0
},
{
"Id": "a2d7c754-bff0-4f79-90ab-586249cf1072",
"ResourceId": "b40c21dc-a4ce-4240-803a-cb35ba41349c",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "97004177-72e5-47a9-a23f-30261a746bf0",
"Type": 0,
"ResourceId": "cd487dc4-5a3f-4cee-8873-2afa67c0ddad",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "97004177-72e5-47a9-a23f-30261a746bf0",
"Type": 0,
"ResourceId": "cd487dc4-5a3f-4cee-8873-2afa67c0ddad",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "a7d263f4-d70c-4f9e-a2e0-2ad0e322195a",
"WorkTypeParentId": "a47361df-9500-47c1-886c-6a219a23ba39",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2950183f-06a3-4160-abae-28691ed3ccc5",
"UPN": "f3c6114b-0de7-4b69-81fe-b02c8282dfff",
"PostDate": "2026-07-21T13:44:08.4831139+00:00",
"Comment": "sample string 4",
"CC": [
"a1c1f293-4420-4a61-9770-ecdbbc39e1cb",
"28895e74-784b-4a46-90d6-da708d6b36cc"
],
"Users": [
"8dbda385-5584-47ff-a6ad-b0081a58bea7",
"1a77685a-7793-4465-9780-60cf19113a55"
]
},
{
"Id": "2950183f-06a3-4160-abae-28691ed3ccc5",
"UPN": "f3c6114b-0de7-4b69-81fe-b02c8282dfff",
"PostDate": "2026-07-21T13:44:08.4831139+00:00",
"Comment": "sample string 4",
"CC": [
"a1c1f293-4420-4a61-9770-ecdbbc39e1cb",
"28895e74-784b-4a46-90d6-da708d6b36cc"
],
"Users": [
"8dbda385-5584-47ff-a6ad-b0081a58bea7",
"1a77685a-7793-4465-9780-60cf19113a55"
]
}
],
"StartDate": "2026-07-21T13:44:08.4831139+00:00",
"DueDate": "2026-07-21T13:44:08.4831139+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b85d749a-5a49-4de3-a29d-e2d50d4d6865": "523b469c-01c1-4833-9812-d4bc511d4963",
"6adea9b9-d6c0-4dd7-8a77-c97cd0c3a087": "71afe8d3-4419-4b93-89a8-dfacb1a1a1f5"
},
"HasUpdates": true,
"Modified": "2026-07-21T13:44:08.4831139+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:44:08.4831139+00:00"
},
"LastComment": "2026-07-21T13:44:08.4831139+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "9299fc7a-b52f-4e36-bd88-26209e93a874",
"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": "431db5d4-4902-4b9c-9953-5886e9c655fd",
"id": "d8666ddd-f27e-4f18-8946-af40ec961ed7",
"ConfigId": "d9b2a13c-1749-414d-9aa8-305e6f49f7f4"
}