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": "b99a8f1b-3122-4786-a71f-48652df9a2f5",
"Name": "sample string 1",
"Created": "2026-03-02T19:51:58.8903268+00:00",
"Modified": "2026-03-02T19:51:58.8903268+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"31817315-b8ad-4dd8-ae83-7bd206fd01f9",
"14855567-a38f-414c-a918-89bdb4c9644c"
],
"NonLaborAssignments": [
{
"Id": "919efa31-9bee-43b6-a1e3-adf6be1f5f46",
"ResourceId": "93f0c843-aa2c-4274-8dc0-9131731621af",
"Quantity": 3.0
},
{
"Id": "919efa31-9bee-43b6-a1e3-adf6be1f5f46",
"ResourceId": "93f0c843-aa2c-4274-8dc0-9131731621af",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "06fa3df8-65ff-4b85-9be7-8ccb1b2ecc68",
"Type": 0,
"ResourceId": "3aeea67b-b3a1-4dcf-ae0d-3d21f644d2f3",
"Units": 3.0
},
{
"Id": "06fa3df8-65ff-4b85-9be7-8ccb1b2ecc68",
"Type": 0,
"ResourceId": "3aeea67b-b3a1-4dcf-ae0d-3d21f644d2f3",
"Units": 3.0
}
],
"ParentId": "8eb15020-bad8-411d-be96-6e863c207dc6",
"WorkTypeParentId": "abfa3dd7-fd57-46f4-b107-b070991f054c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "ffed43ef-6256-4138-ab0c-089f76ae33a7",
"UPN": "b14257af-7863-49e1-b341-b06e7bdeb12f",
"PostDate": "2026-03-02T19:51:58.8903268+00:00",
"Comment": "sample string 4",
"CC": [
"06721a03-f638-4140-95fe-469bcadae555",
"22a086b3-13d6-4347-97f4-f82c69a3cc4e"
],
"Users": [
"5c20c1ec-be08-4fa3-875a-10430a8cd308",
"52186cf7-e05c-48ed-bbda-8cb35eabfb43"
]
},
{
"Id": "ffed43ef-6256-4138-ab0c-089f76ae33a7",
"UPN": "b14257af-7863-49e1-b341-b06e7bdeb12f",
"PostDate": "2026-03-02T19:51:58.8903268+00:00",
"Comment": "sample string 4",
"CC": [
"06721a03-f638-4140-95fe-469bcadae555",
"22a086b3-13d6-4347-97f4-f82c69a3cc4e"
],
"Users": [
"5c20c1ec-be08-4fa3-875a-10430a8cd308",
"52186cf7-e05c-48ed-bbda-8cb35eabfb43"
]
}
],
"StartDate": "2026-03-02T19:51:58.8903268+00:00",
"DueDate": "2026-03-02T19:51:58.8903268+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"1e2e4a15-cc56-4634-87f4-5662482b67ac": "1aa34126-eca3-45f5-b820-c8bdda804e82",
"9310d562-98ee-4ac5-9579-6b35f6ff8bd2": "c51b8331-79c9-4e0d-9e7c-ce440256c3c4"
},
"HasUpdates": true,
"Modified": "2026-03-02T19:51:58.8903268+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-02T19:51:58.8903268+00:00"
},
"LastComment": "2026-03-02T19:51:58.8903268+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "397d8423-cbcc-4aec-a568-8d378535e08b",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "9ffb441f-56a0-40f8-84cd-d34339e90118",
"id": "e3153bcd-4845-431e-addd-5665cb53bdd0",
"ConfigId": "fe6f8206-8cce-4562-a205-4258fa92bda7"
}