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
WorkPlanTaskName | 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": "84a2058d-ea75-4561-a632-9f36ed795c4b", "Name": "sample string 1", "Created": "2025-09-03T18:12:29.5267698+00:00", "Modified": "2025-09-03T18:12:29.5267698+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "0fb52675-718d-42fb-8584-f1719047664e", "597e9e69-6ef8-41c0-87ec-ea232110abf6" ], "NonLaborAssignments": [ { "Id": "2a055440-e1fe-45be-9595-f4503961e3ca", "ResourceId": "0e7b3fc6-3ccc-47af-9fab-a6f979112c24", "Quantity": 3.0 }, { "Id": "2a055440-e1fe-45be-9595-f4503961e3ca", "ResourceId": "0e7b3fc6-3ccc-47af-9fab-a6f979112c24", "Quantity": 3.0 } ], "Assignments": [ { "Id": "a968666f-2e9a-440c-b326-6c2abe3a4e55", "Type": 0, "ResourceId": "f0f31b3b-64e8-4ee5-b049-efd0b10add19", "Units": 3.0 }, { "Id": "a968666f-2e9a-440c-b326-6c2abe3a4e55", "Type": 0, "ResourceId": "f0f31b3b-64e8-4ee5-b049-efd0b10add19", "Units": 3.0 } ], "ParentId": "d292e123-4fac-41d5-a10a-56e9e01962d2", "WorkTypeParentId": "3f0d9ee3-08f8-483c-92d8-cd4f51d70242", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "d19cc193-33b5-4167-a1f7-e7fad8671196", "UPN": "ad2a17cf-fefe-4b2b-9bec-3652179e09ed", "PostDate": "2025-09-03T18:12:29.5267698+00:00", "Comment": "sample string 4", "CC": [ "ea434821-3286-46fc-b5b2-0d82022c74d3", "2285e994-9a91-4fb4-a62e-21699a5c43ab" ], "Users": [ "beabba8a-2534-46d4-ad82-bdbd48bc9cd9", "aaa68c71-fe0c-40fd-a59f-9c717c781cf8" ] }, { "Id": "d19cc193-33b5-4167-a1f7-e7fad8671196", "UPN": "ad2a17cf-fefe-4b2b-9bec-3652179e09ed", "PostDate": "2025-09-03T18:12:29.5267698+00:00", "Comment": "sample string 4", "CC": [ "ea434821-3286-46fc-b5b2-0d82022c74d3", "2285e994-9a91-4fb4-a62e-21699a5c43ab" ], "Users": [ "beabba8a-2534-46d4-ad82-bdbd48bc9cd9", "aaa68c71-fe0c-40fd-a59f-9c717c781cf8" ] } ], "StartDate": "2025-09-03T18:12:29.5267698+00:00", "DueDate": "2025-09-03T18:12:29.5267698+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "9be6cd4d-19dc-4889-bee0-6ffd2ecabd3c": "bcabfb50-ee81-439c-adb8-13b6af3bbe1a", "82d5ca65-901a-413c-a9c2-428edbccf11e": "60156d06-01b4-410b-b6e7-eecb32e0a515" }, "HasUpdates": true, "Modified": "2025-09-03T18:12:29.5267698+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-09-03T18:12:29.5267698+00:00" }, "LastComment": "2025-09-03T18:12:29.5267698+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "b113469c-296f-44fd-aee4-6f356e62498d", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "deff1008-a0f5-4b3f-b191-8bbf9f4d68dd", "id": "6fe1df9a-e5bd-49cc-879e-e3b3c31a2ff4", "ConfigId": "7cd00d84-2ec2-4f0c-ada2-bb84197277bb" }