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": "f2804170-9a75-49dc-8b67-2057bfbe442c",
"Name": "sample string 1",
"Created": "2025-11-29T13:13:14.9815285+00:00",
"Modified": "2025-11-29T13:13:14.9815285+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"9aaf142e-ae01-44d2-8cf3-b0667b1076b9",
"c949b44b-871a-48fb-9be9-6465022e61e7"
],
"NonLaborAssignments": [
{
"Id": "111727be-8196-4aa6-89dd-96aa3c614ff3",
"ResourceId": "bf24a3fb-75da-4408-acb2-5c6f9d3cbd27",
"Quantity": 3.0
},
{
"Id": "111727be-8196-4aa6-89dd-96aa3c614ff3",
"ResourceId": "bf24a3fb-75da-4408-acb2-5c6f9d3cbd27",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "bed3565d-a030-43ce-96e0-7dda119c4d97",
"Type": 0,
"ResourceId": "66675e24-2385-41af-b38e-326def32525d",
"Units": 3.0
},
{
"Id": "bed3565d-a030-43ce-96e0-7dda119c4d97",
"Type": 0,
"ResourceId": "66675e24-2385-41af-b38e-326def32525d",
"Units": 3.0
}
],
"ParentId": "c58684bc-f488-487b-8c0b-ef8bb18138ed",
"WorkTypeParentId": "bee07782-1f7f-486c-b77f-cb5573bd799b",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "e44bbf26-00bb-45e6-b1e5-08f5c14a10b9",
"UPN": "161398ff-499e-468d-acbd-34266ad7edb3",
"PostDate": "2025-11-29T13:13:14.9815285+00:00",
"Comment": "sample string 4",
"CC": [
"1aaaa0bc-4a63-4f0c-9777-922a4ce307db",
"b9223adf-c60c-4d55-824e-dfa9d94a1f0e"
],
"Users": [
"4df28668-4430-4458-bade-0fd88e559ffc",
"2c3d65db-ab52-4a90-85df-5c095620afdc"
]
},
{
"Id": "e44bbf26-00bb-45e6-b1e5-08f5c14a10b9",
"UPN": "161398ff-499e-468d-acbd-34266ad7edb3",
"PostDate": "2025-11-29T13:13:14.9815285+00:00",
"Comment": "sample string 4",
"CC": [
"1aaaa0bc-4a63-4f0c-9777-922a4ce307db",
"b9223adf-c60c-4d55-824e-dfa9d94a1f0e"
],
"Users": [
"4df28668-4430-4458-bade-0fd88e559ffc",
"2c3d65db-ab52-4a90-85df-5c095620afdc"
]
}
],
"StartDate": "2025-11-29T13:13:14.9815285+00:00",
"DueDate": "2025-11-29T13:13:14.9815285+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"4c69f10e-cba8-453f-bb54-d32a2ebc9733": "1201ede9-e7bb-458b-8caa-33303bc2202f",
"effd4a81-bbb0-4a88-88db-6d63a7ad83ea": "3c5aa0fe-3c6f-4d5d-948e-fafceeb5d1d7"
},
"HasUpdates": true,
"Modified": "2025-11-29T13:13:14.9815285+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-11-29T13:13:14.9815285+00:00"
},
"LastComment": "2025-11-29T13:13:14.9815285+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "0e6adb42-f31c-440c-a09e-fa05dfb04b26",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "d4a76adc-f907-40d6-9bd3-ed8a6b5c9f9d",
"id": "55ce88b2-ca75-4beb-8555-3821c0942161",
"ConfigId": "adc040a9-32d9-4328-a324-e8e05726aba6"
}