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": "aef8af7f-cace-4381-ba1a-63540f1a6ced",
"Name": "sample string 1",
"Created": "2026-02-04T20:25:51.0534167+00:00",
"Modified": "2026-02-04T20:25:51.0534167+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b320ebbc-230f-48a4-b492-661ebb31db52",
"62bcffb5-1f40-47e4-b3be-f996827fa02e"
],
"NonLaborAssignments": [
{
"Id": "db3a8a4c-4cca-4de8-bcb9-61882b08db67",
"ResourceId": "01268bcc-3a8e-4936-b308-ac7ab7eafdcc",
"Quantity": 3.0
},
{
"Id": "db3a8a4c-4cca-4de8-bcb9-61882b08db67",
"ResourceId": "01268bcc-3a8e-4936-b308-ac7ab7eafdcc",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "0b16ed2f-e4a3-4c3c-8ab0-1c8bdff582fd",
"Type": 0,
"ResourceId": "3c28c73e-1273-4198-a0c4-f15ae856b62b",
"Units": 3.0
},
{
"Id": "0b16ed2f-e4a3-4c3c-8ab0-1c8bdff582fd",
"Type": 0,
"ResourceId": "3c28c73e-1273-4198-a0c4-f15ae856b62b",
"Units": 3.0
}
],
"ParentId": "9575c07d-9522-4806-b8b1-54c00d7bc375",
"WorkTypeParentId": "50d26f7f-75e9-46cb-9999-7e1c31f17020",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "6aa89e3a-7ff5-4577-9df1-e0d0747d67af",
"UPN": "70f9cfe6-7c2a-4811-9fb3-b9753ccaed4a",
"PostDate": "2026-02-04T20:25:51.0534167+00:00",
"Comment": "sample string 4",
"CC": [
"5ed48eb1-be8a-426e-beab-5dd2effc5aaa",
"487fa334-c947-4774-a0b9-9c452db430b5"
],
"Users": [
"82fe4d21-1356-44be-be74-a21a2cf3d611",
"534361ba-b2fc-475c-b18c-f56a2f3e5917"
]
},
{
"Id": "6aa89e3a-7ff5-4577-9df1-e0d0747d67af",
"UPN": "70f9cfe6-7c2a-4811-9fb3-b9753ccaed4a",
"PostDate": "2026-02-04T20:25:51.0534167+00:00",
"Comment": "sample string 4",
"CC": [
"5ed48eb1-be8a-426e-beab-5dd2effc5aaa",
"487fa334-c947-4774-a0b9-9c452db430b5"
],
"Users": [
"82fe4d21-1356-44be-be74-a21a2cf3d611",
"534361ba-b2fc-475c-b18c-f56a2f3e5917"
]
}
],
"StartDate": "2026-02-04T20:25:51.0534167+00:00",
"DueDate": "2026-02-04T20:25:51.0534167+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"b08698c9-601d-4ea3-8e7f-63fb14a56161": "0a2cb197-5ab1-4c18-b23c-c0268a3b98d7",
"ff770048-8218-48a4-86be-a2be9babb038": "34476053-7174-4b4c-9a9e-4a43323ae888"
},
"HasUpdates": true,
"Modified": "2026-02-04T20:25:51.0534167+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-04T20:25:51.0534167+00:00"
},
"LastComment": "2026-02-04T20:25:51.0534167+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "44c8dc2b-351a-492b-bc8c-81aeb8cab68f",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "dc9c79da-d829-47d8-a9ac-fd5563c328c0",
"id": "56167321-326c-423a-8ff1-5c4ca232bf03",
"ConfigId": "a792892b-6dfb-4cc3-9725-527ec141cb56"
}