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": "472c8b9d-86b7-48bc-9295-221aeb46ae72",
"Name": "sample string 1",
"Created": "2025-11-08T03:03:33.3748088+00:00",
"Modified": "2025-11-08T03:03:33.3748088+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"acd1c5d7-0e52-45f6-b97d-107f1449e7c8",
"f2b1eb77-74a3-4a67-bd7c-378869b9fd3f"
],
"NonLaborAssignments": [
{
"Id": "3f8c1eb0-3d51-4f0d-b6af-c940ec69a586",
"ResourceId": "c72d7a28-1c7e-49e3-b92d-41422c645cf1",
"Quantity": 3.0
},
{
"Id": "3f8c1eb0-3d51-4f0d-b6af-c940ec69a586",
"ResourceId": "c72d7a28-1c7e-49e3-b92d-41422c645cf1",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "cfc5e649-1106-4051-b3d3-3323eed67aa9",
"Type": 0,
"ResourceId": "a6a33d26-51c0-4584-8503-af43ba418e8a",
"Units": 3.0
},
{
"Id": "cfc5e649-1106-4051-b3d3-3323eed67aa9",
"Type": 0,
"ResourceId": "a6a33d26-51c0-4584-8503-af43ba418e8a",
"Units": 3.0
}
],
"ParentId": "5545a204-9b46-414d-997e-6b7dc27208fe",
"WorkTypeParentId": "cd8973d8-b947-4431-8e0e-da6ef386fe02",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "a0b0fa8c-41b8-41e0-91bc-545299c869ce",
"UPN": "676be412-6c5e-4aed-9e21-e9a9b7c235da",
"PostDate": "2025-11-08T03:03:33.3748088+00:00",
"Comment": "sample string 4",
"CC": [
"35735e95-2c95-435d-8b27-9ed58f25d301",
"b3a0788b-4684-46fe-9c91-4d2d457d26d8"
],
"Users": [
"9e768227-4325-49fa-bd9d-be6dc7ae1d96",
"415cd3d0-7ac7-4e31-b8b8-317827af0eb0"
]
},
{
"Id": "a0b0fa8c-41b8-41e0-91bc-545299c869ce",
"UPN": "676be412-6c5e-4aed-9e21-e9a9b7c235da",
"PostDate": "2025-11-08T03:03:33.3748088+00:00",
"Comment": "sample string 4",
"CC": [
"35735e95-2c95-435d-8b27-9ed58f25d301",
"b3a0788b-4684-46fe-9c91-4d2d457d26d8"
],
"Users": [
"9e768227-4325-49fa-bd9d-be6dc7ae1d96",
"415cd3d0-7ac7-4e31-b8b8-317827af0eb0"
]
}
],
"StartDate": "2025-11-08T03:03:33.3748088+00:00",
"DueDate": "2025-11-08T03:03:33.3748088+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"13df5608-c3ed-4989-83b8-fc07fc779e1a": "2ae10f35-9d23-487a-b0da-71686bf06009",
"3467d039-93d5-4705-942f-b7f67c43f988": "5945ec04-2949-42c2-b00e-13469d597141"
},
"HasUpdates": true,
"Modified": "2025-11-08T03:03:33.3748088+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-08T03:03:33.3748088+00:00"
},
"LastComment": "2025-11-08T03:03:33.3748088+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "27e37d3b-464a-4885-ab35-7e702bdffaa7",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "c5786acd-3629-466e-8a67-57fb715aeeac",
"id": "db4bcaf6-c963-4214-821f-9be5cd81dede",
"ConfigId": "85c06755-03f7-495e-8d68-d0d74b7fc442"
}