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": "8eae47d6-ee15-4876-a485-71d52fa1e660",
"Name": "sample string 1",
"Created": "2026-10-05T03:48:34.188437+00:00",
"Modified": "2026-10-05T03:48:34.188437+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1e1311dd-ac7b-4252-a742-67adb21034b3",
"e1297230-37c0-44aa-97e3-94b861819e33"
],
"NonLaborAssignments": [
{
"Id": "934fa704-4b07-400f-b0f9-db9c44729ee7",
"ResourceId": "0cd2af86-06ea-42b5-9d6e-b01b15082ac3",
"Quantity": 3.0
},
{
"Id": "934fa704-4b07-400f-b0f9-db9c44729ee7",
"ResourceId": "0cd2af86-06ea-42b5-9d6e-b01b15082ac3",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "6b705226-03df-4c0a-8274-49d6b6135380",
"Type": 0,
"ResourceId": "b595d2b0-a29b-4134-99c3-c39b66ca9c29",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "89321c04-ab27-4340-b7e8-2d3c4ae93bed",
"Start": "2026-10-05T03:48:34.188437+00:00",
"Due": "2026-10-05T03:48:34.188437+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "89321c04-ab27-4340-b7e8-2d3c4ae93bed",
"Start": "2026-10-05T03:48:34.188437+00:00",
"Due": "2026-10-05T03:48:34.188437+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "6b705226-03df-4c0a-8274-49d6b6135380",
"Type": 0,
"ResourceId": "b595d2b0-a29b-4134-99c3-c39b66ca9c29",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "89321c04-ab27-4340-b7e8-2d3c4ae93bed",
"Start": "2026-10-05T03:48:34.188437+00:00",
"Due": "2026-10-05T03:48:34.188437+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "89321c04-ab27-4340-b7e8-2d3c4ae93bed",
"Start": "2026-10-05T03:48:34.188437+00:00",
"Due": "2026-10-05T03:48:34.188437+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "7dc3b05a-8290-48da-a314-d55437284944",
"WorkTypeParentId": "17157afc-b185-4558-aedd-5898bd4d2612",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "0046d5e0-e780-4627-bf94-0f0570825a87",
"UPN": "87ef4d22-7afe-4e9f-8c43-a667b8af9aa2",
"PostDate": "2026-10-05T03:48:34.188437+00:00",
"Comment": "sample string 4",
"CC": [
"8e76a05f-930a-4ae6-a92e-225e12b511c9",
"efede815-2e74-45fb-851c-d78d10cdd5b8"
],
"Users": [
"d05c8047-0733-4446-b391-793d3d647925",
"897adec1-7e35-4433-bb81-64d5949eb567"
]
},
{
"Id": "0046d5e0-e780-4627-bf94-0f0570825a87",
"UPN": "87ef4d22-7afe-4e9f-8c43-a667b8af9aa2",
"PostDate": "2026-10-05T03:48:34.188437+00:00",
"Comment": "sample string 4",
"CC": [
"8e76a05f-930a-4ae6-a92e-225e12b511c9",
"efede815-2e74-45fb-851c-d78d10cdd5b8"
],
"Users": [
"d05c8047-0733-4446-b391-793d3d647925",
"897adec1-7e35-4433-bb81-64d5949eb567"
]
}
],
"StartDate": "2026-10-05T03:48:34.188437+00:00",
"DueDate": "2026-10-05T03:48:34.188437+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"f688ad25-867e-4058-a6e9-d8447e8744c4": "1f8230d1-5a79-4bf0-83ac-491aeedc5887",
"281e5fef-4b60-4392-8c79-9ec05a866b9c": "24ec51bb-621c-4085-9b33-c18e139ab644"
},
"HasUpdates": true,
"Modified": "2026-10-05T03:48:34.188437+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-05T03:48:34.188437+00:00"
},
"LastComment": "2026-10-05T03:48:34.188437+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a02906e6-7528-4196-a5d0-d21e970b8c42",
"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": "54d070c9-15e6-42b8-ba6f-9ebc3569f8c2",
"id": "418ab294-126e-4311-8f56-18c31468143a",
"ConfigId": "bbdde1c9-b409-4a6c-a0c3-513b0729fa31"
}