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": "29775760-6899-470a-9481-2e67b6d50153",
"Name": "sample string 1",
"Created": "2026-02-03T04:20:46.0394092+00:00",
"Modified": "2026-02-03T04:20:46.0394092+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"166deea0-4e00-4ba8-aa6a-ed525678a8cc",
"42b23d18-69ce-499b-a8ac-a88624dc80e8"
],
"NonLaborAssignments": [
{
"Id": "a24b7917-e5d2-48ec-a81b-6e40484564e4",
"ResourceId": "c341bddd-3a6a-49fe-b223-80223be13a55",
"Quantity": 3.0
},
{
"Id": "a24b7917-e5d2-48ec-a81b-6e40484564e4",
"ResourceId": "c341bddd-3a6a-49fe-b223-80223be13a55",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0be51c6e-1e0d-49e1-8959-61205e261bff",
"Type": 0,
"ResourceId": "bcccc770-f824-4a5f-a3df-960cb0bb3343",
"Units": 3.0
},
{
"Id": "0be51c6e-1e0d-49e1-8959-61205e261bff",
"Type": 0,
"ResourceId": "bcccc770-f824-4a5f-a3df-960cb0bb3343",
"Units": 3.0
}
],
"ParentId": "64d1b481-bda6-489b-b199-9ece551db5e6",
"WorkTypeParentId": "3c28963c-afd5-40fb-985a-2e7d5f1a0bfe",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "aed6e62d-0d0a-4358-a784-384d5e2ae86c",
"UPN": "db56514e-8e20-4af9-96ca-1ff00f8202b4",
"PostDate": "2026-02-03T04:20:46.0394092+00:00",
"Comment": "sample string 4",
"CC": [
"89040154-58d1-4009-b4c6-24562d731ddc",
"336904bc-57b4-4959-8041-5ee4d89962e4"
],
"Users": [
"8cb31b4c-25cc-4fa9-9e56-11e2acf06752",
"b34c8423-10e1-4145-b1cf-78c7956290d4"
]
},
{
"Id": "aed6e62d-0d0a-4358-a784-384d5e2ae86c",
"UPN": "db56514e-8e20-4af9-96ca-1ff00f8202b4",
"PostDate": "2026-02-03T04:20:46.0394092+00:00",
"Comment": "sample string 4",
"CC": [
"89040154-58d1-4009-b4c6-24562d731ddc",
"336904bc-57b4-4959-8041-5ee4d89962e4"
],
"Users": [
"8cb31b4c-25cc-4fa9-9e56-11e2acf06752",
"b34c8423-10e1-4145-b1cf-78c7956290d4"
]
}
],
"StartDate": "2026-02-03T04:20:46.0394092+00:00",
"DueDate": "2026-02-03T04:20:46.0394092+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"76179166-3efe-4047-be3a-d8c9a3c964e7": "720013e3-e059-4d2f-925c-c17789908430",
"92aa049b-0898-40cd-a057-e2fc111b413c": "18069831-39a2-4859-a3bf-6b011a468ad9"
},
"HasUpdates": true,
"Modified": "2026-02-03T04:20:46.0394092+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-03T04:20:46.0394092+00:00"
},
"LastComment": "2026-02-03T04:20:46.0394092+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "0e3a8dbb-dc86-444b-9b5b-7cbbdc47f39a",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "f2e969c8-36f4-4e47-b4e0-91bf9059817b",
"id": "924306cd-8e2e-4dad-8074-3846cfb4a709",
"ConfigId": "550a7e95-d824-4814-89eb-7883043e47cb"
}