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": "b21cf5e9-0f67-4b46-9c7e-770e2067e337",
"Name": "sample string 1",
"Created": "2025-12-17T17:51:33.396863+00:00",
"Modified": "2025-12-17T17:51:33.396863+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"c947c68c-789a-47b2-9e2f-a1ee464d5b45",
"89fe8044-3b9f-4a9f-8d23-7ef329998589"
],
"NonLaborAssignments": [
{
"Id": "d7b3adc4-ddaa-485b-b581-5b2c8c58dcbc",
"ResourceId": "a37de441-d0ad-4d26-8f9d-dd7247d5b292",
"Quantity": 3.0
},
{
"Id": "d7b3adc4-ddaa-485b-b581-5b2c8c58dcbc",
"ResourceId": "a37de441-d0ad-4d26-8f9d-dd7247d5b292",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "2d1035c1-2c89-4c48-883b-f201449437ad",
"Type": 0,
"ResourceId": "c01732fc-e353-46a7-9069-3bf4466449a6",
"Units": 3.0
},
{
"Id": "2d1035c1-2c89-4c48-883b-f201449437ad",
"Type": 0,
"ResourceId": "c01732fc-e353-46a7-9069-3bf4466449a6",
"Units": 3.0
}
],
"ParentId": "a789e4c4-49f6-4084-a965-e25616ffe347",
"WorkTypeParentId": "4714948b-dd0c-4bd9-a1aa-e4a45c16c5f4",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "624eeab2-d13b-47db-9231-85f3b7a30fea",
"UPN": "7c2b0aec-6b30-401b-b98e-80d7904bb19c",
"PostDate": "2025-12-17T17:51:33.396863+00:00",
"Comment": "sample string 4",
"CC": [
"2aa21944-664e-44b0-bf07-bffe6f64cebf",
"701b94f5-e816-40bd-ad09-857ad642ea71"
],
"Users": [
"84c92cc8-55a9-4bcf-b1d8-fcfc6e863d97",
"b59231ec-f919-4d15-9c95-7c503bad16a9"
]
},
{
"Id": "624eeab2-d13b-47db-9231-85f3b7a30fea",
"UPN": "7c2b0aec-6b30-401b-b98e-80d7904bb19c",
"PostDate": "2025-12-17T17:51:33.396863+00:00",
"Comment": "sample string 4",
"CC": [
"2aa21944-664e-44b0-bf07-bffe6f64cebf",
"701b94f5-e816-40bd-ad09-857ad642ea71"
],
"Users": [
"84c92cc8-55a9-4bcf-b1d8-fcfc6e863d97",
"b59231ec-f919-4d15-9c95-7c503bad16a9"
]
}
],
"StartDate": "2025-12-17T17:51:33.396863+00:00",
"DueDate": "2025-12-17T17:51:33.396863+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"9ee4532d-bd11-4677-a7ce-c4ace14634b3": "c1764ba0-acc2-4669-a791-1a953f8d16d9",
"e2788578-74bf-4ab7-bedd-decb548dd572": "4bedcd0b-3a6e-409b-9fcc-f93e37ef425c"
},
"HasUpdates": true,
"Modified": "2025-12-17T17:51:33.396863+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-17T17:51:33.396863+00:00"
},
"LastComment": "2025-12-17T17:51:33.396863+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "eba0e669-cf2a-4c72-9c94-93adbdeeaa99",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "6506c4c9-7ee7-40d1-b30a-d9bae6f8f89e",
"id": "cd23879a-de60-4475-a5a6-47738050b5aa",
"ConfigId": "40e2483f-cf70-49d1-9b25-0699c9226cb6"
}