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": "5fd0ab0b-9d53-4043-beae-10a0ac0b4c6e",
"Name": "sample string 1",
"Created": "2026-10-07T03:14:29.903121+00:00",
"Modified": "2026-10-07T03:14:29.903121+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1afb68bc-6dc8-44fc-9acc-968e7b5c6aeb",
"47d442fc-937a-4d7c-b71a-dd041ae513a0"
],
"NonLaborAssignments": [
{
"Id": "1846640b-5a90-402f-af75-a5182ccc6054",
"ResourceId": "5d6b9755-4360-4d33-9f5c-fc58d15a0edb",
"Quantity": 3.0
},
{
"Id": "1846640b-5a90-402f-af75-a5182ccc6054",
"ResourceId": "5d6b9755-4360-4d33-9f5c-fc58d15a0edb",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c57b4feb-6c53-4b52-a16d-78b33e20eb76",
"Type": 0,
"ResourceId": "7f90de0b-a720-471e-b93f-49ec720cafb6",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "8620c55b-5768-4264-90bd-491fd2ec5c74",
"Start": "2026-10-07T03:14:29.903121+00:00",
"Due": "2026-10-07T03:14:29.903121+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "8620c55b-5768-4264-90bd-491fd2ec5c74",
"Start": "2026-10-07T03:14:29.903121+00:00",
"Due": "2026-10-07T03:14:29.903121+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "c57b4feb-6c53-4b52-a16d-78b33e20eb76",
"Type": 0,
"ResourceId": "7f90de0b-a720-471e-b93f-49ec720cafb6",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "8620c55b-5768-4264-90bd-491fd2ec5c74",
"Start": "2026-10-07T03:14:29.903121+00:00",
"Due": "2026-10-07T03:14:29.903121+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "8620c55b-5768-4264-90bd-491fd2ec5c74",
"Start": "2026-10-07T03:14:29.903121+00:00",
"Due": "2026-10-07T03:14:29.903121+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "090c636e-3674-4f65-82d1-242a8da52d1f",
"WorkTypeParentId": "4385ad9e-c8cc-4368-b353-80ecdcc9356a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1163f7a6-3746-4207-aae8-38f7ff31fcb4",
"UPN": "414c1071-cb89-49c3-97b8-b34510be68de",
"PostDate": "2026-10-07T03:14:29.903121+00:00",
"Comment": "sample string 4",
"CC": [
"f1810603-02b3-4bee-9cad-e6624e4d73f7",
"2882474d-bbb1-4fcf-8727-003ffeaa8910"
],
"Users": [
"350d9223-8ca1-4f4d-88a9-78267ce8cc57",
"de0df0fb-02bc-4fab-95b6-cdb94065b123"
]
},
{
"Id": "1163f7a6-3746-4207-aae8-38f7ff31fcb4",
"UPN": "414c1071-cb89-49c3-97b8-b34510be68de",
"PostDate": "2026-10-07T03:14:29.903121+00:00",
"Comment": "sample string 4",
"CC": [
"f1810603-02b3-4bee-9cad-e6624e4d73f7",
"2882474d-bbb1-4fcf-8727-003ffeaa8910"
],
"Users": [
"350d9223-8ca1-4f4d-88a9-78267ce8cc57",
"de0df0fb-02bc-4fab-95b6-cdb94065b123"
]
}
],
"StartDate": "2026-10-07T03:14:29.903121+00:00",
"DueDate": "2026-10-07T03:14:29.903121+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"60ea65d6-bdb3-49e6-a349-527f649ad033": "da3f2050-7eef-4e8e-b565-9fb3f306be14",
"6278bc27-df9c-4665-ae58-1c34b8f21917": "3c4586c1-89eb-4943-8c71-21ee49bcb4b7"
},
"HasUpdates": true,
"Modified": "2026-10-07T03:14:29.903121+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-07T03:14:29.903121+00:00"
},
"LastComment": "2026-10-07T03:14:29.903121+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "f0e2212a-f484-4b24-8f7c-e5166f4cc29d",
"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": "0f2c89f9-2ca6-4161-bde5-c4de8f637269",
"id": "b4f049f9-b7c4-4903-9831-8caa497a02f0",
"ConfigId": "cde49153-181f-412b-900b-98db371f7cc2"
}