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": "25e7ab6a-2058-412b-82ae-d53dff1bc9ba",
"Name": "sample string 1",
"Created": "2026-03-28T07:51:42.8327787+00:00",
"Modified": "2026-03-28T07:51:42.8327787+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"7472e053-eb77-4f79-b7ac-371267d97b2b",
"c2872316-12bc-4f29-9293-343237530ff2"
],
"NonLaborAssignments": [
{
"Id": "76125384-efd0-43a1-ae2f-ae6f7c4a85e3",
"ResourceId": "6f3c86dd-3184-4992-b0e7-71b037c20d10",
"Quantity": 3.0
},
{
"Id": "76125384-efd0-43a1-ae2f-ae6f7c4a85e3",
"ResourceId": "6f3c86dd-3184-4992-b0e7-71b037c20d10",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "f452aa92-8d77-41a6-98dd-ac4f29de116e",
"Type": 0,
"ResourceId": "5da6b0a6-ca54-4ad5-8da9-6c07bc097c78",
"Units": 3.0
},
{
"Id": "f452aa92-8d77-41a6-98dd-ac4f29de116e",
"Type": 0,
"ResourceId": "5da6b0a6-ca54-4ad5-8da9-6c07bc097c78",
"Units": 3.0
}
],
"ParentId": "4c501b40-1ee0-43e4-aa28-3cc72588f269",
"WorkTypeParentId": "33a0691f-9032-44e4-b874-f655d26e7154",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "adaeb677-216b-4651-8384-693ba5845686",
"UPN": "5a64271a-945a-4a51-a179-c54aa417d6c3",
"PostDate": "2026-03-28T07:51:42.8327787+00:00",
"Comment": "sample string 4",
"CC": [
"06a6617a-7f18-46f9-b9dd-194c2a243422",
"883b07e0-05e8-424b-adf3-d6f3191cc258"
],
"Users": [
"9a034022-a52f-4451-a315-4e4418161e41",
"cc884ed6-4854-4672-895b-2b8ce021afe5"
]
},
{
"Id": "adaeb677-216b-4651-8384-693ba5845686",
"UPN": "5a64271a-945a-4a51-a179-c54aa417d6c3",
"PostDate": "2026-03-28T07:51:42.8327787+00:00",
"Comment": "sample string 4",
"CC": [
"06a6617a-7f18-46f9-b9dd-194c2a243422",
"883b07e0-05e8-424b-adf3-d6f3191cc258"
],
"Users": [
"9a034022-a52f-4451-a315-4e4418161e41",
"cc884ed6-4854-4672-895b-2b8ce021afe5"
]
}
],
"StartDate": "2026-03-28T07:51:42.8327787+00:00",
"DueDate": "2026-03-28T07:51:42.8327787+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"2810e1b8-e347-48de-897e-34ac7553f039": "4646128b-e119-4598-989e-41c3605d1ae9",
"6eacfc6d-f672-4ea1-a3f7-e382cb00c384": "d4b59a62-83ac-4236-9cf4-39c621c0b85f"
},
"HasUpdates": true,
"Modified": "2026-03-28T07:51:42.8327787+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-03-28T07:51:42.8327787+00:00"
},
"LastComment": "2026-03-28T07:51:42.8327787+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b8ddc840-b518-49c7-8163-1d5153f43f1e",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "74a8f704-fbcb-441f-b100-72c3e8d9bf0a",
"id": "4793dca7-53e2-4da3-adf1-af16e4ff85c8",
"ConfigId": "1013558c-3e82-4756-bc8f-476bfad6c3e2"
}