POST api/mywork/AcceptUpdate?TaskId={TaskId}
Approve a task update
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TaskId | globally unique identifier |
Required |
Body Parameters
None.
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": "9753111f-91bd-456d-aa9b-ef9c340f7582",
"Name": "sample string 1",
"Created": "2025-12-02T04:30:09.1410985+00:00",
"Modified": "2025-12-02T04:30:09.1410985+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e25a9d40-3b6b-4325-a290-a6737e9ee4ad",
"bf65f120-f442-498b-a415-758a722b904a"
],
"NonLaborAssignments": [
{
"Id": "8fd44806-80ad-46bd-a06b-3974ce774018",
"ResourceId": "f780230d-057a-40b7-b6c6-a1d77b215de3",
"Quantity": 3.0
},
{
"Id": "8fd44806-80ad-46bd-a06b-3974ce774018",
"ResourceId": "f780230d-057a-40b7-b6c6-a1d77b215de3",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "85a28638-b9eb-418a-9a05-a32e19061d22",
"Type": 0,
"ResourceId": "6f27a839-6c9d-4be3-8ce2-8aaf4388694b",
"Units": 3.0
},
{
"Id": "85a28638-b9eb-418a-9a05-a32e19061d22",
"Type": 0,
"ResourceId": "6f27a839-6c9d-4be3-8ce2-8aaf4388694b",
"Units": 3.0
}
],
"ParentId": "3fa9f60c-c851-4e25-8e7c-b08098efc681",
"WorkTypeParentId": "a430b92a-1261-4567-827d-460f7ff00c2d",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "037bc773-c091-4061-9eb8-d178f7d94524",
"UPN": "dde3a894-de0f-4fe2-80b6-ebe195a3430f",
"PostDate": "2025-12-02T04:30:09.1410985+00:00",
"Comment": "sample string 4",
"CC": [
"5cf96f56-0a37-4cf3-9731-e04778079511",
"860283e9-2055-401c-b773-1c664867c37e"
],
"Users": [
"9af8956f-92f5-45f9-87ca-74fec37b2a8f",
"adf1814e-d2af-4f18-bfec-31115449b18e"
]
},
{
"Id": "037bc773-c091-4061-9eb8-d178f7d94524",
"UPN": "dde3a894-de0f-4fe2-80b6-ebe195a3430f",
"PostDate": "2025-12-02T04:30:09.1410985+00:00",
"Comment": "sample string 4",
"CC": [
"5cf96f56-0a37-4cf3-9731-e04778079511",
"860283e9-2055-401c-b773-1c664867c37e"
],
"Users": [
"9af8956f-92f5-45f9-87ca-74fec37b2a8f",
"adf1814e-d2af-4f18-bfec-31115449b18e"
]
}
],
"StartDate": "2025-12-02T04:30:09.1410985+00:00",
"DueDate": "2025-12-02T04:30:09.1410985+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"79dc9ca1-37f6-4d15-b5da-3d5546c8ce8d": "2c96faf2-c3c8-43fe-8887-3b7fa023523f",
"74b43f87-e372-476f-a008-5f92fd271d5f": "6460c976-5228-4ec7-becf-ea554c8d7b9f"
},
"HasUpdates": true,
"Modified": "2025-12-02T04:30:09.1410985+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-02T04:30:09.1410985+00:00"
},
"LastComment": "2025-12-02T04:30:09.1410985+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "3d3cc33b-f55c-44fe-b643-8e1bb5a1cb2a",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "dd8abb8b-3bb3-4bc3-97aa-cc20801c6c32",
"id": "74a2ee0c-9ebb-4600-b320-65224f52099b",
"ConfigId": "f1835d21-1120-4c10-a3e0-c619241785ba"
}