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. |
|
| 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": "dd758d8b-bc0e-47ea-ac5d-6bc2e9882aa4",
"Name": "sample string 1",
"Created": "2026-06-14T17:16:04.6127209+00:00",
"Modified": "2026-06-14T17:16:04.6127209+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"046d947e-5952-4e43-8cc0-efd6037de56a",
"c68a966b-3bae-4e59-81da-cf0ca17fb20e"
],
"NonLaborAssignments": [
{
"Id": "c9a0f769-9801-4065-b755-a955f3f4f781",
"ResourceId": "8bc50a6f-6cf6-4b50-bfec-165fc9777c77",
"Quantity": 3.0
},
{
"Id": "c9a0f769-9801-4065-b755-a955f3f4f781",
"ResourceId": "8bc50a6f-6cf6-4b50-bfec-165fc9777c77",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c94b62e4-07e1-4950-a724-5fc3f98417f8",
"Type": 0,
"ResourceId": "13f4eeaf-8993-4515-bb8f-eed9a329716d",
"Units": 3.0
},
{
"Id": "c94b62e4-07e1-4950-a724-5fc3f98417f8",
"Type": 0,
"ResourceId": "13f4eeaf-8993-4515-bb8f-eed9a329716d",
"Units": 3.0
}
],
"ParentId": "69504eca-76cc-4bf0-b337-5b96638063a1",
"WorkTypeParentId": "34f39c6c-d7e3-491e-80f4-ef8df1bdd95b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "6f249130-a4c8-4c0c-8af4-2492e2734512",
"UPN": "4406a2ae-bd8c-4f53-b1dd-76c7bdd69e1d",
"PostDate": "2026-06-14T17:16:04.6127209+00:00",
"Comment": "sample string 4",
"CC": [
"c48df63a-9dd1-47b8-aea1-53e963dac451",
"f967990c-9554-4fa8-a41c-11a83fff56b7"
],
"Users": [
"c2069f1e-06c4-45d9-9889-9774de4117b1",
"b079f06e-6fa8-4eb4-872d-b3992b598e63"
]
},
{
"Id": "6f249130-a4c8-4c0c-8af4-2492e2734512",
"UPN": "4406a2ae-bd8c-4f53-b1dd-76c7bdd69e1d",
"PostDate": "2026-06-14T17:16:04.6127209+00:00",
"Comment": "sample string 4",
"CC": [
"c48df63a-9dd1-47b8-aea1-53e963dac451",
"f967990c-9554-4fa8-a41c-11a83fff56b7"
],
"Users": [
"c2069f1e-06c4-45d9-9889-9774de4117b1",
"b079f06e-6fa8-4eb4-872d-b3992b598e63"
]
}
],
"StartDate": "2026-06-14T17:16:04.6127209+00:00",
"DueDate": "2026-06-14T17:16:04.6127209+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"c14ba1d2-4176-48ca-bc6f-d9ab5b5cec34": "b7ec5ef5-c4ae-40d4-a4ea-0674e1a00ff4",
"8ecc8013-396c-46e1-987d-372b4cd65acb": "dc369269-7b8d-44da-96ff-48e8abbc0c08"
},
"HasUpdates": true,
"Modified": "2026-06-14T17:16:04.6127209+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-06-14T17:16:04.6127209+00:00"
},
"LastComment": "2026-06-14T17:16:04.6127209+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "cf49fabd-3f33-4635-85e8-b51fa26f5395",
"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": "6fee7e97-98dd-4bb6-97f6-b03b64617b00",
"id": "8b46b72f-4f93-49e4-8d37-c105af7ddb27",
"ConfigId": "f796bfa0-967b-4e29-bef4-3450199f98d8"
}