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": "a0eda376-2323-481c-a4dc-2766d2211a25",
"Name": "sample string 1",
"Created": "2026-02-26T14:52:59.000184+00:00",
"Modified": "2026-02-26T14:52:59.000184+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"af6315c3-adb7-4d3a-ac3d-8299b2ad941a",
"29754fab-d7e1-4bdf-863b-f8543242f22a"
],
"NonLaborAssignments": [
{
"Id": "b1f039a8-30a6-42da-a668-2b380af9d35c",
"ResourceId": "25842f62-4b08-4704-b232-6e95f3d7635a",
"Quantity": 3.0
},
{
"Id": "b1f039a8-30a6-42da-a668-2b380af9d35c",
"ResourceId": "25842f62-4b08-4704-b232-6e95f3d7635a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "bcbe384c-75e6-426d-b48c-bffee6c8fad8",
"Type": 0,
"ResourceId": "3416cf04-c148-4925-9abe-546391b1ed71",
"Units": 3.0
},
{
"Id": "bcbe384c-75e6-426d-b48c-bffee6c8fad8",
"Type": 0,
"ResourceId": "3416cf04-c148-4925-9abe-546391b1ed71",
"Units": 3.0
}
],
"ParentId": "5acebd62-c429-4a44-b08f-ba731afff3cc",
"WorkTypeParentId": "065e4569-a1e2-4c33-9e39-4a547ad106fb",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "708ae567-4cdf-4f7a-a5b7-96e95844309c",
"UPN": "19a9156f-649b-4c04-a924-c20e7e0f71f8",
"PostDate": "2026-02-26T14:52:59.000184+00:00",
"Comment": "sample string 4",
"CC": [
"5f7a2301-f170-4963-b501-12301c850f5d",
"5d01b83d-9b30-4393-9339-5cd8a82bcfe0"
],
"Users": [
"5e5ab9b7-3a8c-41d7-ad4b-b68c254b4a00",
"69f10666-f673-4e30-a2aa-3360609cbfbc"
]
},
{
"Id": "708ae567-4cdf-4f7a-a5b7-96e95844309c",
"UPN": "19a9156f-649b-4c04-a924-c20e7e0f71f8",
"PostDate": "2026-02-26T14:52:59.000184+00:00",
"Comment": "sample string 4",
"CC": [
"5f7a2301-f170-4963-b501-12301c850f5d",
"5d01b83d-9b30-4393-9339-5cd8a82bcfe0"
],
"Users": [
"5e5ab9b7-3a8c-41d7-ad4b-b68c254b4a00",
"69f10666-f673-4e30-a2aa-3360609cbfbc"
]
}
],
"StartDate": "2026-02-26T14:52:59.000184+00:00",
"DueDate": "2026-02-26T14:52:59.000184+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"e5eaf512-ca3c-44b4-b77f-c256eda0254c": "d3239302-d4b8-40f3-b244-cb93b8e776db",
"d8aab39b-e5dc-4f98-ac24-9f3336d60735": "bd9c0141-ee30-4f5a-ad99-6aa8914207f4"
},
"HasUpdates": true,
"Modified": "2026-02-26T14:52:59.000184+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-02-26T14:52:59.000184+00:00"
},
"LastComment": "2026-02-26T14:52:59.000184+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "f7f51ae8-f045-4f33-8385-28e7c28f890c",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "74f353e3-68d4-4bc3-816f-d8abc0e7dd7a",
"id": "4cd8a485-6728-4a34-bb24-371a86584445",
"ConfigId": "7931ac50-271d-4e4e-b097-f5c9134072bb"
}