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": "867c515f-11b1-4507-8e32-7dba8736fb8b",
"Name": "sample string 1",
"Created": "2026-10-14T01:06:54.2207463+00:00",
"Modified": "2026-10-14T01:06:54.2207463+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"2275982c-52c7-446f-9665-2f92b0443c16",
"b7a2b775-9e82-4827-b5dd-01bf8aa1b32c"
],
"NonLaborAssignments": [
{
"Id": "bf6e8c5b-4805-4673-8048-19c63c6c4143",
"ResourceId": "bb303407-4781-4ebc-9f01-46bb36ae1832",
"Quantity": 3.0
},
{
"Id": "bf6e8c5b-4805-4673-8048-19c63c6c4143",
"ResourceId": "bb303407-4781-4ebc-9f01-46bb36ae1832",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "727968e3-0487-4e8f-a2c6-1d96daa5725d",
"Type": 0,
"ResourceId": "eb6f74d9-cf9d-461e-9180-19f5e13e4f0f",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "093fed9b-1c63-4aac-9c3a-470892ab6dab",
"Start": "2026-10-14T01:06:54.2207463+00:00",
"Due": "2026-10-14T01:06:54.2207463+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "093fed9b-1c63-4aac-9c3a-470892ab6dab",
"Start": "2026-10-14T01:06:54.2207463+00:00",
"Due": "2026-10-14T01:06:54.2207463+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "727968e3-0487-4e8f-a2c6-1d96daa5725d",
"Type": 0,
"ResourceId": "eb6f74d9-cf9d-461e-9180-19f5e13e4f0f",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "093fed9b-1c63-4aac-9c3a-470892ab6dab",
"Start": "2026-10-14T01:06:54.2207463+00:00",
"Due": "2026-10-14T01:06:54.2207463+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "093fed9b-1c63-4aac-9c3a-470892ab6dab",
"Start": "2026-10-14T01:06:54.2207463+00:00",
"Due": "2026-10-14T01:06:54.2207463+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "4f9e9363-820b-4c07-a8c5-a015ce770978",
"WorkTypeParentId": "1ec224cf-6fe7-44da-8ca6-b7db5e78dbfb",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "640f844c-f7ba-4c2c-8eaf-ed2083aafd06",
"UPN": "b13c8f8f-cee0-4cc7-82df-7754a23745d4",
"PostDate": "2026-10-14T01:06:54.2207463+00:00",
"Comment": "sample string 4",
"CC": [
"75bdfeaf-6878-427a-b041-ac8e6f8fe600",
"f849fa3e-cf19-4861-bf70-0763fa882168"
],
"Users": [
"fc9d079d-e59d-4b6d-b592-490807148021",
"a714e33f-05e6-4ef3-be46-3a0f5c68e081"
]
},
{
"Id": "640f844c-f7ba-4c2c-8eaf-ed2083aafd06",
"UPN": "b13c8f8f-cee0-4cc7-82df-7754a23745d4",
"PostDate": "2026-10-14T01:06:54.2207463+00:00",
"Comment": "sample string 4",
"CC": [
"75bdfeaf-6878-427a-b041-ac8e6f8fe600",
"f849fa3e-cf19-4861-bf70-0763fa882168"
],
"Users": [
"fc9d079d-e59d-4b6d-b592-490807148021",
"a714e33f-05e6-4ef3-be46-3a0f5c68e081"
]
}
],
"StartDate": "2026-10-14T01:06:54.2207463+00:00",
"DueDate": "2026-10-14T01:06:54.2207463+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"6f7a9b6f-2b18-4800-8018-233c52bc556f": "a8f90ea0-e62a-4648-a996-10b42ef1f5c8",
"c7f3d0f5-c608-45ad-8214-1b6bf30ac077": "fa589ba1-75ba-41dc-9720-ac12552dacb6"
},
"HasUpdates": true,
"Modified": "2026-10-14T01:06:54.2207463+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-10-14T01:06:54.2207463+00:00"
},
"LastComment": "2026-10-14T01:06:54.2207463+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "e457165b-bc72-4de4-865d-29ff1a06bba9",
"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": "50c63f9b-09fa-4c5b-a464-39a95440bc33",
"id": "04a6c868-203c-4c1a-a25b-f9bfc7b27e14",
"ConfigId": "a892e4d7-6600-4390-8e99-6518beb76702"
}