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": "7a11ec6c-b6ca-4013-ac38-bb361506dd07",
"Name": "sample string 1",
"Created": "2025-11-30T09:15:15.1312027+00:00",
"Modified": "2025-11-30T09:15:15.1312027+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1150f5cb-794d-43ad-9687-64d4b4926074",
"f829f79e-b3c1-448f-8123-a630c1cd06ca"
],
"NonLaborAssignments": [
{
"Id": "4fde6f41-9575-4c5b-9a67-176a1d187b7e",
"ResourceId": "e2d42e83-884d-4bc5-a39d-b036f160f619",
"Quantity": 3.0
},
{
"Id": "4fde6f41-9575-4c5b-9a67-176a1d187b7e",
"ResourceId": "e2d42e83-884d-4bc5-a39d-b036f160f619",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "5cf55d72-42c8-4dee-9092-21db07b00f67",
"Type": 0,
"ResourceId": "a8d68980-b231-4b93-a2e1-c67a68622fd3",
"Units": 3.0
},
{
"Id": "5cf55d72-42c8-4dee-9092-21db07b00f67",
"Type": 0,
"ResourceId": "a8d68980-b231-4b93-a2e1-c67a68622fd3",
"Units": 3.0
}
],
"ParentId": "3b3df91c-9a9f-4117-b055-1557d4ed13d9",
"WorkTypeParentId": "5e159818-6764-485e-b592-27277542e827",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "5c886959-460b-4d83-bcfc-9d81b35d7d58",
"UPN": "6e307521-b906-47ab-b258-36a6db73e051",
"PostDate": "2025-11-30T09:15:15.1312027+00:00",
"Comment": "sample string 4",
"CC": [
"1e9f3d9f-c026-4119-8699-fd171c7ac76e",
"4f5f5988-6da8-40cf-9ef8-850b97c40fbb"
],
"Users": [
"c2bbfbad-62c5-4750-b0c1-49c477b172b6",
"ab810ed4-bc00-424c-ad75-b55805fd112d"
]
},
{
"Id": "5c886959-460b-4d83-bcfc-9d81b35d7d58",
"UPN": "6e307521-b906-47ab-b258-36a6db73e051",
"PostDate": "2025-11-30T09:15:15.1312027+00:00",
"Comment": "sample string 4",
"CC": [
"1e9f3d9f-c026-4119-8699-fd171c7ac76e",
"4f5f5988-6da8-40cf-9ef8-850b97c40fbb"
],
"Users": [
"c2bbfbad-62c5-4750-b0c1-49c477b172b6",
"ab810ed4-bc00-424c-ad75-b55805fd112d"
]
}
],
"StartDate": "2025-11-30T09:15:15.1312027+00:00",
"DueDate": "2025-11-30T09:15:15.1312027+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"121de88c-14f2-456d-9e7c-aecdab74a4df": "e2eede3c-a6ae-40c6-be99-ed5d6dcb3493",
"791be16b-e1b7-4cae-9cb9-18bbd6b3405e": "64746e80-fdf5-4aa4-a124-397772c855c2"
},
"HasUpdates": true,
"Modified": "2025-11-30T09:15:15.1312027+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": "2025-11-30T09:15:15.1312027+00:00"
},
"LastComment": "2025-11-30T09:15:15.1312027+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "9556db05-2d0f-4e10-a521-f30948dd780d",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "5c085e99-5333-4608-8227-4d7f1aa88f13",
"id": "51e3ee52-ff1a-46fb-b40b-1ad7852bb45f",
"ConfigId": "946a11b7-5d57-4b11-a9e4-773dd2000974"
}