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. |
|
| LinkedFileIds | Collection of string |
None. |
|
| LinkedLinkIds | Collection of string |
None. |
|
| WorkPlanId | globally unique identifier |
None. |
|
| id | globally unique identifier |
None. |
|
| ConfigId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"WorkTypeId": "d1f6d172-7039-440d-acf2-51e6b9cfd28f",
"Name": "sample string 1",
"Created": "2026-09-06T23:34:00.5396746+00:00",
"Modified": "2026-09-06T23:34:00.5396746+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"1b12e8a4-fe15-40fa-a965-39de6822f151",
"7259a0e3-b2ad-4e30-9a42-4bebd313f93a"
],
"NonLaborAssignments": [
{
"Id": "d3a9f389-ecfb-4210-bc2b-3cffe0f0a126",
"ResourceId": "23d1bb7c-ccc7-4868-a862-a0fccc6ef7b6",
"Quantity": 3.0
},
{
"Id": "d3a9f389-ecfb-4210-bc2b-3cffe0f0a126",
"ResourceId": "23d1bb7c-ccc7-4868-a862-a0fccc6ef7b6",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "b74d9a88-f40f-40da-a676-f270d66b0261",
"Type": 0,
"ResourceId": "aa882771-c79b-4f82-95d7-873f47e442f9",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "631a8266-7e24-4aa7-98a9-53c3d1a2a7b0",
"Start": "2026-09-06T23:34:00.5396746+00:00",
"Due": "2026-09-06T23:34:00.5396746+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "631a8266-7e24-4aa7-98a9-53c3d1a2a7b0",
"Start": "2026-09-06T23:34:00.5396746+00:00",
"Due": "2026-09-06T23:34:00.5396746+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
},
{
"Id": "b74d9a88-f40f-40da-a676-f270d66b0261",
"Type": 0,
"ResourceId": "aa882771-c79b-4f82-95d7-873f47e442f9",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0,
"WorkCurve": "sample string 6",
"Segments": [
{
"Id": "631a8266-7e24-4aa7-98a9-53c3d1a2a7b0",
"Start": "2026-09-06T23:34:00.5396746+00:00",
"Due": "2026-09-06T23:34:00.5396746+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
},
{
"Id": "631a8266-7e24-4aa7-98a9-53c3d1a2a7b0",
"Start": "2026-09-06T23:34:00.5396746+00:00",
"Due": "2026-09-06T23:34:00.5396746+00:00",
"Units": 1.0,
"Effort": 1.0,
"Quantity": 1.0,
"Cost": 1.0
}
]
}
],
"ParentId": "210f1ea9-f13c-4c59-862f-3f143cf49f64",
"WorkTypeParentId": "e7cb75a4-ab57-4ca0-832f-0c23160a9ab1",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "01710d34-f997-45b7-bc3b-34222adcb851",
"UPN": "8ac2807b-b95e-4d67-a948-fb0723a4ab79",
"PostDate": "2026-09-06T23:34:00.5396746+00:00",
"Comment": "sample string 4",
"CC": [
"c5150b7f-71b6-4e70-864b-0f783dc27986",
"6413b907-5f83-46e0-9532-2fdf36c8f26e"
],
"Users": [
"3bad4097-f194-4c9f-8b70-9351494366b8",
"28cbc452-ad6c-48b6-9662-841be13a1474"
]
},
{
"Id": "01710d34-f997-45b7-bc3b-34222adcb851",
"UPN": "8ac2807b-b95e-4d67-a948-fb0723a4ab79",
"PostDate": "2026-09-06T23:34:00.5396746+00:00",
"Comment": "sample string 4",
"CC": [
"c5150b7f-71b6-4e70-864b-0f783dc27986",
"6413b907-5f83-46e0-9532-2fdf36c8f26e"
],
"Users": [
"3bad4097-f194-4c9f-8b70-9351494366b8",
"28cbc452-ad6c-48b6-9662-841be13a1474"
]
}
],
"StartDate": "2026-09-06T23:34:00.5396746+00:00",
"DueDate": "2026-09-06T23:34:00.5396746+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"354ee859-60f2-488c-a524-be342b20942b": "cab07c2e-5cda-4f27-9b83-247ecb0fd754",
"fccba920-5241-437c-957f-678293ecb348": "79f97183-8259-42b4-8bc2-b4457c0cc14c"
},
"HasUpdates": true,
"Modified": "2026-09-06T23:34:00.5396746+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-09-06T23:34:00.5396746+00:00"
},
"LastComment": "2026-09-06T23:34:00.5396746+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "f28f216c-4a81-4862-8978-49cb2cfb71d4",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"LinkedFileIds": [
"sample string 1",
"sample string 2"
],
"LinkedLinkIds": [
"sample string 1",
"sample string 2"
],
"WorkPlanId": "a588c5dd-3fea-4f23-9b9c-c5bcf29ecba4",
"id": "ced2a599-4f07-4357-8c00-ae2385d26655",
"ConfigId": "5da39391-6828-4f5f-a6c8-7aa5498136b0"
}