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": "691338ff-a131-4398-890f-276e28c75486",
"Name": "sample string 1",
"Created": "2026-08-23T22:30:53.4771421+00:00",
"Modified": "2026-08-23T22:30:53.4771421+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"e5f7d9a0-4609-4554-955b-513a4b0eb69e",
"42c841d2-90e9-4651-acaf-74f01a93d12d"
],
"NonLaborAssignments": [
{
"Id": "e6521ce5-b8c8-4d75-94f4-e1b659393b8b",
"ResourceId": "f75c17a6-f262-436a-b70a-61f0eb9f3047",
"Quantity": 3.0
},
{
"Id": "e6521ce5-b8c8-4d75-94f4-e1b659393b8b",
"ResourceId": "f75c17a6-f262-436a-b70a-61f0eb9f3047",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "5f9d0f36-2272-4578-af84-4046afbf30ad",
"Type": 0,
"ResourceId": "fd760257-5bc9-4517-b05c-ca692b30726f",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
},
{
"Id": "5f9d0f36-2272-4578-af84-4046afbf30ad",
"Type": 0,
"ResourceId": "fd760257-5bc9-4517-b05c-ca692b30726f",
"Units": 3.0,
"Quantity": 4.0,
"Cost": 5.0
}
],
"ParentId": "4c1e06d7-8e1b-4024-96f0-d34521e3d5a9",
"WorkTypeParentId": "5b30ab49-2068-41c9-a5df-b9abe5c6cf26",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "1fb26766-68e2-4e35-9c6c-f37bf928a4ee",
"UPN": "7b5a32bd-746b-486f-a148-e25d72fe3ebf",
"PostDate": "2026-08-23T22:30:53.4771421+00:00",
"Comment": "sample string 4",
"CC": [
"408ee875-02b1-4e3c-90ad-17899091fd37",
"acd70d2d-0743-4ddd-a44c-decb0743b9ab"
],
"Users": [
"269eb456-5d94-4d9b-9f06-3631bccce0ba",
"0da60fff-fb76-4aec-a750-a926233458c3"
]
},
{
"Id": "1fb26766-68e2-4e35-9c6c-f37bf928a4ee",
"UPN": "7b5a32bd-746b-486f-a148-e25d72fe3ebf",
"PostDate": "2026-08-23T22:30:53.4771421+00:00",
"Comment": "sample string 4",
"CC": [
"408ee875-02b1-4e3c-90ad-17899091fd37",
"acd70d2d-0743-4ddd-a44c-decb0743b9ab"
],
"Users": [
"269eb456-5d94-4d9b-9f06-3631bccce0ba",
"0da60fff-fb76-4aec-a750-a926233458c3"
]
}
],
"StartDate": "2026-08-23T22:30:53.4771421+00:00",
"DueDate": "2026-08-23T22:30:53.4771421+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"1dbe0021-31a6-456d-8782-5b9c16ca7426": "9a3aeeb7-4706-4edc-af4d-0c408a4cce04",
"a17161dc-43c5-4f6a-a113-5323e274a719": "58b001f6-cb35-467a-bca5-7eb813385f98"
},
"HasUpdates": true,
"Modified": "2026-08-23T22:30:53.4771421+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-08-23T22:30:53.4771421+00:00"
},
"LastComment": "2026-08-23T22:30:53.4771421+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "7d4a0803-f906-4bbf-90ae-4b19703fa962",
"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": "aff3cdd2-4684-4b99-80ee-b4632facf30d",
"id": "71031d92-a2b8-4cf4-90ab-b741d3ba31e6",
"ConfigId": "0400d6b3-83e5-4319-93db-6dd8e7b82972"
}