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": "c7b630e3-e31f-4f7c-907d-23ee0a595e1d",
"Name": "sample string 1",
"Created": "2026-01-12T01:46:26.0784055+00:00",
"Modified": "2026-01-12T01:46:26.0784055+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"4f4fd52a-9947-4d68-84a6-6bdbdaffd23d",
"5aa02386-5a78-4f28-8cd0-dc663d4b0c2b"
],
"NonLaborAssignments": [
{
"Id": "ba13c55e-2126-4e31-af66-08d6ab760209",
"ResourceId": "734f1aa6-5c84-4e46-a786-8eaf0e6f3b69",
"Quantity": 3.0
},
{
"Id": "ba13c55e-2126-4e31-af66-08d6ab760209",
"ResourceId": "734f1aa6-5c84-4e46-a786-8eaf0e6f3b69",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "068e238d-c8e2-4769-a52c-1f4bcaae156b",
"Type": 0,
"ResourceId": "1dc1ad67-27f9-4b46-86ff-e86d3e6bcb4d",
"Units": 3.0
},
{
"Id": "068e238d-c8e2-4769-a52c-1f4bcaae156b",
"Type": 0,
"ResourceId": "1dc1ad67-27f9-4b46-86ff-e86d3e6bcb4d",
"Units": 3.0
}
],
"ParentId": "0f53fdae-5e23-4354-bb8a-1055682bf781",
"WorkTypeParentId": "b721c6e4-2bd9-4889-9609-542ff8e3826a",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "14d882c7-208e-4cb9-ae93-0d565d109197",
"UPN": "0ee1c2fd-34b2-4691-a392-2b16c92e0939",
"PostDate": "2026-01-12T01:46:26.0784055+00:00",
"Comment": "sample string 4",
"CC": [
"40e36bae-4297-4d2b-bf54-fa96377a9975",
"e37094c7-8b1d-491e-9029-a1c403ea255c"
],
"Users": [
"eae73883-1e59-4ce3-a4f5-52c905599ac4",
"77b34488-177d-46b5-9bbf-a8b61922856c"
]
},
{
"Id": "14d882c7-208e-4cb9-ae93-0d565d109197",
"UPN": "0ee1c2fd-34b2-4691-a392-2b16c92e0939",
"PostDate": "2026-01-12T01:46:26.0784055+00:00",
"Comment": "sample string 4",
"CC": [
"40e36bae-4297-4d2b-bf54-fa96377a9975",
"e37094c7-8b1d-491e-9029-a1c403ea255c"
],
"Users": [
"eae73883-1e59-4ce3-a4f5-52c905599ac4",
"77b34488-177d-46b5-9bbf-a8b61922856c"
]
}
],
"StartDate": "2026-01-12T01:46:26.0784055+00:00",
"DueDate": "2026-01-12T01:46:26.0784055+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"497a0968-c294-493d-8dbb-202e6779b803": "176419ff-d1ae-48d7-80c6-dbdab8326fff",
"6a2c3ea6-bf7b-4b30-b015-3f68a6eb4656": "bc36ce6d-b91e-42ba-90e2-0b1bf492e4bd"
},
"HasUpdates": true,
"Modified": "2026-01-12T01:46:26.0784055+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-12T01:46:26.0784055+00:00"
},
"LastComment": "2026-01-12T01:46:26.0784055+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "bc551194-2a77-4109-bd66-57cbf767b72c",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "557b4416-c361-4b16-a67f-5814ffce093e",
"id": "5ca68b85-b360-4d47-b923-fe9c424defc2",
"ConfigId": "a7aa583e-1f49-48c2-b5ef-f177e40d4c92"
}