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": "3178a609-9f53-4f47-a542-04a268cacb1e",
"Name": "sample string 1",
"Created": "2026-01-16T07:08:29.5625479+00:00",
"Modified": "2026-01-16T07:08:29.5625479+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b3d914b1-f8a4-492b-93f2-abc60ce63cf9",
"0d325550-fa2a-42aa-b3f0-f4fedcdb3940"
],
"NonLaborAssignments": [
{
"Id": "907d29d0-09a7-4bd7-be87-8e9524652835",
"ResourceId": "329e4b47-cbb5-40cb-9c4c-231b554b24a7",
"Quantity": 3.0
},
{
"Id": "907d29d0-09a7-4bd7-be87-8e9524652835",
"ResourceId": "329e4b47-cbb5-40cb-9c4c-231b554b24a7",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e7d23c7c-7012-46b7-aba6-cb5309b37696",
"Type": 0,
"ResourceId": "b2f9403b-a497-44c2-95a9-2f2b0cd86268",
"Units": 3.0
},
{
"Id": "e7d23c7c-7012-46b7-aba6-cb5309b37696",
"Type": 0,
"ResourceId": "b2f9403b-a497-44c2-95a9-2f2b0cd86268",
"Units": 3.0
}
],
"ParentId": "78d32cf9-f6d1-4a9d-a231-8a5b49cb2bea",
"WorkTypeParentId": "4a4eb990-799a-4a0b-9ef1-252a0eec7ce2",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1a2cc355-c4f4-4a48-ba1f-151867a47779",
"UPN": "b9df8561-9863-4d90-a362-b865021c258c",
"PostDate": "2026-01-16T07:08:29.5625479+00:00",
"Comment": "sample string 4",
"CC": [
"357b360f-ecde-4fde-87ad-980d9e361c10",
"1148f56d-f4c2-4a92-bbc8-f368a57a66d7"
],
"Users": [
"c73924c4-ccc5-4e3e-84c2-227b25b986cf",
"6ece3747-71f1-4804-8e73-7801e35acdc7"
]
},
{
"Id": "1a2cc355-c4f4-4a48-ba1f-151867a47779",
"UPN": "b9df8561-9863-4d90-a362-b865021c258c",
"PostDate": "2026-01-16T07:08:29.5625479+00:00",
"Comment": "sample string 4",
"CC": [
"357b360f-ecde-4fde-87ad-980d9e361c10",
"1148f56d-f4c2-4a92-bbc8-f368a57a66d7"
],
"Users": [
"c73924c4-ccc5-4e3e-84c2-227b25b986cf",
"6ece3747-71f1-4804-8e73-7801e35acdc7"
]
}
],
"StartDate": "2026-01-16T07:08:29.5625479+00:00",
"DueDate": "2026-01-16T07:08:29.5625479+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"27a25d99-87a4-489d-9ff5-dd824de97409": "28dc3d99-2cc8-4439-8f38-168fbe5cbc29",
"0088f373-63d3-4388-a86a-f677b0a6adc1": "eb27b309-ac8c-46b0-bbcf-b3abd8e9ca41"
},
"HasUpdates": true,
"Modified": "2026-01-16T07:08:29.5625479+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-01-16T07:08:29.5625479+00:00"
},
"LastComment": "2026-01-16T07:08:29.5625479+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "86592ebf-ae4b-4293-b7a7-e15d0871608d",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "ab427b83-a0c2-4f43-9a6b-ecab472cdc9c",
"id": "033f30d5-5931-48fe-bc55-c82ef202bea2",
"ConfigId": "0d24373b-395d-436b-afde-a6f143395058"
}