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": "83b2ad1f-5be1-4aee-984a-e7e4652898b4",
"Name": "sample string 1",
"Created": "2026-09-30T01:22:22.2796964+00:00",
"Modified": "2026-09-30T01:22:22.2796964+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b2440380-c064-4302-a0e8-c2d8d9be4751",
"5586b4b2-7f02-402f-8bab-6eed854e4839"
],
"NonLaborAssignments": [
{
"Id": "cd81dc03-c12e-427f-8ca4-6f8e81487061",
"ResourceId": "8efe573b-efbe-4ed1-8de5-a0297bdb03dc",
"Quantity": 3.0
},
{
"Id": "cd81dc03-c12e-427f-8ca4-6f8e81487061",
"ResourceId": "8efe573b-efbe-4ed1-8de5-a0297bdb03dc",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "3de70101-5251-44d5-804e-662d68a6041a",
"Type": 0,
"ResourceId": "dc3084aa-bfa7-4e88-a993-c21a76b78c4f",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "e6aa020b-7060-48a1-89ca-eea0e61e941e",
"Start": "2026-09-30T01:22:22.2796964+00:00",
"Due": "2026-09-30T01:22:22.2796964+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "e6aa020b-7060-48a1-89ca-eea0e61e941e",
"Start": "2026-09-30T01:22:22.2796964+00:00",
"Due": "2026-09-30T01:22:22.2796964+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "3de70101-5251-44d5-804e-662d68a6041a",
"Type": 0,
"ResourceId": "dc3084aa-bfa7-4e88-a993-c21a76b78c4f",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "e6aa020b-7060-48a1-89ca-eea0e61e941e",
"Start": "2026-09-30T01:22:22.2796964+00:00",
"Due": "2026-09-30T01:22:22.2796964+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "e6aa020b-7060-48a1-89ca-eea0e61e941e",
"Start": "2026-09-30T01:22:22.2796964+00:00",
"Due": "2026-09-30T01:22:22.2796964+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "affae438-e2dc-4446-9b84-fab02d3c09d4",
"WorkTypeParentId": "2dd5482e-9525-40e4-a0d2-5e63a650a0d0",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "f2729a26-2820-4866-a771-7cb99e59f0ab",
"UPN": "ea725a01-55f9-416b-8e56-af9755387fe1",
"PostDate": "2026-09-30T01:22:22.2796964+00:00",
"Comment": "sample string 4",
"CC": [
"b2bad93f-2597-4682-9c47-77a2c213dd6b",
"8abd546f-e8a3-47b3-a721-050e07240a72"
],
"Users": [
"08a9a15c-e193-4af6-8ecc-446fa8f8d062",
"01e393da-21e9-4565-a952-fbc89749a6cc"
]
},
{
"Id": "f2729a26-2820-4866-a771-7cb99e59f0ab",
"UPN": "ea725a01-55f9-416b-8e56-af9755387fe1",
"PostDate": "2026-09-30T01:22:22.2796964+00:00",
"Comment": "sample string 4",
"CC": [
"b2bad93f-2597-4682-9c47-77a2c213dd6b",
"8abd546f-e8a3-47b3-a721-050e07240a72"
],
"Users": [
"08a9a15c-e193-4af6-8ecc-446fa8f8d062",
"01e393da-21e9-4565-a952-fbc89749a6cc"
]
}
],
"StartDate": "2026-09-30T01:22:22.2796964+00:00",
"DueDate": "2026-09-30T01:22:22.2796964+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"41d0767a-325a-49e4-8760-987f30c4b99a": "34b6b6df-7dbf-48b0-9905-2fa0d57d03d5",
"89fda43d-13c0-4bff-a8f9-0d48ac742207": "1d9c5ae9-184f-478d-8431-4785525a2857"
},
"HasUpdates": true,
"Modified": "2026-09-30T01:22:22.2796964+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-30T01:22:22.2796964+00:00"
},
"LastComment": "2026-09-30T01:22:22.2796964+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a7385b41-e458-4684-adc5-b89fc6662c37",
"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": "126b30fc-bd9d-4a4b-9cf2-d483e8f4b4db",
"id": "7ca5a607-f6f9-422a-88e2-e7f73f88a5c8",
"ConfigId": "481684d0-8717-4d3c-ae68-ab7c1a26032c"
}