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": "681a7c8a-80b1-4781-b26c-2f53e634d408",
"Name": "sample string 1",
"Created": "2026-01-11T08:14:28.2530818+00:00",
"Modified": "2026-01-11T08:14:28.2530818+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"c9f217ef-ece1-43b7-a75e-cb6729ad30dd",
"b5d6f143-f1c9-40bf-b85a-2084c9de21d6"
],
"NonLaborAssignments": [
{
"Id": "70f8cf75-553e-4778-b61c-d6eaf2ebdeec",
"ResourceId": "597d5805-12bd-4dd9-b66a-b723ff16eb02",
"Quantity": 3.0
},
{
"Id": "70f8cf75-553e-4778-b61c-d6eaf2ebdeec",
"ResourceId": "597d5805-12bd-4dd9-b66a-b723ff16eb02",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c19e6b50-53fd-471d-87bb-124c23bfc936",
"Type": 0,
"ResourceId": "9404242e-ea23-40b2-965a-f8185b8a1344",
"Units": 3.0
},
{
"Id": "c19e6b50-53fd-471d-87bb-124c23bfc936",
"Type": 0,
"ResourceId": "9404242e-ea23-40b2-965a-f8185b8a1344",
"Units": 3.0
}
],
"ParentId": "a4152e38-2161-412f-9143-4ba04bbb8d13",
"WorkTypeParentId": "fd1ed50f-f738-4724-acba-57e548b05ad5",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1dab99e9-13f6-41ae-ac17-19993a57ef39",
"UPN": "be204c47-7457-4f9b-a3e6-e10289916558",
"PostDate": "2026-01-11T08:14:28.2530818+00:00",
"Comment": "sample string 4",
"CC": [
"6275c6a3-f67f-4526-9f23-d3b9e5297f7b",
"b0801f70-bf09-4fcf-bf7f-24d156381731"
],
"Users": [
"7ec93f40-24b5-44cc-8e9f-32ecb1845ce0",
"cfc6b583-e582-4b4e-b62b-d8d7b4d06d1a"
]
},
{
"Id": "1dab99e9-13f6-41ae-ac17-19993a57ef39",
"UPN": "be204c47-7457-4f9b-a3e6-e10289916558",
"PostDate": "2026-01-11T08:14:28.2530818+00:00",
"Comment": "sample string 4",
"CC": [
"6275c6a3-f67f-4526-9f23-d3b9e5297f7b",
"b0801f70-bf09-4fcf-bf7f-24d156381731"
],
"Users": [
"7ec93f40-24b5-44cc-8e9f-32ecb1845ce0",
"cfc6b583-e582-4b4e-b62b-d8d7b4d06d1a"
]
}
],
"StartDate": "2026-01-11T08:14:28.2530818+00:00",
"DueDate": "2026-01-11T08:14:28.2530818+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"6632799f-9b32-47bc-bf48-502de29a3487": "2830d0e9-e243-4dfb-9cc9-fcd51ad02fe7",
"9efefb71-4f06-4089-ba58-3efc0262c894": "174be7cc-3755-42e2-969a-4e32727411bb"
},
"HasUpdates": true,
"Modified": "2026-01-11T08:14:28.2530818+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-01-11T08:14:28.2530818+00:00"
},
"LastComment": "2026-01-11T08:14:28.2530818+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "7e24e816-7eee-4f38-8d9b-e5381b4e88a5",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "e3ee72b8-edae-4bec-8ebc-bb75c5a83b25",
"id": "390be7bb-6b70-4031-b7ca-862d22821912",
"ConfigId": "331397e3-6574-4d95-b4a3-e5e8d1b2307f"
}