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": "fc0741ad-7e19-46c5-80f0-a2c5dda9d18f",
"Name": "sample string 1",
"Created": "2026-05-17T03:57:12.6529584+00:00",
"Modified": "2026-05-17T03:57:12.6529584+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"d4a73baf-b4af-4ed3-a894-83be9e08d8c6",
"3c058bfc-b5ea-4693-81df-14c7ccd53d9e"
],
"NonLaborAssignments": [
{
"Id": "35c59950-df11-44d8-b4d2-767def06fafe",
"ResourceId": "d23bf830-d27c-4664-a3a8-e9686ee643f2",
"Quantity": 3.0
},
{
"Id": "35c59950-df11-44d8-b4d2-767def06fafe",
"ResourceId": "d23bf830-d27c-4664-a3a8-e9686ee643f2",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "192edf51-66f9-4f7d-81e9-d8dc8efb900c",
"Type": 0,
"ResourceId": "07b43437-6696-4dee-9900-e57040bf3f96",
"Units": 3.0
},
{
"Id": "192edf51-66f9-4f7d-81e9-d8dc8efb900c",
"Type": 0,
"ResourceId": "07b43437-6696-4dee-9900-e57040bf3f96",
"Units": 3.0
}
],
"ParentId": "816c69bb-86e1-4898-990e-e28015fe3986",
"WorkTypeParentId": "e0d8c3c6-533f-41f0-b317-e35682b659b9",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "3f10fbcb-fb93-4f3d-aa1f-b7fb565f4259",
"UPN": "08e75734-5b46-454b-83b9-0f0626e2f966",
"PostDate": "2026-05-17T03:57:12.6529584+00:00",
"Comment": "sample string 4",
"CC": [
"f6729cdf-f947-4e4d-bf83-c46078d6a6af",
"53dc8839-dfe4-4dca-ad74-ba1ff1555d17"
],
"Users": [
"2cf95b5c-af95-41cf-bfb8-4f65e49b91d9",
"c51d69b2-1ec3-465c-a5b4-31306233ab5a"
]
},
{
"Id": "3f10fbcb-fb93-4f3d-aa1f-b7fb565f4259",
"UPN": "08e75734-5b46-454b-83b9-0f0626e2f966",
"PostDate": "2026-05-17T03:57:12.6529584+00:00",
"Comment": "sample string 4",
"CC": [
"f6729cdf-f947-4e4d-bf83-c46078d6a6af",
"53dc8839-dfe4-4dca-ad74-ba1ff1555d17"
],
"Users": [
"2cf95b5c-af95-41cf-bfb8-4f65e49b91d9",
"c51d69b2-1ec3-465c-a5b4-31306233ab5a"
]
}
],
"StartDate": "2026-05-17T03:57:12.6529584+00:00",
"DueDate": "2026-05-17T03:57:12.6529584+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"a7335bd6-b25c-46d5-a116-8cc10c18170f": "835a647c-fe82-49d2-a0e6-4af33f7087bb",
"f8ae16c1-18ea-4a20-ac16-f270d22e6519": "d3371846-f267-42e6-9aac-3c80104933f4"
},
"HasUpdates": true,
"Modified": "2026-05-17T03:57:12.6529584+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-05-17T03:57:12.6529584+00:00"
},
"LastComment": "2026-05-17T03:57:12.6529584+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "b1722f45-9ef5-4398-8a17-6512db781a93",
"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": "56b0cbea-4207-46e0-9eab-8e24a65f9a6b",
"id": "4a3d0270-4078-4445-ad5b-142651caa71c",
"ConfigId": "4e562d5b-88b9-450e-a127-6971700fee99"
}