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": "361ae764-c428-4ac0-85bd-e265d4aa8692",
"Name": "sample string 1",
"Created": "2026-02-06T11:41:10.2943555+00:00",
"Modified": "2026-02-06T11:41:10.2943555+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"d8f5eb25-3379-45ab-b1dd-864414b7200f",
"c0156b07-8aba-48c8-ab3b-4492cdf0ffed"
],
"NonLaborAssignments": [
{
"Id": "87ff703c-790d-4046-90e6-357fa9c196d1",
"ResourceId": "c4702178-3861-4af0-91cc-5fc23639b29f",
"Quantity": 3.0
},
{
"Id": "87ff703c-790d-4046-90e6-357fa9c196d1",
"ResourceId": "c4702178-3861-4af0-91cc-5fc23639b29f",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e2420815-c4fd-4464-87cd-ec24724ba66d",
"Type": 0,
"ResourceId": "35ff072f-78f3-4141-960d-79b88ef80c71",
"Units": 3.0
},
{
"Id": "e2420815-c4fd-4464-87cd-ec24724ba66d",
"Type": 0,
"ResourceId": "35ff072f-78f3-4141-960d-79b88ef80c71",
"Units": 3.0
}
],
"ParentId": "315ec9b9-82d8-4df7-9a23-0e4b03b7a936",
"WorkTypeParentId": "8d63f663-8d81-473a-99e3-f5f26c39e159",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "e03daea6-75ac-48d2-a4f0-0de8c93d1183",
"UPN": "c592c439-06b4-4653-a554-7e0d701606bd",
"PostDate": "2026-02-06T11:41:10.2943555+00:00",
"Comment": "sample string 4",
"CC": [
"5df0d276-68f7-4f0c-a629-4c5e181b3c41",
"be4ceec9-365b-4258-8d0b-26756e6294b8"
],
"Users": [
"5aeba941-3622-4f1f-aa5f-7be957a60cc7",
"ecae9f5d-f6a9-43a5-b856-318ad92b817c"
]
},
{
"Id": "e03daea6-75ac-48d2-a4f0-0de8c93d1183",
"UPN": "c592c439-06b4-4653-a554-7e0d701606bd",
"PostDate": "2026-02-06T11:41:10.2943555+00:00",
"Comment": "sample string 4",
"CC": [
"5df0d276-68f7-4f0c-a629-4c5e181b3c41",
"be4ceec9-365b-4258-8d0b-26756e6294b8"
],
"Users": [
"5aeba941-3622-4f1f-aa5f-7be957a60cc7",
"ecae9f5d-f6a9-43a5-b856-318ad92b817c"
]
}
],
"StartDate": "2026-02-06T11:41:10.2943555+00:00",
"DueDate": "2026-02-06T11:41:10.2943555+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"eaf98ed9-f672-45fd-8cdb-4d29ee212bab": "cbb560be-e979-43bf-ac28-5ed2b5cece8b",
"92727bad-4ba8-46b6-8a03-31835d65e848": "0cda55c7-c111-41b1-b48b-d63dbd749e29"
},
"HasUpdates": true,
"Modified": "2026-02-06T11:41:10.2943555+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-06T11:41:10.2943555+00:00"
},
"LastComment": "2026-02-06T11:41:10.2943555+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "446d7034-1657-4301-ac34-290c763db9b3",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "02bb9aec-9eec-4684-b5ad-8e0986bcc753",
"id": "9c40b67e-b038-490b-b384-d5d98787db1e",
"ConfigId": "5fb8b169-9251-4dd5-88db-ddf990ae1735"
}