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": "85b82eb6-6a5a-4171-90f5-14c72c264454",
"Name": "sample string 1",
"Created": "2026-03-17T22:40:54.9161777+00:00",
"Modified": "2026-03-17T22:40:54.9161777+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"3863b64e-003b-4af0-ae60-ccb7cdf760f6",
"455bca2d-04ad-4421-ad37-fa733b21fec5"
],
"NonLaborAssignments": [
{
"Id": "56f0c6c3-cedb-4d47-ba43-2022c9da9e2d",
"ResourceId": "0ce143d5-c329-48e3-ab09-d88f93f4f30a",
"Quantity": 3.0
},
{
"Id": "56f0c6c3-cedb-4d47-ba43-2022c9da9e2d",
"ResourceId": "0ce143d5-c329-48e3-ab09-d88f93f4f30a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "5551e1f3-d359-421d-aeb2-938631e69ac2",
"Type": 0,
"ResourceId": "cffc6c2a-5d98-4c2e-aef6-d54f9383ed57",
"Units": 3.0
},
{
"Id": "5551e1f3-d359-421d-aeb2-938631e69ac2",
"Type": 0,
"ResourceId": "cffc6c2a-5d98-4c2e-aef6-d54f9383ed57",
"Units": 3.0
}
],
"ParentId": "b069deb0-d2e1-480d-9834-2ad69ff71776",
"WorkTypeParentId": "02e292dc-6bae-49b6-9597-927514c3e788",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "059f337b-c479-4e9c-9a6a-038746198a35",
"UPN": "7d9ba101-7f1f-4d48-9208-d44391b655a5",
"PostDate": "2026-03-17T22:40:54.9161777+00:00",
"Comment": "sample string 4",
"CC": [
"3d539e56-3d02-4899-aa67-9bc8780e7ff5",
"afe8e192-5544-4a2b-9819-b9e1ef63bb40"
],
"Users": [
"3e16fd0f-d5e2-47c4-b396-b0b57ecccfe2",
"a40ba86a-8fc3-4ed9-9952-3450204dd495"
]
},
{
"Id": "059f337b-c479-4e9c-9a6a-038746198a35",
"UPN": "7d9ba101-7f1f-4d48-9208-d44391b655a5",
"PostDate": "2026-03-17T22:40:54.9161777+00:00",
"Comment": "sample string 4",
"CC": [
"3d539e56-3d02-4899-aa67-9bc8780e7ff5",
"afe8e192-5544-4a2b-9819-b9e1ef63bb40"
],
"Users": [
"3e16fd0f-d5e2-47c4-b396-b0b57ecccfe2",
"a40ba86a-8fc3-4ed9-9952-3450204dd495"
]
}
],
"StartDate": "2026-03-17T22:40:54.9161777+00:00",
"DueDate": "2026-03-17T22:40:54.9161777+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"48f41601-6622-4602-8a86-1269ebb8e656": "4834a249-6555-4c5d-9c4d-567318a015f2",
"39d4e2a1-16e4-463d-b586-8ccd8aeb6330": "3499cb90-b269-469d-9d40-0d7b101d40d0"
},
"HasUpdates": true,
"Modified": "2026-03-17T22:40:54.9161777+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-03-17T22:40:54.9161777+00:00"
},
"LastComment": "2026-03-17T22:40:54.9161777+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3c2de546-aa31-41fc-981d-2592850ba150",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "2a493a4b-d5b6-4510-8699-52e526c6a74f",
"id": "fa6f69a8-71ee-4f1f-b108-08a8b50d7512",
"ConfigId": "6440c96d-14e1-44bd-8ce4-fb6103ba9c10"
}