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": "02005742-a4e0-40b8-8601-903c2e1838ea",
"Name": "sample string 1",
"Created": "2026-04-19T04:59:20.5011717+00:00",
"Modified": "2026-04-19T04:59:20.5011717+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"763b32ec-053f-4dd8-a5a1-a9b359b167c2",
"36ca2a29-90ff-4a60-81ea-f4be67f013b6"
],
"NonLaborAssignments": [
{
"Id": "989bde00-ef98-4c4d-babe-d0c97319c3cb",
"ResourceId": "e3f6a6c5-f164-46ad-a2b3-a1db6e11fce0",
"Quantity": 3.0
},
{
"Id": "989bde00-ef98-4c4d-babe-d0c97319c3cb",
"ResourceId": "e3f6a6c5-f164-46ad-a2b3-a1db6e11fce0",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "fc289914-bf4f-4b49-9e15-c2f29d1d6c78",
"Type": 0,
"ResourceId": "78f26d0d-f82e-465c-b147-aaa41ab9f3ed",
"Units": 3.0
},
{
"Id": "fc289914-bf4f-4b49-9e15-c2f29d1d6c78",
"Type": 0,
"ResourceId": "78f26d0d-f82e-465c-b147-aaa41ab9f3ed",
"Units": 3.0
}
],
"ParentId": "5f2dd516-2126-4774-8d04-35baf5d740d6",
"WorkTypeParentId": "2cb97864-b5bb-4541-80d9-6fddfd0a2729",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "df0a37ab-93a8-4329-bb9c-9bba0cda49a5",
"UPN": "a4b51c03-9be3-4352-a6de-2fc2014fc5ff",
"PostDate": "2026-04-19T04:59:20.5011717+00:00",
"Comment": "sample string 4",
"CC": [
"02b08539-b460-450a-ab7b-2ef631dc21b5",
"1ad6f010-48c7-4e57-a501-156a778a761a"
],
"Users": [
"7711cf1f-5a96-40b8-8545-7bd84d032549",
"27544a15-77be-4f13-aa1b-9e67ee8de87f"
]
},
{
"Id": "df0a37ab-93a8-4329-bb9c-9bba0cda49a5",
"UPN": "a4b51c03-9be3-4352-a6de-2fc2014fc5ff",
"PostDate": "2026-04-19T04:59:20.5011717+00:00",
"Comment": "sample string 4",
"CC": [
"02b08539-b460-450a-ab7b-2ef631dc21b5",
"1ad6f010-48c7-4e57-a501-156a778a761a"
],
"Users": [
"7711cf1f-5a96-40b8-8545-7bd84d032549",
"27544a15-77be-4f13-aa1b-9e67ee8de87f"
]
}
],
"StartDate": "2026-04-19T04:59:20.5011717+00:00",
"DueDate": "2026-04-19T04:59:20.5011717+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"dbdbd0ee-c167-42eb-bbbc-a351c792fe9a": "51c55884-64ae-4d9a-b8dc-fe06fa6e6d5b",
"649e5e61-ac9e-432f-96e0-4e6736d74c2a": "39651925-96b9-4b55-b737-1b9f4d80a6cd"
},
"HasUpdates": true,
"Modified": "2026-04-19T04:59:20.5011717+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-04-19T04:59:20.5011717+00:00"
},
"LastComment": "2026-04-19T04:59:20.5011717+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ad522681-b0d4-4545-8821-06c056e517b2",
"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": "d272a886-be76-4929-8dfa-ea002d111f32",
"id": "d4722d59-1156-40f5-a381-6319185b16b8",
"ConfigId": "b65b3763-99ef-46b3-814f-80b880b81d75"
}