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": "33897ac5-52dd-4905-b4a3-db61b9c48f22",
"Name": "sample string 1",
"Created": "2026-04-02T00:19:13.6474125+00:00",
"Modified": "2026-04-02T00:19:13.6474125+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"df6415a2-b947-4b45-95b4-87fbf68d8c59",
"94509ea5-964d-4bf7-af8a-c4dde3d212e0"
],
"NonLaborAssignments": [
{
"Id": "755bcc30-cc63-43f0-9298-a205d690b442",
"ResourceId": "8c9841ab-d5ef-4c98-87e7-f0704c080080",
"Quantity": 3.0
},
{
"Id": "755bcc30-cc63-43f0-9298-a205d690b442",
"ResourceId": "8c9841ab-d5ef-4c98-87e7-f0704c080080",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "84f8d03a-1ad6-4896-ac9e-f00c03257ca3",
"Type": 0,
"ResourceId": "be83f32f-33b6-451d-8b51-8ce0e8b0f0ac",
"Units": 3.0
},
{
"Id": "84f8d03a-1ad6-4896-ac9e-f00c03257ca3",
"Type": 0,
"ResourceId": "be83f32f-33b6-451d-8b51-8ce0e8b0f0ac",
"Units": 3.0
}
],
"ParentId": "5ddda9e9-2519-4688-8d95-eba320396129",
"WorkTypeParentId": "a90b6617-3e1a-4560-a056-af58d29ca0ca",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "066b0c94-c12e-4689-98eb-f1547c63a205",
"UPN": "6c82b8f2-02eb-481f-bf51-5103e968a5ac",
"PostDate": "2026-04-02T00:19:13.6474125+00:00",
"Comment": "sample string 4",
"CC": [
"fae7e5c1-0ecc-4647-b205-76efe195834f",
"6a605586-00bc-4312-b8d7-6ebe99924e9d"
],
"Users": [
"5578b38b-9cf9-4b59-a764-f7034f50c725",
"f139a7c9-3280-42e9-9ca0-901d29ce937c"
]
},
{
"Id": "066b0c94-c12e-4689-98eb-f1547c63a205",
"UPN": "6c82b8f2-02eb-481f-bf51-5103e968a5ac",
"PostDate": "2026-04-02T00:19:13.6474125+00:00",
"Comment": "sample string 4",
"CC": [
"fae7e5c1-0ecc-4647-b205-76efe195834f",
"6a605586-00bc-4312-b8d7-6ebe99924e9d"
],
"Users": [
"5578b38b-9cf9-4b59-a764-f7034f50c725",
"f139a7c9-3280-42e9-9ca0-901d29ce937c"
]
}
],
"StartDate": "2026-04-02T00:19:13.6474125+00:00",
"DueDate": "2026-04-02T00:19:13.6474125+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8de695fc-aa0b-43fc-a98f-313e0760fae0": "503481d4-a681-4f87-92ab-f310b837dc9a",
"bc835675-cb28-4f61-a9e8-72d070e38a5e": "db064b98-4973-4dd9-b6ba-d21da53cf904"
},
"HasUpdates": true,
"Modified": "2026-04-02T00:19:13.6474125+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-04-02T00:19:13.6474125+00:00"
},
"LastComment": "2026-04-02T00:19:13.6474125+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "76d85d38-de4d-4d65-bd03-ddefc1d17748",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "26a6b78c-e186-4c1a-9dcf-bd387855a5ae",
"id": "d9b55d58-5f3a-48e9-869a-a778856d7c96",
"ConfigId": "16b532a8-c3ee-4f80-af82-fe17ee35b007"
}