POST api/mywork/{id}
Update my work task
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
Dictionary of string [key] and Object [value]Request Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
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": "3e7046fa-5ec1-45a3-ad51-d25b4a6a8a70",
"Name": "sample string 1",
"Created": "2025-12-20T19:32:53.9555705+00:00",
"Modified": "2025-12-20T19:32:53.9555705+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"cabf055a-5c70-4ae9-a219-3ec96ed4a2bb",
"cfb11480-85dc-40a5-8a66-a34bc52af0cb"
],
"NonLaborAssignments": [
{
"Id": "db74b685-44c4-4a30-bb81-0c16947f3903",
"ResourceId": "780ce44e-2890-45af-a1ff-ae67dd2bb988",
"Quantity": 3.0
},
{
"Id": "db74b685-44c4-4a30-bb81-0c16947f3903",
"ResourceId": "780ce44e-2890-45af-a1ff-ae67dd2bb988",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "cc8f8670-9c42-4576-be4e-831195186996",
"Type": 0,
"ResourceId": "47a87498-84f0-47a3-a482-2bd6b071858f",
"Units": 3.0
},
{
"Id": "cc8f8670-9c42-4576-be4e-831195186996",
"Type": 0,
"ResourceId": "47a87498-84f0-47a3-a482-2bd6b071858f",
"Units": 3.0
}
],
"ParentId": "2ed6e9fc-54ac-4149-bd00-d4c2ad1c82f7",
"WorkTypeParentId": "ffab1bb7-945a-46f2-96d3-c1191dd0e71e",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "3ed9b703-351a-47e0-b22c-f745dc7d617b",
"UPN": "4ff0371b-671b-460b-aba7-10dac29bc395",
"PostDate": "2025-12-20T19:32:53.9555705+00:00",
"Comment": "sample string 4",
"CC": [
"17705393-0f83-47de-ac04-ea7e683748aa",
"2e3d626e-8e48-4191-b24d-d57c76ff5d2d"
],
"Users": [
"537822d4-b912-4d67-8e10-638520e26729",
"74d8bcb8-5119-4f7b-bacb-ec908a451d23"
]
},
{
"Id": "3ed9b703-351a-47e0-b22c-f745dc7d617b",
"UPN": "4ff0371b-671b-460b-aba7-10dac29bc395",
"PostDate": "2025-12-20T19:32:53.9555705+00:00",
"Comment": "sample string 4",
"CC": [
"17705393-0f83-47de-ac04-ea7e683748aa",
"2e3d626e-8e48-4191-b24d-d57c76ff5d2d"
],
"Users": [
"537822d4-b912-4d67-8e10-638520e26729",
"74d8bcb8-5119-4f7b-bacb-ec908a451d23"
]
}
],
"StartDate": "2025-12-20T19:32:53.9555705+00:00",
"DueDate": "2025-12-20T19:32:53.9555705+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"81512b49-30a5-450d-9350-2acd58b95f39": "df2048cc-1cd7-4996-b3fc-735433ff665c",
"3a7a3afe-1b44-462d-977e-793efbf93a8c": "b40c162d-efaa-4102-affd-4b9e87c53800"
},
"HasUpdates": true,
"Modified": "2025-12-20T19:32:53.9555705+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-20T19:32:53.9555705+00:00"
},
"LastComment": "2025-12-20T19:32:53.9555705+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "13c588a2-3fb8-498c-b3cf-bf198b551d4c",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "8ba940bd-49fa-42da-b6eb-05d8b1d20f41",
"id": "98e8a8c2-8ae5-45fa-aefe-92f5c4de47f0",
"ConfigId": "2671c8ff-5c5a-4538-a446-a84b2ba1b7c2"
}