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": "c559ee43-f211-4ed5-8d98-e8d195037b24",
"Name": "sample string 1",
"Created": "2025-12-24T11:40:05.8168201+00:00",
"Modified": "2025-12-24T11:40:05.8168201+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"3bb04529-4ce1-474b-a8b8-17ab0f6be903",
"ba13fbb3-3357-43ba-827a-9abe410d07c5"
],
"NonLaborAssignments": [
{
"Id": "e356ac10-6f3d-42fb-b6bd-3bc3d44943d8",
"ResourceId": "84a79ba0-11b3-4719-a761-0efff92e17f7",
"Quantity": 3.0
},
{
"Id": "e356ac10-6f3d-42fb-b6bd-3bc3d44943d8",
"ResourceId": "84a79ba0-11b3-4719-a761-0efff92e17f7",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "c79e951c-a26b-44e0-b7e1-6d8605ddc60c",
"Type": 0,
"ResourceId": "ad6d6965-ae11-478d-91de-f5bf012a7c6f",
"Units": 3.0
},
{
"Id": "c79e951c-a26b-44e0-b7e1-6d8605ddc60c",
"Type": 0,
"ResourceId": "ad6d6965-ae11-478d-91de-f5bf012a7c6f",
"Units": 3.0
}
],
"ParentId": "84346a51-c319-48fd-b6d5-07a3da34a6fd",
"WorkTypeParentId": "f5ed4fc3-a49e-4076-aa72-5b0f290a94a2",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "d6af8b2b-6375-49ed-b87b-2bb42404139e",
"UPN": "564fdac8-2f5e-44f3-85ea-e3c36e1bb34a",
"PostDate": "2025-12-24T11:40:05.8168201+00:00",
"Comment": "sample string 4",
"CC": [
"8fdcdef1-e28a-4468-b506-90d0ee9d49b5",
"8cc29200-6d47-47c7-89e9-5703071a8513"
],
"Users": [
"6330821d-9db0-43a3-a15e-458bd05a953f",
"ca58774b-e8d8-4b00-84d3-fefc749d12ec"
]
},
{
"Id": "d6af8b2b-6375-49ed-b87b-2bb42404139e",
"UPN": "564fdac8-2f5e-44f3-85ea-e3c36e1bb34a",
"PostDate": "2025-12-24T11:40:05.8168201+00:00",
"Comment": "sample string 4",
"CC": [
"8fdcdef1-e28a-4468-b506-90d0ee9d49b5",
"8cc29200-6d47-47c7-89e9-5703071a8513"
],
"Users": [
"6330821d-9db0-43a3-a15e-458bd05a953f",
"ca58774b-e8d8-4b00-84d3-fefc749d12ec"
]
}
],
"StartDate": "2025-12-24T11:40:05.8168201+00:00",
"DueDate": "2025-12-24T11:40:05.8168201+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"6881ee57-b46b-49ff-a7ec-b777ef5aa47a": "7c2cb8eb-0442-4039-9512-c8a01e22001e",
"41a7fb2b-21cb-41b3-865a-971b4d801ad8": "da0a58bb-fa33-4d12-953f-f13edf8ef6b5"
},
"HasUpdates": true,
"Modified": "2025-12-24T11:40:05.8168201+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-24T11:40:05.8168201+00:00"
},
"LastComment": "2025-12-24T11:40:05.8168201+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "d538fc74-16b2-47b8-921b-0524ca53e61b",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "0b836243-0707-4a06-9719-7e419c9b4446",
"id": "5fb8dea8-141b-4eb0-a113-5f1e145e16e4",
"ConfigId": "07ad4c19-cb68-4c57-82c1-61bed574d8d9"
}