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": "d21cfa0d-97bb-4e10-8300-8cf0fd1b9f72",
"Name": "sample string 1",
"Created": "2026-03-23T11:50:38.0487015+00:00",
"Modified": "2026-03-23T11:50:38.0487015+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"c15be3a7-1bc8-49fd-8fb4-dbe16c98ae52",
"b9561afc-8c15-4b3c-93c1-ea9af1b2eea5"
],
"NonLaborAssignments": [
{
"Id": "ffd857a5-a638-4da1-938e-8a463a8033cf",
"ResourceId": "6bd92fbf-fb95-4583-b071-215d8af0dbe9",
"Quantity": 3.0
},
{
"Id": "ffd857a5-a638-4da1-938e-8a463a8033cf",
"ResourceId": "6bd92fbf-fb95-4583-b071-215d8af0dbe9",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0c54e63a-50cf-4b45-a5a6-9a4264b02299",
"Type": 0,
"ResourceId": "3ebbb515-c80a-470d-aeec-cc8fa3c08d32",
"Units": 3.0
},
{
"Id": "0c54e63a-50cf-4b45-a5a6-9a4264b02299",
"Type": 0,
"ResourceId": "3ebbb515-c80a-470d-aeec-cc8fa3c08d32",
"Units": 3.0
}
],
"ParentId": "bd0ef760-7de0-4a66-9d10-fe9ab677ff31",
"WorkTypeParentId": "8b1cc6e0-52cb-4a77-9727-a2a8bdc8cb18",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "565490f4-9e4e-4c6e-a4ac-f562006ee200",
"UPN": "225469fe-0ee7-41df-be06-4952cc73b35b",
"PostDate": "2026-03-23T11:50:38.0487015+00:00",
"Comment": "sample string 4",
"CC": [
"34ea77ab-6aa8-4c07-865c-5d97b7fd0a42",
"b3ce0b85-1ba2-4c11-8cba-08bf7bcfefb0"
],
"Users": [
"f67ec96f-560f-4892-89cb-3e9ca1df7d26",
"a68419fc-915a-4857-bd2a-7a093cb80927"
]
},
{
"Id": "565490f4-9e4e-4c6e-a4ac-f562006ee200",
"UPN": "225469fe-0ee7-41df-be06-4952cc73b35b",
"PostDate": "2026-03-23T11:50:38.0487015+00:00",
"Comment": "sample string 4",
"CC": [
"34ea77ab-6aa8-4c07-865c-5d97b7fd0a42",
"b3ce0b85-1ba2-4c11-8cba-08bf7bcfefb0"
],
"Users": [
"f67ec96f-560f-4892-89cb-3e9ca1df7d26",
"a68419fc-915a-4857-bd2a-7a093cb80927"
]
}
],
"StartDate": "2026-03-23T11:50:38.0487015+00:00",
"DueDate": "2026-03-23T11:50:38.0487015+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"6792f196-e8e1-4c04-8b31-bdd2a1994f3e": "493b5010-6d31-4e95-a1e2-622a5372aa6f",
"5952a5d2-2614-44e3-802d-db75539eb75f": "49ef45e3-dfc5-4d97-8c8d-a0f0e477d29b"
},
"HasUpdates": true,
"Modified": "2026-03-23T11:50:38.0487015+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-03-23T11:50:38.0487015+00:00"
},
"LastComment": "2026-03-23T11:50:38.0487015+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "994a9f69-fbfc-48d0-84a7-0dfe687b541d",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "19dd3d70-acac-4735-83e0-88009ce37ee8",
"id": "55bbfff9-dbf5-497b-8104-77b8ccc383ff",
"ConfigId": "3e861553-903c-45fb-865a-07c258250bc3"
}