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": "35340e68-5cbc-4b4c-9cd2-4f0cd7736232",
"Name": "sample string 1",
"Created": "2026-08-04T15:10:39.2382113+00:00",
"Modified": "2026-08-04T15:10:39.2382113+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"38042aca-7863-4cc2-851c-4d4219c9081d",
"9e750c9d-0c6f-4b05-8a0d-918a2eb288fd"
],
"NonLaborAssignments": [
{
"Id": "4d532dc5-58d7-41db-a8e2-0009b6f018fa",
"ResourceId": "979e5fd9-8106-4b95-8b0a-91a440613ada",
"Quantity": 3.0
},
{
"Id": "4d532dc5-58d7-41db-a8e2-0009b6f018fa",
"ResourceId": "979e5fd9-8106-4b95-8b0a-91a440613ada",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c33aeffc-a84f-4041-9070-222a0274e87c",
"Type": 0,
"ResourceId": "d0a8ba4e-fbf1-4c48-a188-054aace6022d",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "c33aeffc-a84f-4041-9070-222a0274e87c",
"Type": 0,
"ResourceId": "d0a8ba4e-fbf1-4c48-a188-054aace6022d",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "c5bdb75c-8e10-4d42-aa54-d1dc16a9fb5f",
"WorkTypeParentId": "2c180054-b094-4ecb-a369-74fdbf6528c0",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "f5f290a3-fb3b-49de-bff2-090ab6beb51a",
"UPN": "99f6895a-d4bc-47a2-9b8b-67dbaeb6dbac",
"PostDate": "2026-08-04T15:10:39.2382113+00:00",
"Comment": "sample string 4",
"CC": [
"26b31d9f-539f-40ba-a2f9-45666dd73be4",
"f07547c8-3140-4bf1-97d9-68b99f69eb1c"
],
"Users": [
"cb643f57-8d20-4578-bda3-80a9787fe669",
"319b284c-cae2-4dab-9a59-30d5ea767139"
]
},
{
"Id": "f5f290a3-fb3b-49de-bff2-090ab6beb51a",
"UPN": "99f6895a-d4bc-47a2-9b8b-67dbaeb6dbac",
"PostDate": "2026-08-04T15:10:39.2382113+00:00",
"Comment": "sample string 4",
"CC": [
"26b31d9f-539f-40ba-a2f9-45666dd73be4",
"f07547c8-3140-4bf1-97d9-68b99f69eb1c"
],
"Users": [
"cb643f57-8d20-4578-bda3-80a9787fe669",
"319b284c-cae2-4dab-9a59-30d5ea767139"
]
}
],
"StartDate": "2026-08-04T15:10:39.2382113+00:00",
"DueDate": "2026-08-04T15:10:39.2382113+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"231ae341-4963-4458-b9d3-16d04f7bd728": "a200bf70-1d21-4283-9315-92947c222b16",
"26a65acf-6b17-46c4-b292-f75a8de0501c": "da3f216b-fcf1-4f0e-a3a5-852885fc62df"
},
"HasUpdates": true,
"Modified": "2026-08-04T15:10:39.2382113+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-08-04T15:10:39.2382113+00:00"
},
"LastComment": "2026-08-04T15:10:39.2382113+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3e94d6dd-4f87-4e98-ac4f-ca29fdce8640",
"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": "fe2cda9e-dcd0-4768-8bc3-ad3dc44fdaaf",
"id": "5e13e3fe-edb5-4ab5-b8dc-d5e93fbb7260",
"ConfigId": "495553cc-bd18-498d-9253-0a22c5dca594"
}