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": "1a0fa272-3e85-4511-9381-00569728bb09",
"Name": "sample string 1",
"Created": "2026-09-01T19:54:45.8579561+00:00",
"Modified": "2026-09-01T19:54:45.8579561+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"7bff6ad8-b7ab-46dd-b17b-8d3672c441c5",
"772fd64b-150a-4a94-86ef-a4a965a335af"
],
"NonLaborAssignments": [
{
"Id": "8988a182-71ed-46d3-96d7-675848d63659",
"ResourceId": "fed0259b-95ac-4dc3-adfe-181ebfd6f56b",
"Quantity": 3.0
},
{
"Id": "8988a182-71ed-46d3-96d7-675848d63659",
"ResourceId": "fed0259b-95ac-4dc3-adfe-181ebfd6f56b",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "2980f2d3-5b85-432e-9bb9-1aa3401864f4",
"Type": 0,
"ResourceId": "0df916e1-b6bc-409a-a3cf-212641ba0d8e",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "57e34672-7100-4b96-9b00-8b87aff603e8",
"Start": "2026-09-01T19:54:45.8579561+00:00",
"Due": "2026-09-01T19:54:45.8579561+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "57e34672-7100-4b96-9b00-8b87aff603e8",
"Start": "2026-09-01T19:54:45.8579561+00:00",
"Due": "2026-09-01T19:54:45.8579561+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "2980f2d3-5b85-432e-9bb9-1aa3401864f4",
"Type": 0,
"ResourceId": "0df916e1-b6bc-409a-a3cf-212641ba0d8e",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "57e34672-7100-4b96-9b00-8b87aff603e8",
"Start": "2026-09-01T19:54:45.8579561+00:00",
"Due": "2026-09-01T19:54:45.8579561+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "57e34672-7100-4b96-9b00-8b87aff603e8",
"Start": "2026-09-01T19:54:45.8579561+00:00",
"Due": "2026-09-01T19:54:45.8579561+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "fba2e28a-2b2b-4eb3-b952-0f6957d264e0",
"WorkTypeParentId": "1bb84129-e1ef-4f45-9b28-3844db80ce7f",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "8ba5a928-6ce2-4df7-9838-ffe1a87179d0",
"UPN": "9702a80b-7f59-4013-beb1-cf8d8dc31ac3",
"PostDate": "2026-09-01T19:54:45.8579561+00:00",
"Comment": "sample string 4",
"CC": [
"84ef9ff2-0606-4c5b-b7be-7455274ee536",
"740a2384-a167-44ed-b1d1-656fc130736f"
],
"Users": [
"51492d19-8cf3-48cc-9411-42bce9b268e7",
"609766e0-01ed-40da-adb9-10d6456b8473"
]
},
{
"Id": "8ba5a928-6ce2-4df7-9838-ffe1a87179d0",
"UPN": "9702a80b-7f59-4013-beb1-cf8d8dc31ac3",
"PostDate": "2026-09-01T19:54:45.8579561+00:00",
"Comment": "sample string 4",
"CC": [
"84ef9ff2-0606-4c5b-b7be-7455274ee536",
"740a2384-a167-44ed-b1d1-656fc130736f"
],
"Users": [
"51492d19-8cf3-48cc-9411-42bce9b268e7",
"609766e0-01ed-40da-adb9-10d6456b8473"
]
}
],
"StartDate": "2026-09-01T19:54:45.8579561+00:00",
"DueDate": "2026-09-01T19:54:45.8579561+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"736e7976-00d9-431b-a41e-46be0a4b4359": "59377241-2f7c-4587-a89e-e15e4097ff53",
"cb010bf1-9a00-4497-bd86-0fd921a16937": "8448bf70-a91b-4c0b-a0a3-5fcf7e17bdfb"
},
"HasUpdates": true,
"Modified": "2026-09-01T19:54:45.8579561+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-01T19:54:45.8579561+00:00"
},
"LastComment": "2026-09-01T19:54:45.8579561+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a96c2646-b84b-4684-9a02-f6e65922e282",
"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": "28532603-99bb-4fda-8ad7-a415b40681fc",
"id": "547c275e-8192-4a32-a027-d3308a315bc7",
"ConfigId": "8c2904dd-2e49-4306-873f-27f6ea18ae7f"
}