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": "1d77c704-89b8-43b0-b15c-6d6220258371",
"Name": "sample string 1",
"Created": "2026-09-23T01:08:10.705159+00:00",
"Modified": "2026-09-23T01:08:10.705159+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"a33e1d8d-96a5-4d2b-a499-549bcd6be1dd",
"64e8cae5-b676-49c1-bcb3-e644b24bcc86"
],
"NonLaborAssignments": [
{
"Id": "baa28581-ac7a-40ad-a236-03351aefea45",
"ResourceId": "d278fe18-83f6-404d-80c3-91382bbc8665",
"Quantity": 3.0
},
{
"Id": "baa28581-ac7a-40ad-a236-03351aefea45",
"ResourceId": "d278fe18-83f6-404d-80c3-91382bbc8665",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "74244313-31fe-426a-9f17-fcd8411e5e02",
"Type": 0,
"ResourceId": "9b4f7b4e-6669-4175-84c4-ff1b2bdd3371",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "baad5312-2bde-4221-a9ed-53b3751f09e5",
"Start": "2026-09-23T01:08:10.705159+00:00",
"Due": "2026-09-23T01:08:10.705159+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "baad5312-2bde-4221-a9ed-53b3751f09e5",
"Start": "2026-09-23T01:08:10.705159+00:00",
"Due": "2026-09-23T01:08:10.705159+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "74244313-31fe-426a-9f17-fcd8411e5e02",
"Type": 0,
"ResourceId": "9b4f7b4e-6669-4175-84c4-ff1b2bdd3371",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "baad5312-2bde-4221-a9ed-53b3751f09e5",
"Start": "2026-09-23T01:08:10.705159+00:00",
"Due": "2026-09-23T01:08:10.705159+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "baad5312-2bde-4221-a9ed-53b3751f09e5",
"Start": "2026-09-23T01:08:10.705159+00:00",
"Due": "2026-09-23T01:08:10.705159+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "670d97cf-9057-4977-af01-6a606e918b4d",
"WorkTypeParentId": "e9087d1f-efc3-4ae4-ae22-8ef994df19d1",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "fcc37248-3c13-414e-8ab7-08655ba08ddf",
"UPN": "d93151e0-77d4-4c57-a873-3dea9de0617f",
"PostDate": "2026-09-23T01:08:10.705159+00:00",
"Comment": "sample string 4",
"CC": [
"127d872a-f1d5-4474-b357-32f2799afe3e",
"0bbef7ce-9e98-45cb-8060-40460b0ef126"
],
"Users": [
"ce590270-8ea9-4054-8b1b-845b184ec7ff",
"4f77774e-ae43-4a83-a865-ce390aa297a0"
]
},
{
"Id": "fcc37248-3c13-414e-8ab7-08655ba08ddf",
"UPN": "d93151e0-77d4-4c57-a873-3dea9de0617f",
"PostDate": "2026-09-23T01:08:10.705159+00:00",
"Comment": "sample string 4",
"CC": [
"127d872a-f1d5-4474-b357-32f2799afe3e",
"0bbef7ce-9e98-45cb-8060-40460b0ef126"
],
"Users": [
"ce590270-8ea9-4054-8b1b-845b184ec7ff",
"4f77774e-ae43-4a83-a865-ce390aa297a0"
]
}
],
"StartDate": "2026-09-23T01:08:10.705159+00:00",
"DueDate": "2026-09-23T01:08:10.705159+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"ca70911a-f0a0-4528-9b53-df73b5706ea7": "bc747c75-81cf-4b94-a673-7994bd59ce2b",
"6aa68f08-1ece-4808-a678-01f8e918f4bb": "61befc97-38df-47d6-be42-e33fb158f9c3"
},
"HasUpdates": true,
"Modified": "2026-09-23T01:08:10.705159+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-09-23T01:08:10.705159+00:00"
},
"LastComment": "2026-09-23T01:08:10.705159+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "24bb78d8-44f2-4311-a72f-0463d7c102a1",
"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": "f31eab08-7911-4516-96c7-6ae3f345093c",
"id": "5734f340-7ab9-45cc-97ba-99fe02897e39",
"ConfigId": "b2f67901-9753-4e32-9656-e73db26e06db"
}