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": "fc217f64-a8ad-42d4-be3d-b4a540c51970",
"Name": "sample string 1",
"Created": "2026-02-28T17:13:21.3999906+00:00",
"Modified": "2026-02-28T17:13:21.3999906+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"bf7a6711-5de2-4e3f-900d-ccbfc8400d82",
"045b3bc4-abdf-48c3-baf9-88faa0d106ea"
],
"NonLaborAssignments": [
{
"Id": "c34143aa-3a59-42f5-9558-2147008eff16",
"ResourceId": "f72a86b0-f5f8-4359-b899-0346c2ef4bf4",
"Quantity": 3.0
},
{
"Id": "c34143aa-3a59-42f5-9558-2147008eff16",
"ResourceId": "f72a86b0-f5f8-4359-b899-0346c2ef4bf4",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "468a0ad4-1f52-494c-851a-868cec423353",
"Type": 0,
"ResourceId": "8cd6759a-631e-4ca2-aa88-fd05c611d03a",
"Units": 3.0
},
{
"Id": "468a0ad4-1f52-494c-851a-868cec423353",
"Type": 0,
"ResourceId": "8cd6759a-631e-4ca2-aa88-fd05c611d03a",
"Units": 3.0
}
],
"ParentId": "6b948f6a-55e2-4b84-b857-cb2cc1004650",
"WorkTypeParentId": "dbbdc386-846c-443a-8c75-3542cf23b9a2",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "aaa13ed0-2ff2-4ac3-8781-96b2a2aa27e4",
"UPN": "6192fcc8-82e5-4d1c-8a71-deae61735fad",
"PostDate": "2026-02-28T17:13:21.3999906+00:00",
"Comment": "sample string 4",
"CC": [
"058ef4be-9358-480b-a3cc-f392fa17491e",
"eb338766-6542-432b-ae3f-0132dda51404"
],
"Users": [
"18c57202-ce5e-4cdf-807c-e87deed5e55d",
"72a42529-ba48-49ff-986a-43872cdc817b"
]
},
{
"Id": "aaa13ed0-2ff2-4ac3-8781-96b2a2aa27e4",
"UPN": "6192fcc8-82e5-4d1c-8a71-deae61735fad",
"PostDate": "2026-02-28T17:13:21.3999906+00:00",
"Comment": "sample string 4",
"CC": [
"058ef4be-9358-480b-a3cc-f392fa17491e",
"eb338766-6542-432b-ae3f-0132dda51404"
],
"Users": [
"18c57202-ce5e-4cdf-807c-e87deed5e55d",
"72a42529-ba48-49ff-986a-43872cdc817b"
]
}
],
"StartDate": "2026-02-28T17:13:21.3999906+00:00",
"DueDate": "2026-02-28T17:13:21.3999906+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"61126ff3-b148-4f83-9e58-91d009476808": "e422bde8-9162-47f8-8702-1d2b39b839af",
"89e58193-be96-472c-a75f-0fc5d4e83d9a": "c622966d-d093-448f-9791-f24bcbe775c3"
},
"HasUpdates": true,
"Modified": "2026-02-28T17:13:21.3999906+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-28T17:13:21.3999906+00:00"
},
"LastComment": "2026-02-28T17:13:21.3999906+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "bc183476-2279-4ee9-adae-03c7b5019e9b",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "239757c6-6f35-4992-b6bd-726be01f2da3",
"id": "bb8d9162-8c7f-4397-ba5c-00ca3ca5bced",
"ConfigId": "3873203a-9bb5-4514-a908-46cfdd3e4874"
}