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": "9a72eebe-e13a-41d3-8c62-87e5b2d23ba9",
"Name": "sample string 1",
"Created": "2025-12-21T22:40:09.2508503+00:00",
"Modified": "2025-12-21T22:40:09.2508503+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"31a840ee-3167-47e2-9776-c978f39b1dad",
"eb25ba65-f299-423e-bd0a-417818026c51"
],
"NonLaborAssignments": [
{
"Id": "892de891-42d0-4cc0-a614-448b9cb5955d",
"ResourceId": "c88934d1-d6a6-47f2-afe8-babb11ed5f8a",
"Quantity": 3.0
},
{
"Id": "892de891-42d0-4cc0-a614-448b9cb5955d",
"ResourceId": "c88934d1-d6a6-47f2-afe8-babb11ed5f8a",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "39a94a2b-8e83-4727-bbc1-e2820a1e2ee1",
"Type": 0,
"ResourceId": "d6b37ad9-393b-4697-8213-2e928b7e81d4",
"Units": 3.0
},
{
"Id": "39a94a2b-8e83-4727-bbc1-e2820a1e2ee1",
"Type": 0,
"ResourceId": "d6b37ad9-393b-4697-8213-2e928b7e81d4",
"Units": 3.0
}
],
"ParentId": "51b2b8b9-5b54-4a57-bc2e-e6e3be450753",
"WorkTypeParentId": "1e53d7a3-7f09-48d4-ac21-00e8022707d9",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "71de69f7-34f7-401b-af0e-21106ad8470c",
"UPN": "b400fcd4-a90c-4964-95c7-fcf442a78b31",
"PostDate": "2025-12-21T22:40:09.2508503+00:00",
"Comment": "sample string 4",
"CC": [
"6407963e-427f-4618-9eef-20f299b71c13",
"bab4467e-467c-439f-b862-cef3fe572e78"
],
"Users": [
"11a3ecaf-6ef2-4fb5-b946-d9bafe78f9db",
"63f4e059-4b1b-4a56-a3e1-816b39d1a267"
]
},
{
"Id": "71de69f7-34f7-401b-af0e-21106ad8470c",
"UPN": "b400fcd4-a90c-4964-95c7-fcf442a78b31",
"PostDate": "2025-12-21T22:40:09.2508503+00:00",
"Comment": "sample string 4",
"CC": [
"6407963e-427f-4618-9eef-20f299b71c13",
"bab4467e-467c-439f-b862-cef3fe572e78"
],
"Users": [
"11a3ecaf-6ef2-4fb5-b946-d9bafe78f9db",
"63f4e059-4b1b-4a56-a3e1-816b39d1a267"
]
}
],
"StartDate": "2025-12-21T22:40:09.2508503+00:00",
"DueDate": "2025-12-21T22:40:09.2508503+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"2ee93968-604a-4532-b864-eaf26b766feb": "a0ebb319-60ad-4a8b-b815-a544c3f10873",
"9239f71b-cd04-4033-8c0f-c71913564f1e": "7607441a-27a3-42fc-8116-01590fec468f"
},
"HasUpdates": true,
"Modified": "2025-12-21T22:40:09.2508503+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-12-21T22:40:09.2508503+00:00"
},
"LastComment": "2025-12-21T22:40:09.2508503+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "54a142ee-1880-4048-ab43-73dcf66ac239",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "0cb915ad-a237-40a2-877d-3f292524a7f1",
"id": "a2d6eb56-3f82-433c-9680-95919d9dcb3e",
"ConfigId": "f651998e-f1db-49e8-aaea-6afc27143f01"
}