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": "b8c585c7-427d-48fc-be2c-b9974694ffce",
"Name": "sample string 1",
"Created": "2026-10-28T05:26:10.819295+00:00",
"Modified": "2026-10-28T05:26:10.819295+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"237b8388-8f4d-4c50-824c-a6b4193a9f30",
"747554bf-7082-4e0c-a706-238b3f1c245a"
],
"NonLaborAssignments": [
{
"Id": "9ac03f20-3d20-481a-99ad-e0f3059d4404",
"ResourceId": "2e3f7238-a1ec-4f8c-9b94-a0c0d7e945b3",
"Quantity": 3.0
},
{
"Id": "9ac03f20-3d20-481a-99ad-e0f3059d4404",
"ResourceId": "2e3f7238-a1ec-4f8c-9b94-a0c0d7e945b3",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "058d0ea7-741e-4cfe-b077-05ffb5c4185b",
"Type": 0,
"ResourceId": "9b186e85-a62a-4a97-a255-f5ded5b926fe",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "d947b051-df83-4857-a730-12f8b3b3be62",
"Start": "2026-10-28T05:26:10.819295+00:00",
"Due": "2026-10-28T05:26:10.819295+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "d947b051-df83-4857-a730-12f8b3b3be62",
"Start": "2026-10-28T05:26:10.819295+00:00",
"Due": "2026-10-28T05:26:10.819295+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "058d0ea7-741e-4cfe-b077-05ffb5c4185b",
"Type": 0,
"ResourceId": "9b186e85-a62a-4a97-a255-f5ded5b926fe",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "d947b051-df83-4857-a730-12f8b3b3be62",
"Start": "2026-10-28T05:26:10.819295+00:00",
"Due": "2026-10-28T05:26:10.819295+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "d947b051-df83-4857-a730-12f8b3b3be62",
"Start": "2026-10-28T05:26:10.819295+00:00",
"Due": "2026-10-28T05:26:10.819295+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "6dd94aa1-c36b-4a48-b9da-2c3260212b2d",
"WorkTypeParentId": "d0a964dc-bbc1-4ce4-a697-6cda5cee7475",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "bfcea567-3ccf-4f54-b33c-380950cbacbe",
"UPN": "9b1a38a4-d711-4c81-88a0-a196b48d52a3",
"PostDate": "2026-10-28T05:26:10.819295+00:00",
"Comment": "sample string 4",
"CC": [
"f244b082-328a-4074-beb4-7163476fff8b",
"60978cf4-e55a-4c5d-a642-b2eb1a439137"
],
"Users": [
"a16541fb-e406-4d65-9cfc-f18bd3db3365",
"715b44bd-3103-4a80-a0a5-6ed9f26b78c6"
]
},
{
"Id": "bfcea567-3ccf-4f54-b33c-380950cbacbe",
"UPN": "9b1a38a4-d711-4c81-88a0-a196b48d52a3",
"PostDate": "2026-10-28T05:26:10.819295+00:00",
"Comment": "sample string 4",
"CC": [
"f244b082-328a-4074-beb4-7163476fff8b",
"60978cf4-e55a-4c5d-a642-b2eb1a439137"
],
"Users": [
"a16541fb-e406-4d65-9cfc-f18bd3db3365",
"715b44bd-3103-4a80-a0a5-6ed9f26b78c6"
]
}
],
"StartDate": "2026-10-28T05:26:10.819295+00:00",
"DueDate": "2026-10-28T05:26:10.819295+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"7ac90a09-e95f-489c-939a-187579c76b5c": "47d383e9-b094-4a39-9d5e-0dd4d701b7e6",
"9dfcf005-d61c-42f3-aab7-178aa32b9159": "6c7ff1e4-5267-4682-b7cc-fc5a24501045"
},
"HasUpdates": true,
"Modified": "2026-10-28T05:26:10.819295+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-10-28T05:26:10.819295+00:00"
},
"LastComment": "2026-10-28T05:26:10.819295+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3f1edbda-a204-4fe8-bf8b-8c2f107a4a2d",
"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": "a4567063-e66b-4684-9ff6-ae50567a938b",
"id": "29e94800-c447-4d8d-937e-e4057f6adfc8",
"ConfigId": "51af47ee-1c03-478a-9c54-37979a9031b7"
}