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": "ae0fbda1-30e5-42ca-89ba-b0776e0fb2d3",
"Name": "sample string 1",
"Created": "2026-02-01T15:18:30.4492202+00:00",
"Modified": "2026-02-01T15:18:30.4492202+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"5180a174-77da-4dde-afaf-99d95e5a3214",
"80b5bc41-b075-47b8-b02c-82241b931c9b"
],
"NonLaborAssignments": [
{
"Id": "a02fb280-9ba4-4c41-9b67-1e153aafd5ab",
"ResourceId": "ae0651e5-f713-4312-afa7-93e552a0e40a",
"Quantity": 3.0
},
{
"Id": "a02fb280-9ba4-4c41-9b67-1e153aafd5ab",
"ResourceId": "ae0651e5-f713-4312-afa7-93e552a0e40a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0c1833e9-3752-491b-9e08-e62bed23f301",
"Type": 0,
"ResourceId": "f148e8c9-677e-4ddf-ba94-56ccfd56ab9e",
"Units": 3.0
},
{
"Id": "0c1833e9-3752-491b-9e08-e62bed23f301",
"Type": 0,
"ResourceId": "f148e8c9-677e-4ddf-ba94-56ccfd56ab9e",
"Units": 3.0
}
],
"ParentId": "69dc8c51-5930-401a-8bd2-75442f59e87e",
"WorkTypeParentId": "6471bdd5-2f66-4ebb-b2b6-103d54e1b78d",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "85213dfb-b362-49fe-9861-4679f1a66c31",
"UPN": "99ab2c1b-d964-46f5-9f91-3686b86fdc95",
"PostDate": "2026-02-01T15:18:30.4492202+00:00",
"Comment": "sample string 4",
"CC": [
"9910951d-5c9c-475c-978d-bd9346ee7553",
"42c51ec4-03db-45ca-9e47-5f2940f38c37"
],
"Users": [
"a3dd3715-976b-4a69-888a-22334454c9b9",
"d1060b9a-00ca-4469-83d8-65ea8fc86c0f"
]
},
{
"Id": "85213dfb-b362-49fe-9861-4679f1a66c31",
"UPN": "99ab2c1b-d964-46f5-9f91-3686b86fdc95",
"PostDate": "2026-02-01T15:18:30.4492202+00:00",
"Comment": "sample string 4",
"CC": [
"9910951d-5c9c-475c-978d-bd9346ee7553",
"42c51ec4-03db-45ca-9e47-5f2940f38c37"
],
"Users": [
"a3dd3715-976b-4a69-888a-22334454c9b9",
"d1060b9a-00ca-4469-83d8-65ea8fc86c0f"
]
}
],
"StartDate": "2026-02-01T15:18:30.4492202+00:00",
"DueDate": "2026-02-01T15:18:30.4492202+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"d690f3f1-db85-4d95-a90c-f3fc0b335e1d": "f4c06645-5cee-4291-b54f-7b1799a14434",
"ceaaf270-b8da-468e-b455-a53c62b2528e": "f0ff3674-8c61-4747-86c0-b8e81f1000e4"
},
"HasUpdates": true,
"Modified": "2026-02-01T15:18:30.4492202+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-01T15:18:30.4492202+00:00"
},
"LastComment": "2026-02-01T15:18:30.4492202+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "aa941aff-586b-4122-960b-6963061351db",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "54714c14-80fc-457b-95b0-f990bba7c84c",
"id": "6f1a8eff-cef3-4de4-9cfc-6d502ae53e23",
"ConfigId": "577bf2e4-fa05-434f-9ce0-e2292ac7775d"
}