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": "49659cc7-513f-47a4-b31a-346a52016038",
"Name": "sample string 1",
"Created": "2026-03-18T16:24:38.0060643+00:00",
"Modified": "2026-03-18T16:24:38.0060643+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"11ddf8f4-453f-4798-a44a-38ad6679b36b",
"bf20a26d-a7d1-42f4-a69f-c79bd6a64970"
],
"NonLaborAssignments": [
{
"Id": "3d4c6fdb-d6bc-49e1-a72d-8b48b296ef53",
"ResourceId": "3da55d64-fbaa-4643-9b43-5d4f30e9b6ee",
"Quantity": 3.0
},
{
"Id": "3d4c6fdb-d6bc-49e1-a72d-8b48b296ef53",
"ResourceId": "3da55d64-fbaa-4643-9b43-5d4f30e9b6ee",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "1bfa9571-eef5-47af-94ae-5cf6e595ec56",
"Type": 0,
"ResourceId": "53008ed6-ca88-4fc5-b8f2-3676bea62479",
"Units": 3.0
},
{
"Id": "1bfa9571-eef5-47af-94ae-5cf6e595ec56",
"Type": 0,
"ResourceId": "53008ed6-ca88-4fc5-b8f2-3676bea62479",
"Units": 3.0
}
],
"ParentId": "b8a91824-69b4-4706-ba13-85031f7cc98f",
"WorkTypeParentId": "cb20f7eb-3029-43ec-8123-abef388359e7",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "0c287da1-5cb3-4100-8422-f2dbbccae922",
"UPN": "8468db82-11de-4590-a215-931c2b14a728",
"PostDate": "2026-03-18T16:24:38.0060643+00:00",
"Comment": "sample string 4",
"CC": [
"4df57371-713c-4e1a-ada0-325c353abbc5",
"835e3627-fb16-43ca-88ca-1a2aee50db58"
],
"Users": [
"85802742-804e-4959-b810-24e2f7337da5",
"7e971606-8695-4811-af32-d86b81b02fb8"
]
},
{
"Id": "0c287da1-5cb3-4100-8422-f2dbbccae922",
"UPN": "8468db82-11de-4590-a215-931c2b14a728",
"PostDate": "2026-03-18T16:24:38.0060643+00:00",
"Comment": "sample string 4",
"CC": [
"4df57371-713c-4e1a-ada0-325c353abbc5",
"835e3627-fb16-43ca-88ca-1a2aee50db58"
],
"Users": [
"85802742-804e-4959-b810-24e2f7337da5",
"7e971606-8695-4811-af32-d86b81b02fb8"
]
}
],
"StartDate": "2026-03-18T16:24:38.0060643+00:00",
"DueDate": "2026-03-18T16:24:38.0060643+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"eac89df0-194c-4272-8ec1-81a65417140b": "c7603b64-4930-4eb3-adf3-b43f8bd1cffc",
"2e1b1197-7e05-4f03-a8bd-bfd1d53d4da0": "3b3014b1-2595-454f-bb3a-1f341168fb59"
},
"HasUpdates": true,
"Modified": "2026-03-18T16:24:38.0060643+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-18T16:24:38.0060643+00:00"
},
"LastComment": "2026-03-18T16:24:38.0060643+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "57b604f4-d97b-41de-86c3-e10a5d88cab1",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "3d1c2219-a217-4e8c-947d-d0dfac3cc615",
"id": "2604e146-7721-49ff-bca7-6f41ff9c8084",
"ConfigId": "3bf75f8b-35bc-4662-aaaa-97a138d4f6a0"
}