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": "82a24ee6-cbfe-498b-86c7-9cf0770d7e85",
"Name": "sample string 1",
"Created": "2026-02-05T15:42:18.2047124+00:00",
"Modified": "2026-02-05T15:42:18.2047124+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"2a3367f5-3e90-4840-afcd-970f80a5325a",
"5bd97067-47ab-4180-9bcf-baaf86530ebe"
],
"NonLaborAssignments": [
{
"Id": "d4179609-e0c8-47c9-9787-119dd9030a2d",
"ResourceId": "dd196c5b-ca47-40e3-9b9a-161d364f59b6",
"Quantity": 3.0
},
{
"Id": "d4179609-e0c8-47c9-9787-119dd9030a2d",
"ResourceId": "dd196c5b-ca47-40e3-9b9a-161d364f59b6",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "ceb4a63a-d883-4367-8b38-1f5e3a5647f9",
"Type": 0,
"ResourceId": "d8cbf9f4-0805-4502-87f0-b2b8913ed752",
"Units": 3.0
},
{
"Id": "ceb4a63a-d883-4367-8b38-1f5e3a5647f9",
"Type": 0,
"ResourceId": "d8cbf9f4-0805-4502-87f0-b2b8913ed752",
"Units": 3.0
}
],
"ParentId": "60c74682-7536-4e0b-8f0f-9f7c08a136c2",
"WorkTypeParentId": "927862a8-649c-4e0b-8a31-aca0cd76c27e",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "9dc0213d-affa-483e-9995-af264a2bc409",
"UPN": "7de01e72-fea1-44c7-8eaa-8957eadcdd0a",
"PostDate": "2026-02-05T15:42:18.2047124+00:00",
"Comment": "sample string 4",
"CC": [
"c72b67af-5a44-474f-b208-1b0a19a24a79",
"db2b6ae6-1489-4b14-a3e8-4512a6e13779"
],
"Users": [
"2fe05c8e-f609-44bb-84b2-1b43c9f63eac",
"e0c797c6-37a9-42b0-837a-b967b5560cc4"
]
},
{
"Id": "9dc0213d-affa-483e-9995-af264a2bc409",
"UPN": "7de01e72-fea1-44c7-8eaa-8957eadcdd0a",
"PostDate": "2026-02-05T15:42:18.2047124+00:00",
"Comment": "sample string 4",
"CC": [
"c72b67af-5a44-474f-b208-1b0a19a24a79",
"db2b6ae6-1489-4b14-a3e8-4512a6e13779"
],
"Users": [
"2fe05c8e-f609-44bb-84b2-1b43c9f63eac",
"e0c797c6-37a9-42b0-837a-b967b5560cc4"
]
}
],
"StartDate": "2026-02-05T15:42:18.2047124+00:00",
"DueDate": "2026-02-05T15:42:18.2047124+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8799908b-2cb5-4acd-b9f7-015d0260afc1": "aa040bb0-a7b2-4cb3-8374-2d124e14e4e4",
"f6f0eb57-e89b-4057-9ae6-919bf45054fa": "47bf2d3c-0923-4c0d-b866-b15c31b1e0da"
},
"HasUpdates": true,
"Modified": "2026-02-05T15:42:18.2047124+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-05T15:42:18.2047124+00:00"
},
"LastComment": "2026-02-05T15:42:18.2047124+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "c2bd795d-88b5-4750-80da-4f2eb36a682f",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "fbd438fd-26ac-403a-9298-f1aac4c3fec7",
"id": "ef0aea2f-9279-4582-a742-17e8ef968214",
"ConfigId": "28daede6-80f7-44f9-a6e7-4e8e92d01869"
}