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": "9b26cc61-73d9-463c-b656-faa340802e0e",
"Name": "sample string 1",
"Created": "2026-08-18T16:53:50.8111077+00:00",
"Modified": "2026-08-18T16:53:50.8111077+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"c6acddd3-5023-4a61-857d-39c8c370abf4",
"e30b93bf-e63b-46e5-8d98-b03216f67cb2"
],
"NonLaborAssignments": [
{
"Id": "f21c4337-c441-49dc-8990-18417987d749",
"ResourceId": "1f77f23d-063d-4732-8682-950ebc7e66de",
"Quantity": 3.0
},
{
"Id": "f21c4337-c441-49dc-8990-18417987d749",
"ResourceId": "1f77f23d-063d-4732-8682-950ebc7e66de",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "8bb8b8fb-6776-4f5e-9048-94cc53865b29",
"Type": 0,
"ResourceId": "0de328a4-3732-4c96-ba3b-0b1b2f521d0b",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "8bb8b8fb-6776-4f5e-9048-94cc53865b29",
"Type": 0,
"ResourceId": "0de328a4-3732-4c96-ba3b-0b1b2f521d0b",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "328677ad-20a8-4bd5-bb52-acadd0ed15e5",
"WorkTypeParentId": "d4ac3de1-9c56-4a7c-9867-764860bbb1ea",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "7896c3fa-17c0-4213-8efa-35b502b0ed95",
"UPN": "fdd26a39-cc71-428e-8f7a-9ef268241542",
"PostDate": "2026-08-18T16:53:50.8111077+00:00",
"Comment": "sample string 4",
"CC": [
"f805ad8f-a566-4504-b6ef-9ea6fb9cbf27",
"fe7a5f4b-9874-4301-bb23-4d3a42404a2b"
],
"Users": [
"0c65d822-580c-48b4-b43e-8afb3a0d55a3",
"8cf9e5e7-2039-42fc-8d67-23dfd3f37cb7"
]
},
{
"Id": "7896c3fa-17c0-4213-8efa-35b502b0ed95",
"UPN": "fdd26a39-cc71-428e-8f7a-9ef268241542",
"PostDate": "2026-08-18T16:53:50.8111077+00:00",
"Comment": "sample string 4",
"CC": [
"f805ad8f-a566-4504-b6ef-9ea6fb9cbf27",
"fe7a5f4b-9874-4301-bb23-4d3a42404a2b"
],
"Users": [
"0c65d822-580c-48b4-b43e-8afb3a0d55a3",
"8cf9e5e7-2039-42fc-8d67-23dfd3f37cb7"
]
}
],
"StartDate": "2026-08-18T16:53:50.8111077+00:00",
"DueDate": "2026-08-18T16:53:50.8111077+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"992382b1-d857-4b19-a11a-61190440a615": "e26736d6-158e-4f51-b81e-1a084c1d7fb0",
"2a8265f1-dd0f-4ce9-b87b-971f05265fc7": "d1312367-395b-48d0-ab12-88be29b33410"
},
"HasUpdates": true,
"Modified": "2026-08-18T16:53:50.8111077+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-18T16:53:50.8111077+00:00"
},
"LastComment": "2026-08-18T16:53:50.8111077+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "18376379-e0e7-48df-b889-c8083aa4bf84",
"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": "3482db76-fd70-4868-9018-b28eac6eec22",
"id": "d1cc07e9-2644-4b25-816b-6a4ea427b673",
"ConfigId": "ce68ca37-6074-49d7-8a56-da40a5aef762"
}