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": "306f4cef-f8df-4311-b129-8d5c3cfa7b6e",
"Name": "sample string 1",
"Created": "2025-12-03T11:45:00.0760382+00:00",
"Modified": "2025-12-03T11:45:00.0760382+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"eb6c3d72-e630-40a7-a13a-b70cc0826ffd",
"e4c09421-9503-4fbd-a31c-68072800c6b4"
],
"NonLaborAssignments": [
{
"Id": "b9191b51-6609-41ad-8d59-534983fbf4e8",
"ResourceId": "03a5a7ec-aa97-488a-b156-e24f2ecc689d",
"Quantity": 3.0
},
{
"Id": "b9191b51-6609-41ad-8d59-534983fbf4e8",
"ResourceId": "03a5a7ec-aa97-488a-b156-e24f2ecc689d",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "6a4011db-bf4f-40ef-b193-a206f3222340",
"Type": 0,
"ResourceId": "0a03e49a-2af2-43a7-ae17-d3e96b06ed5a",
"Units": 3.0
},
{
"Id": "6a4011db-bf4f-40ef-b193-a206f3222340",
"Type": 0,
"ResourceId": "0a03e49a-2af2-43a7-ae17-d3e96b06ed5a",
"Units": 3.0
}
],
"ParentId": "0cc18355-9807-4ae4-be7a-6df331669b20",
"WorkTypeParentId": "4dbc01c1-892f-4e3d-a85d-b44fc64dbc5c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "59b5f4f6-1aaa-4b4b-b208-76b09f6ce4ad",
"UPN": "da419e7d-b6b7-4c00-b0e7-3a1919d283ba",
"PostDate": "2025-12-03T11:45:00.0760382+00:00",
"Comment": "sample string 4",
"CC": [
"e61384cf-2a96-43c4-a617-bcc64f3a4ecf",
"05aa24ae-746c-4e8d-97e1-b711eac1c108"
],
"Users": [
"528064c3-c92f-489e-9329-23c43bd9033f",
"b07c8844-5a45-45d6-bbe5-dcc3355c0450"
]
},
{
"Id": "59b5f4f6-1aaa-4b4b-b208-76b09f6ce4ad",
"UPN": "da419e7d-b6b7-4c00-b0e7-3a1919d283ba",
"PostDate": "2025-12-03T11:45:00.0760382+00:00",
"Comment": "sample string 4",
"CC": [
"e61384cf-2a96-43c4-a617-bcc64f3a4ecf",
"05aa24ae-746c-4e8d-97e1-b711eac1c108"
],
"Users": [
"528064c3-c92f-489e-9329-23c43bd9033f",
"b07c8844-5a45-45d6-bbe5-dcc3355c0450"
]
}
],
"StartDate": "2025-12-03T11:45:00.0760382+00:00",
"DueDate": "2025-12-03T11:45:00.0760382+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"71bdc65d-58dc-4cbc-95fc-88eaefb88585": "d61def5d-2e9a-4d47-8eba-23158608e483",
"43ecd22e-7686-4cfd-873e-fe33b86d5ca1": "c0283f56-d47c-43ad-a49a-a2912e4db5a3"
},
"HasUpdates": true,
"Modified": "2025-12-03T11:45:00.0760382+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": "2025-12-03T11:45:00.0760382+00:00"
},
"LastComment": "2025-12-03T11:45:00.0760382+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "a027b144-9a0d-4e63-a0c9-09b894303dba",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "1d5e2948-fc4e-4b59-9081-4748c6f063bc",
"id": "b39dd3fc-4c19-4033-993b-d687609793aa",
"ConfigId": "469279d2-57b2-4319-8fdd-bc030ba634f3"
}