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": "80c39e62-5031-4b51-be8e-bd2e93ec102f",
"Name": "sample string 1",
"Created": "2025-12-01T10:05:08.7167104+00:00",
"Modified": "2025-12-01T10:05:08.7167104+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"9ea7fa67-16ec-4a01-b138-3bab47200fb9",
"909759b8-1d3e-4820-8801-8c1fdf1f426b"
],
"NonLaborAssignments": [
{
"Id": "33a3c618-04f5-4d73-828c-964d9b249327",
"ResourceId": "337cda3a-c32f-4179-80a5-f95f35cbb0e2",
"Quantity": 3.0
},
{
"Id": "33a3c618-04f5-4d73-828c-964d9b249327",
"ResourceId": "337cda3a-c32f-4179-80a5-f95f35cbb0e2",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "88ad3cd2-dd11-4c79-b53d-21573e6a77cd",
"Type": 0,
"ResourceId": "f8562a63-e735-4b2b-b881-3eeba42abede",
"Units": 3.0
},
{
"Id": "88ad3cd2-dd11-4c79-b53d-21573e6a77cd",
"Type": 0,
"ResourceId": "f8562a63-e735-4b2b-b881-3eeba42abede",
"Units": 3.0
}
],
"ParentId": "208591ab-6c80-407b-a758-c49927ce45d5",
"WorkTypeParentId": "bff317bc-0c06-406e-b4d7-f0ab76e74b71",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "cff17469-eb24-4e1d-b4ec-91ce6dc7a5b9",
"UPN": "ef536c4e-2297-4830-8c4b-bf3eaddf3c7b",
"PostDate": "2025-12-01T10:05:08.7167104+00:00",
"Comment": "sample string 4",
"CC": [
"a1e3c89a-969d-4868-94bf-890f1d5d502c",
"c289bfa6-247d-4cc8-b2ba-7c87329d9a8c"
],
"Users": [
"98696385-6874-447c-b955-4d2e01fcb6f3",
"54abdda7-f412-471f-9325-c1aee67c9bf7"
]
},
{
"Id": "cff17469-eb24-4e1d-b4ec-91ce6dc7a5b9",
"UPN": "ef536c4e-2297-4830-8c4b-bf3eaddf3c7b",
"PostDate": "2025-12-01T10:05:08.7167104+00:00",
"Comment": "sample string 4",
"CC": [
"a1e3c89a-969d-4868-94bf-890f1d5d502c",
"c289bfa6-247d-4cc8-b2ba-7c87329d9a8c"
],
"Users": [
"98696385-6874-447c-b955-4d2e01fcb6f3",
"54abdda7-f412-471f-9325-c1aee67c9bf7"
]
}
],
"StartDate": "2025-12-01T10:05:08.7167104+00:00",
"DueDate": "2025-12-01T10:05:08.7167104+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"c46b988e-4666-4f9d-81e6-a2f44e5a425f": "91f9fd7e-616b-4279-aea6-1ef499d92b85",
"06041e7f-1e2d-4030-b458-f799b0e0e6b5": "0396ab6d-a9d3-47d9-9398-f342fa1d2a3c"
},
"HasUpdates": true,
"Modified": "2025-12-01T10:05:08.7167104+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": "2025-12-01T10:05:08.7167104+00:00"
},
"LastComment": "2025-12-01T10:05:08.7167104+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "2941ce2f-a491-4df2-8e2f-00c0966af33c",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "f1534c2a-5cc1-43b6-bffe-18c643acf9f8",
"id": "f360d426-7c34-4e34-bcbd-caff54994991",
"ConfigId": "f0dfa5db-a281-46fe-b519-ab84cb93c353"
}