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": "e549c6ef-27dd-4c67-a3c6-2bc3714d60bc",
"Name": "sample string 1",
"Created": "2026-01-27T01:08:58.5992029+00:00",
"Modified": "2026-01-27T01:08:58.5992029+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"bbb19f52-ba34-4561-ac97-6cd749878ad7",
"6f126b7a-5863-402d-bb98-e8a47122097c"
],
"NonLaborAssignments": [
{
"Id": "0d921156-bcaf-4703-86b6-f6344c2df568",
"ResourceId": "fb3e1835-4f49-44ac-ad3f-52b6933afd6a",
"Quantity": 3.0
},
{
"Id": "0d921156-bcaf-4703-86b6-f6344c2df568",
"ResourceId": "fb3e1835-4f49-44ac-ad3f-52b6933afd6a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "5efec831-e8df-4c01-ada2-d76c34bfe26f",
"Type": 0,
"ResourceId": "c454aef9-b937-41d1-ada7-4da24eabaefd",
"Units": 3.0
},
{
"Id": "5efec831-e8df-4c01-ada2-d76c34bfe26f",
"Type": 0,
"ResourceId": "c454aef9-b937-41d1-ada7-4da24eabaefd",
"Units": 3.0
}
],
"ParentId": "13a2329a-3ebb-4ed5-9c23-d0649d0edb90",
"WorkTypeParentId": "e494d714-7ac6-4b04-a4ec-f85bd36195f9",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "08ad62fa-4988-4e67-8dc7-4d906f2b8536",
"UPN": "53d6c985-b754-4ccc-9941-2a89240a5e35",
"PostDate": "2026-01-27T01:08:58.5992029+00:00",
"Comment": "sample string 4",
"CC": [
"80d69b2b-79bf-4d14-9195-8d40462793df",
"364b3a73-02c0-4c7b-a188-f02760366c31"
],
"Users": [
"06f39668-8ba2-4312-9da1-dbcd4dc34925",
"39ec583f-d283-42ab-aadc-886771ab5966"
]
},
{
"Id": "08ad62fa-4988-4e67-8dc7-4d906f2b8536",
"UPN": "53d6c985-b754-4ccc-9941-2a89240a5e35",
"PostDate": "2026-01-27T01:08:58.5992029+00:00",
"Comment": "sample string 4",
"CC": [
"80d69b2b-79bf-4d14-9195-8d40462793df",
"364b3a73-02c0-4c7b-a188-f02760366c31"
],
"Users": [
"06f39668-8ba2-4312-9da1-dbcd4dc34925",
"39ec583f-d283-42ab-aadc-886771ab5966"
]
}
],
"StartDate": "2026-01-27T01:08:58.6148312+00:00",
"DueDate": "2026-01-27T01:08:58.6148312+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"39ff86a6-47aa-4b61-a006-6c82457d50c7": "b792ffd5-0d0e-4aef-9562-ea0b992d72c0",
"6af2291d-a99f-4b8b-b174-dc895bd1b624": "d370a8de-846b-4cc5-b363-a514641d5472"
},
"HasUpdates": true,
"Modified": "2026-01-27T01:08:58.6148312+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-01-27T01:08:58.6148312+00:00"
},
"LastComment": "2026-01-27T01:08:58.6148312+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "cdcda4d9-cc72-43b5-8783-261f4f2938ce",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "12c9de83-7012-4459-af85-d8b97991ace9",
"id": "a5589a06-f48b-437d-83cd-7b228d36d7f2",
"ConfigId": "4c0cdf05-88e0-4872-8514-da14812f37b0"
}