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": "aa8c28e8-c565-4987-8aac-7661756c87e3",
"Name": "sample string 1",
"Created": "2026-02-07T11:35:02.7235284+00:00",
"Modified": "2026-02-07T11:35:02.7235284+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"ed1962b6-5ea9-4223-ba09-4d8d19850c7b",
"97f17af9-3f31-4281-9509-cb1ea0685447"
],
"NonLaborAssignments": [
{
"Id": "6c0c5e8a-d8be-4721-9a53-f68063c02c8f",
"ResourceId": "602763f4-d116-4afb-910c-6e524d6391c6",
"Quantity": 3.0
},
{
"Id": "6c0c5e8a-d8be-4721-9a53-f68063c02c8f",
"ResourceId": "602763f4-d116-4afb-910c-6e524d6391c6",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "fab3c82d-2c9d-4a3c-b1c5-dd4756f2ee6b",
"Type": 0,
"ResourceId": "a7e9bf5d-844e-42b5-b044-0458ba2dd3ae",
"Units": 3.0
},
{
"Id": "fab3c82d-2c9d-4a3c-b1c5-dd4756f2ee6b",
"Type": 0,
"ResourceId": "a7e9bf5d-844e-42b5-b044-0458ba2dd3ae",
"Units": 3.0
}
],
"ParentId": "6a82d650-a373-4df4-a04d-b24d492b0fef",
"WorkTypeParentId": "cf38c83d-a01b-477b-87eb-3053e5d080ef",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1f875c59-8434-4d04-a7ac-ab6ef300f070",
"UPN": "a68b5f80-eefb-4af0-bcb6-91639d845129",
"PostDate": "2026-02-07T11:35:02.7235284+00:00",
"Comment": "sample string 4",
"CC": [
"b1a44f3b-e38b-4b47-bacc-ed61942167c8",
"fc0b9af7-fddb-4eba-9c88-69031a22edce"
],
"Users": [
"38b17cc8-7a0b-44b5-ac5f-8f5bc5a1c58e",
"df68adf4-f247-40e2-af82-bfe905bb873d"
]
},
{
"Id": "1f875c59-8434-4d04-a7ac-ab6ef300f070",
"UPN": "a68b5f80-eefb-4af0-bcb6-91639d845129",
"PostDate": "2026-02-07T11:35:02.7235284+00:00",
"Comment": "sample string 4",
"CC": [
"b1a44f3b-e38b-4b47-bacc-ed61942167c8",
"fc0b9af7-fddb-4eba-9c88-69031a22edce"
],
"Users": [
"38b17cc8-7a0b-44b5-ac5f-8f5bc5a1c58e",
"df68adf4-f247-40e2-af82-bfe905bb873d"
]
}
],
"StartDate": "2026-02-07T11:35:02.7235284+00:00",
"DueDate": "2026-02-07T11:35:02.7235284+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"e7397863-df58-4a6c-a814-02a8fa61f683": "e233ea8b-73f6-4037-83c4-f00db80e3392",
"9d92f864-da96-4c01-b392-1a25a42635ed": "a7f9356c-0c1b-4998-9b8f-0ae57cedb6c3"
},
"HasUpdates": true,
"Modified": "2026-02-07T11:35:02.7235284+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-02-07T11:35:02.7235284+00:00"
},
"LastComment": "2026-02-07T11:35:02.7235284+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "21091416-709a-48bb-8ad4-a78b1e82bd24",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "e443ac18-54a2-4f07-a2be-1d3a722b4e4d",
"id": "c0cce0ee-dbda-4a50-96b9-8b160db6e61d",
"ConfigId": "4ae8131a-428d-4776-9fde-883b414c8a97"
}