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": "02a19273-00ce-4d5d-ad9b-e3a2cb70cd23",
"Name": "sample string 1",
"Created": "2026-10-21T04:38:24.8703679+00:00",
"Modified": "2026-10-21T04:38:24.8703679+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"906fe1df-c8fc-4086-9e60-9df54dc5e58a",
"ffaef5ae-2882-4550-bf76-df3fd7d8091e"
],
"NonLaborAssignments": [
{
"Id": "a1a482f9-4d21-47d9-b00d-4693b0b96116",
"ResourceId": "cfb40d95-e115-4c7a-ad92-1fe0fc57b284",
"Quantity": 3.0
},
{
"Id": "a1a482f9-4d21-47d9-b00d-4693b0b96116",
"ResourceId": "cfb40d95-e115-4c7a-ad92-1fe0fc57b284",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "469f782a-816e-4c18-b4d6-0ba6b8be5974",
"Type": 0,
"ResourceId": "9a3a1edb-22b5-4c2f-a6d2-3ebd50b5822e",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "24807877-1353-4215-8d33-5901a8f34018",
"Start": "2026-10-21T04:38:24.8703679+00:00",
"Due": "2026-10-21T04:38:24.8703679+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "24807877-1353-4215-8d33-5901a8f34018",
"Start": "2026-10-21T04:38:24.8703679+00:00",
"Due": "2026-10-21T04:38:24.8703679+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "469f782a-816e-4c18-b4d6-0ba6b8be5974",
"Type": 0,
"ResourceId": "9a3a1edb-22b5-4c2f-a6d2-3ebd50b5822e",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "24807877-1353-4215-8d33-5901a8f34018",
"Start": "2026-10-21T04:38:24.8703679+00:00",
"Due": "2026-10-21T04:38:24.8703679+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "24807877-1353-4215-8d33-5901a8f34018",
"Start": "2026-10-21T04:38:24.8703679+00:00",
"Due": "2026-10-21T04:38:24.8703679+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "0492dc77-4590-4e14-a062-588a58fe3c7e",
"WorkTypeParentId": "9b4dfc18-871a-4422-8160-d4fbcaeab90e",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9b53d31d-96cd-4972-b197-3d42324fad43",
"UPN": "2cb0033d-adcc-4769-ab45-745a61a7e6cb",
"PostDate": "2026-10-21T04:38:24.8703679+00:00",
"Comment": "sample string 4",
"CC": [
"9e2c8291-a74a-4373-8ff4-e9a32e126108",
"fcc64296-e6b3-4208-8a93-2f1893eb0bd2"
],
"Users": [
"6f9d8bd0-ce48-4e49-96e1-007ecf26614f",
"97440069-6565-462b-a545-7e55d9a842dc"
]
},
{
"Id": "9b53d31d-96cd-4972-b197-3d42324fad43",
"UPN": "2cb0033d-adcc-4769-ab45-745a61a7e6cb",
"PostDate": "2026-10-21T04:38:24.8703679+00:00",
"Comment": "sample string 4",
"CC": [
"9e2c8291-a74a-4373-8ff4-e9a32e126108",
"fcc64296-e6b3-4208-8a93-2f1893eb0bd2"
],
"Users": [
"6f9d8bd0-ce48-4e49-96e1-007ecf26614f",
"97440069-6565-462b-a545-7e55d9a842dc"
]
}
],
"StartDate": "2026-10-21T04:38:24.8703679+00:00",
"DueDate": "2026-10-21T04:38:24.8703679+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"78649efb-4d6b-4afb-a84f-b1976b6fcb44": "12bbc45c-9dca-4da7-add0-d065980efd86",
"219f30b7-fd74-4f9f-8287-c0e0b79ec5c6": "9b207937-9ead-4d4f-a9dc-ee4bdda31d35"
},
"HasUpdates": true,
"Modified": "2026-10-21T04:38:24.8703679+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-10-21T04:38:24.8703679+00:00"
},
"LastComment": "2026-10-21T04:38:24.8703679+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "4d680da8-dd52-458f-a5bf-9f237414101a",
"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": "f9bec9f5-6480-4b21-90ad-6a6edc7a5192",
"id": "729db802-c692-4f91-bc4b-8c86a3c6e0b2",
"ConfigId": "9f247984-25b4-4e0f-9fad-405836c016c9"
}