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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "3653c565-a86d-4c62-9c37-4400bd695c05",
"Name": "sample string 1",
"Created": "2026-04-21T05:50:59.1472215+00:00",
"Modified": "2026-04-21T05:50:59.1472215+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"8a4597b2-0936-4d58-87db-841c2d2cf8d4",
"ee31c107-591e-447e-8d44-7659376667bf"
],
"NonLaborAssignments": [
{
"Id": "371d014d-f718-4639-9174-1838c0aea868",
"ResourceId": "3304ecba-1785-4bf8-b27c-4bcccb52dfb3",
"Quantity": 3.0
},
{
"Id": "371d014d-f718-4639-9174-1838c0aea868",
"ResourceId": "3304ecba-1785-4bf8-b27c-4bcccb52dfb3",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "fb0150a7-c99f-4de8-8cc2-1a465402f6a3",
"Type": 0,
"ResourceId": "d684d3e3-cc83-4555-96cc-964e83f31d58",
"Units": 3.0
},
{
"Id": "fb0150a7-c99f-4de8-8cc2-1a465402f6a3",
"Type": 0,
"ResourceId": "d684d3e3-cc83-4555-96cc-964e83f31d58",
"Units": 3.0
}
],
"ParentId": "4aca75f0-089d-411e-94b3-881a90d9c591",
"WorkTypeParentId": "4ba1c810-b067-4e09-8af6-2aa8383baefb",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "42fe6ae1-5022-4e76-8f19-533cdd5472cb",
"UPN": "45881153-c582-49e1-b690-7269f57f492e",
"PostDate": "2026-04-21T05:50:59.1472215+00:00",
"Comment": "sample string 4",
"CC": [
"47a8db47-d803-43cb-8aa2-a0cd3f3554ab",
"21e68718-0676-433c-a386-50ca1c490e19"
],
"Users": [
"40ea333f-0a0a-4a60-84dd-13f87fa50673",
"5bd6f02b-1104-4eb5-8e06-42e0364bc402"
]
},
{
"Id": "42fe6ae1-5022-4e76-8f19-533cdd5472cb",
"UPN": "45881153-c582-49e1-b690-7269f57f492e",
"PostDate": "2026-04-21T05:50:59.1472215+00:00",
"Comment": "sample string 4",
"CC": [
"47a8db47-d803-43cb-8aa2-a0cd3f3554ab",
"21e68718-0676-433c-a386-50ca1c490e19"
],
"Users": [
"40ea333f-0a0a-4a60-84dd-13f87fa50673",
"5bd6f02b-1104-4eb5-8e06-42e0364bc402"
]
}
],
"StartDate": "2026-04-21T05:50:59.1472215+00:00",
"DueDate": "2026-04-21T05:50:59.1472215+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"fbfe18e8-90a2-4c6e-9f85-47b296088e14": "34f07cdd-94cc-481a-9eb8-99eddfcb0f67",
"96b9743a-db58-45eb-a2df-a649acf270b9": "70ac947b-63e2-4cdf-a56b-1aaf5b15863f"
},
"HasUpdates": true,
"Modified": "2026-04-21T05:50:59.1472215+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-21T05:50:59.1472215+00:00"
},
"LastComment": "2026-04-21T05:50:59.1472215+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "4f74e981-892d-4ce5-a582-b99aaae0dbb4",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "0e283e74-68d5-4093-a3b9-708b6dc3baa7",
"id": "bc912455-efb5-40e7-90a8-b852adc7bbd7",
"ConfigId": "75c5cd03-c244-4126-aecb-3e20f04615f3"
}