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. |
|
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": "7a94fe91-b768-409e-b419-e44f08e1faff", "Name": "sample string 1", "Created": "2024-12-18T20:08:12.1540738+00:00", "Modified": "2024-12-18T20:08:12.1540738+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "da86e354-39b3-458e-abb2-c37cf01c8541", "da11c4a2-f652-4707-89b2-afc42eefa786" ], "Assignments": [ { "Id": "5fefcdfb-8c56-479b-879f-a46503f10432", "Type": 0, "ResourceId": "4c302374-66e4-45e5-90e8-4c292d6d70bb", "Units": 3.0 }, { "Id": "5fefcdfb-8c56-479b-879f-a46503f10432", "Type": 0, "ResourceId": "4c302374-66e4-45e5-90e8-4c292d6d70bb", "Units": 3.0 } ], "ParentId": "bbee0754-8d74-4aaa-a167-bc6e79f5cb93", "WorkTypeParentId": "07bab4dd-c3d2-4bd9-94aa-2e116c8b4f7c", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "09c2cc59-2600-45d6-86cc-6f568090c1e0", "UPN": "c737a7e6-a71d-4d0d-9569-c8389a7de945", "PostDate": "2024-12-18T20:08:12.1540738+00:00", "Comment": "sample string 4", "CC": [ "a998aff5-f3af-4d03-84af-148f5ade7ed9", "69a03581-b9a9-4801-80ba-3c4a2d5950a2" ], "Users": [ "63928420-1fbc-4ab2-bdad-4ecb6b71412a", "c7147067-2c1b-40dd-9ad7-d8bbb98fd509" ] }, { "Id": "09c2cc59-2600-45d6-86cc-6f568090c1e0", "UPN": "c737a7e6-a71d-4d0d-9569-c8389a7de945", "PostDate": "2024-12-18T20:08:12.1540738+00:00", "Comment": "sample string 4", "CC": [ "a998aff5-f3af-4d03-84af-148f5ade7ed9", "69a03581-b9a9-4801-80ba-3c4a2d5950a2" ], "Users": [ "63928420-1fbc-4ab2-bdad-4ecb6b71412a", "c7147067-2c1b-40dd-9ad7-d8bbb98fd509" ] } ], "StartDate": "2024-12-18T20:08:12.1540738+00:00", "DueDate": "2024-12-18T20:08:12.1540738+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "b33f2814-4b41-4542-a1cf-1b05e4fa6822": "1a2b23a2-1731-4ae8-8d17-a78a7bfce6b9", "f078de13-03e6-4f82-9064-aeb18bcf3798": "750db68d-668f-43b0-8538-7675f749e13e" }, "HasUpdates": true, "Modified": "2024-12-18T20:08:12.1540738+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": "2024-12-18T20:08:12.1540738+00:00" }, "LastComment": "2024-12-18T20:08:12.1540738+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "a6a78679-76b5-474a-8fb1-1e664f5b46bf", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "a8cb954a-6dc9-4e66-962a-633c4036b2fa", "id": "bdf088a9-3fd8-4804-9464-a68124625db1", "ConfigId": "33a073a5-3cd9-48cc-b656-a1104a9f01ef" }