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": "b4362537-e5a5-4874-88e5-8862ad61c36f",
"Name": "sample string 1",
"Created": "2026-03-26T16:22:52.3327367+00:00",
"Modified": "2026-03-26T16:22:52.3327367+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"c9e431f4-6d6c-4786-847c-9ab7c2ccfd57",
"80804d98-28bb-4510-8599-0b4514e72952"
],
"NonLaborAssignments": [
{
"Id": "969ade0f-830a-4c04-ac12-54b5e21e1855",
"ResourceId": "ed13329c-57d4-4d4b-b627-137a07ea8900",
"Quantity": 3.0
},
{
"Id": "969ade0f-830a-4c04-ac12-54b5e21e1855",
"ResourceId": "ed13329c-57d4-4d4b-b627-137a07ea8900",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "554a6222-18d1-43bb-a791-0ff76c76dec9",
"Type": 0,
"ResourceId": "beb6815e-6727-4a86-8fae-29b1c39ade55",
"Units": 3.0
},
{
"Id": "554a6222-18d1-43bb-a791-0ff76c76dec9",
"Type": 0,
"ResourceId": "beb6815e-6727-4a86-8fae-29b1c39ade55",
"Units": 3.0
}
],
"ParentId": "9d41d319-6489-490a-aeca-f88a89d0bc0c",
"WorkTypeParentId": "33d53f4f-21e6-4a9e-b818-eeab011989ab",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "4010b15b-a52e-47ac-921b-b3dbfc9e53ef",
"UPN": "251e6610-12f6-4570-b5d4-09df675cd725",
"PostDate": "2026-03-26T16:22:52.3327367+00:00",
"Comment": "sample string 4",
"CC": [
"51d133c5-9a6f-45c4-9bfd-16be25c5f1d9",
"c6b9ad3a-ff1c-47c8-8398-e25e01ec0087"
],
"Users": [
"3d5b070f-8979-4ceb-af24-848e0a6e15f6",
"98bb37c7-971e-4e1a-8081-326252716b7f"
]
},
{
"Id": "4010b15b-a52e-47ac-921b-b3dbfc9e53ef",
"UPN": "251e6610-12f6-4570-b5d4-09df675cd725",
"PostDate": "2026-03-26T16:22:52.3327367+00:00",
"Comment": "sample string 4",
"CC": [
"51d133c5-9a6f-45c4-9bfd-16be25c5f1d9",
"c6b9ad3a-ff1c-47c8-8398-e25e01ec0087"
],
"Users": [
"3d5b070f-8979-4ceb-af24-848e0a6e15f6",
"98bb37c7-971e-4e1a-8081-326252716b7f"
]
}
],
"StartDate": "2026-03-26T16:22:52.3327367+00:00",
"DueDate": "2026-03-26T16:22:52.3327367+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"968ccf24-3bbd-466a-b061-059f3e74eaf2": "3c60fa8b-4ed9-4b10-b60f-a4d666c268fc",
"c2c59ab4-0591-4554-9ac3-9b278fe78194": "aae16fa5-f7c3-4ff8-8e86-93c36579cd29"
},
"HasUpdates": true,
"Modified": "2026-03-26T16:22:52.3327367+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-26T16:22:52.3327367+00:00"
},
"LastComment": "2026-03-26T16:22:52.3327367+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "6abfc6b4-07e8-4f4e-ab20-cebb47a4bd4e",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "a631ccc2-2b7b-43e8-8dde-f19f29c31a0f",
"id": "58b6fbc4-445b-429c-a844-3314a3d516f7",
"ConfigId": "891144c0-3026-496c-873a-c8e338fe7952"
}