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": "d8bf61fc-5a39-4cce-aebd-50e78e37f9c9",
"Name": "sample string 1",
"Created": "2025-11-26T12:29:59.5123733+00:00",
"Modified": "2025-11-26T12:29:59.5123733+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"b9707388-33d5-44ca-ade8-ec996a553c4e",
"b4bd793f-25bc-4335-b798-5d928b5c2d6b"
],
"NonLaborAssignments": [
{
"Id": "75007f55-93c1-49a3-b759-734b20a5a0f6",
"ResourceId": "25a31b84-eab2-4dce-a93b-b3d40f050378",
"Quantity": 3.0
},
{
"Id": "75007f55-93c1-49a3-b759-734b20a5a0f6",
"ResourceId": "25a31b84-eab2-4dce-a93b-b3d40f050378",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "41d30756-4974-4566-9e02-9ce8f1863832",
"Type": 0,
"ResourceId": "ec97d5eb-6278-4761-a9ee-0468a257e953",
"Units": 3.0
},
{
"Id": "41d30756-4974-4566-9e02-9ce8f1863832",
"Type": 0,
"ResourceId": "ec97d5eb-6278-4761-a9ee-0468a257e953",
"Units": 3.0
}
],
"ParentId": "d98432b3-5e0e-4b6a-8102-040f6ebbdeb7",
"WorkTypeParentId": "13cf6358-f713-4ee4-9ff7-6bf4c5dc0355",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "2c9053ca-961a-443f-bb75-ba22754b265f",
"UPN": "01d648ae-8b37-4ca2-9b49-f46da53f2093",
"PostDate": "2025-11-26T12:29:59.5123733+00:00",
"Comment": "sample string 4",
"CC": [
"93ad7c61-9150-4578-89a2-4d5f9e094646",
"a913f85a-6d13-4e40-b901-f6b8f02e8ac1"
],
"Users": [
"15a70794-08a4-4af1-871b-16041fdfe9b5",
"2811a357-2fa5-44e1-bec4-e4580b0143b1"
]
},
{
"Id": "2c9053ca-961a-443f-bb75-ba22754b265f",
"UPN": "01d648ae-8b37-4ca2-9b49-f46da53f2093",
"PostDate": "2025-11-26T12:29:59.5123733+00:00",
"Comment": "sample string 4",
"CC": [
"93ad7c61-9150-4578-89a2-4d5f9e094646",
"a913f85a-6d13-4e40-b901-f6b8f02e8ac1"
],
"Users": [
"15a70794-08a4-4af1-871b-16041fdfe9b5",
"2811a357-2fa5-44e1-bec4-e4580b0143b1"
]
}
],
"StartDate": "2025-11-26T12:29:59.5123733+00:00",
"DueDate": "2025-11-26T12:29:59.5123733+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"bf29511e-2c27-4c04-9f4a-5066711ed74f": "46637dc6-f77c-4589-94da-8b27201d6318",
"cb8866b0-3aad-46e8-890e-eb7142413e0c": "4e12ec7f-f24f-41d1-a7f3-a5f04372bb82"
},
"HasUpdates": true,
"Modified": "2025-11-26T12:29:59.5123733+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": "2025-11-26T12:29:59.5123733+00:00"
},
"LastComment": "2025-11-26T12:29:59.5123733+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ac2fe4fb-17a4-4f9f-a9b3-bf4720b40418",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "9334a5ed-7130-486f-80b6-bd042ff6251c",
"id": "f3307f63-3f19-4072-9bde-429f258fa607",
"ConfigId": "d9d5a1bc-4a36-436f-bd9e-d42012089a16"
}