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": "c8b7dd91-6f49-462f-a63a-1f015b845698",
"Name": "sample string 1",
"Created": "2025-12-13T06:43:00.1917539+00:00",
"Modified": "2025-12-13T06:43:00.1917539+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"82498e02-727a-495b-96e7-37f5488b84c3",
"2edd39de-ca8e-496e-82f1-303d32d2ad4c"
],
"NonLaborAssignments": [
{
"Id": "37ade750-628e-4018-8008-9ffa4e8091c2",
"ResourceId": "1f98f7ff-511a-4f3c-9c98-92636854ed41",
"Quantity": 3.0
},
{
"Id": "37ade750-628e-4018-8008-9ffa4e8091c2",
"ResourceId": "1f98f7ff-511a-4f3c-9c98-92636854ed41",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "e4b869e9-2418-44ec-90c1-7d208b95ac33",
"Type": 0,
"ResourceId": "5a906d28-4505-4489-b13f-8a8c0b8964f1",
"Units": 3.0
},
{
"Id": "e4b869e9-2418-44ec-90c1-7d208b95ac33",
"Type": 0,
"ResourceId": "5a906d28-4505-4489-b13f-8a8c0b8964f1",
"Units": 3.0
}
],
"ParentId": "5a008a74-9f6a-440e-bf06-f564d8608f13",
"WorkTypeParentId": "9591ba29-a269-4043-ac53-7fcb4943708c",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "b5ebbebc-b4f5-40b0-b763-f090a36ea79a",
"UPN": "baf8df98-8182-423a-b984-63a3adc0ae9c",
"PostDate": "2025-12-13T06:43:00.1917539+00:00",
"Comment": "sample string 4",
"CC": [
"de9b014a-b455-476a-8b06-2a0f455581e8",
"e6083961-192c-41ae-88eb-5076eaf68315"
],
"Users": [
"63bf55b9-984b-442f-8a28-21978bfecdc2",
"ad457d2f-6290-4f6b-932d-3b32ac2d743b"
]
},
{
"Id": "b5ebbebc-b4f5-40b0-b763-f090a36ea79a",
"UPN": "baf8df98-8182-423a-b984-63a3adc0ae9c",
"PostDate": "2025-12-13T06:43:00.1917539+00:00",
"Comment": "sample string 4",
"CC": [
"de9b014a-b455-476a-8b06-2a0f455581e8",
"e6083961-192c-41ae-88eb-5076eaf68315"
],
"Users": [
"63bf55b9-984b-442f-8a28-21978bfecdc2",
"ad457d2f-6290-4f6b-932d-3b32ac2d743b"
]
}
],
"StartDate": "2025-12-13T06:43:00.1917539+00:00",
"DueDate": "2025-12-13T06:43:00.1917539+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"440f8b82-2eec-4c21-8006-bcda4e5cdcaf": "76b5ec5c-24a4-4773-a0b3-66ce0d2d9a2c",
"96cf1db4-28bc-4230-a2cc-e6095d76a64a": "525d4108-1b95-46ef-bbf0-33e3a98f65b5"
},
"HasUpdates": true,
"Modified": "2025-12-13T06:43:00.1917539+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-13T06:43:00.1917539+00:00"
},
"LastComment": "2025-12-13T06:43:00.1917539+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "1610ce29-78a6-4a17-9a92-8ccfdf975432",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "5952cf7a-4f6b-4aed-b22d-cd5e55850f5a",
"id": "47480132-da6b-4dd9-a7ff-07acd363676e",
"ConfigId": "9c7e7e56-4530-45d1-8bd2-b3437a6ff643"
}