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": "693012d3-f5da-4e6c-ac63-7e4e1ca79888",
"Name": "sample string 1",
"Created": "2026-05-11T01:57:52.3995014+00:00",
"Modified": "2026-05-11T01:57:52.3995014+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"5cad328a-297e-42b0-b040-e966b8027efb",
"c36a9bb9-978b-4e39-a3c2-0d4ccb87af3b"
],
"NonLaborAssignments": [
{
"Id": "cf3b2973-221d-433e-8fc0-c2a5f20e0d3a",
"ResourceId": "1898a5f9-23d6-4d11-a9e1-1705b7f626be",
"Quantity": 3.0
},
{
"Id": "cf3b2973-221d-433e-8fc0-c2a5f20e0d3a",
"ResourceId": "1898a5f9-23d6-4d11-a9e1-1705b7f626be",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "4b534d8c-de30-422b-845d-41aed2003f8b",
"Type": 0,
"ResourceId": "0ddb4833-113f-4e15-92ac-2d503621e66a",
"Units": 3.0
},
{
"Id": "4b534d8c-de30-422b-845d-41aed2003f8b",
"Type": 0,
"ResourceId": "0ddb4833-113f-4e15-92ac-2d503621e66a",
"Units": 3.0
}
],
"ParentId": "980815f9-3b0c-439d-9453-b40a2884cecb",
"WorkTypeParentId": "003086a9-5e19-43ad-a78a-3243bd1d4024",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "6c4f7037-3e3b-4f74-bdbb-f70f2b2943a3",
"UPN": "9aafd520-2b0f-41ee-b67e-7a283435f905",
"PostDate": "2026-05-11T01:57:52.3995014+00:00",
"Comment": "sample string 4",
"CC": [
"d81f6c97-961f-48b5-821f-9c7d6da2480b",
"65fdace0-76da-4aaa-a1bf-a09eed184a92"
],
"Users": [
"e34afb80-9554-4602-87a9-7a503fa62098",
"cfc4e3cd-ef39-4810-bdba-34a18a9ff58f"
]
},
{
"Id": "6c4f7037-3e3b-4f74-bdbb-f70f2b2943a3",
"UPN": "9aafd520-2b0f-41ee-b67e-7a283435f905",
"PostDate": "2026-05-11T01:57:52.3995014+00:00",
"Comment": "sample string 4",
"CC": [
"d81f6c97-961f-48b5-821f-9c7d6da2480b",
"65fdace0-76da-4aaa-a1bf-a09eed184a92"
],
"Users": [
"e34afb80-9554-4602-87a9-7a503fa62098",
"cfc4e3cd-ef39-4810-bdba-34a18a9ff58f"
]
}
],
"StartDate": "2026-05-11T01:57:52.3995014+00:00",
"DueDate": "2026-05-11T01:57:52.3995014+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"77f5d94f-3005-4766-85fc-d3ac96a2bec5": "ef050317-e127-417f-812f-79f865db4daf",
"52ab3dde-68cb-4ccf-a845-b88d77d2a625": "d9d119f3-30c2-44aa-a47b-f6631cd488dd"
},
"HasUpdates": true,
"Modified": "2026-05-11T01:57:52.3995014+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-11T01:57:52.3995014+00:00"
},
"LastComment": "2026-05-11T01:57:52.3995014+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "424af2a9-6263-483e-8c68-f90accd43f86",
"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": "a4406ddc-5689-4456-addb-e2edec979559",
"id": "683af42b-440b-49a9-ac9a-42145be8b02d",
"ConfigId": "7f5aa87a-9613-45f9-a1bf-1c0c6daa3816"
}