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": "8c6bebbc-879d-47e1-94b9-b51d1fc6308d", "Name": "sample string 1", "Created": "2025-07-08T18:41:49.3554314+00:00", "Modified": "2025-07-08T18:41:49.3554314+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "21d7b7aa-40de-4b2f-a110-9c7b0159c4a4", "fa114bb8-52dc-4df0-a8e3-d4fbe8ad09f6" ], "NonLaborAssignments": [ { "Id": "1b29084b-3bb6-46d3-9c43-010b5109fb79", "ResourceId": "0a22d453-8513-43bc-990e-763eef7ee64b", "Quantity": 3.0 }, { "Id": "1b29084b-3bb6-46d3-9c43-010b5109fb79", "ResourceId": "0a22d453-8513-43bc-990e-763eef7ee64b", "Quantity": 3.0 } ], "Assignments": [ { "Id": "030e4552-6cc6-4333-a3a4-d04db0c5700a", "Type": 0, "ResourceId": "43da937b-e97f-4b3a-9086-fdd9f448c608", "Units": 3.0 }, { "Id": "030e4552-6cc6-4333-a3a4-d04db0c5700a", "Type": 0, "ResourceId": "43da937b-e97f-4b3a-9086-fdd9f448c608", "Units": 3.0 } ], "ParentId": "db074c93-f473-4523-97ab-f808f7855664", "WorkTypeParentId": "ac3fbdac-4ea5-4f0a-97d2-c4c8c52e36e6", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "7b5faf8a-a693-428e-96bb-9e60dc00b5c8", "UPN": "fd207169-231b-490d-98cf-3b085f6af70f", "PostDate": "2025-07-08T18:41:49.3554314+00:00", "Comment": "sample string 4", "CC": [ "cefb0451-f3a5-404f-ae93-327aa67be986", "984831b2-e5a2-4135-bc8f-67205cb2d5ad" ], "Users": [ "b2156323-611b-4b14-8a2a-bf2b27c991f6", "fa470f43-a8ff-41f8-ad90-e361224570cc" ] }, { "Id": "7b5faf8a-a693-428e-96bb-9e60dc00b5c8", "UPN": "fd207169-231b-490d-98cf-3b085f6af70f", "PostDate": "2025-07-08T18:41:49.3554314+00:00", "Comment": "sample string 4", "CC": [ "cefb0451-f3a5-404f-ae93-327aa67be986", "984831b2-e5a2-4135-bc8f-67205cb2d5ad" ], "Users": [ "b2156323-611b-4b14-8a2a-bf2b27c991f6", "fa470f43-a8ff-41f8-ad90-e361224570cc" ] } ], "StartDate": "2025-07-08T18:41:49.3554314+00:00", "DueDate": "2025-07-08T18:41:49.3554314+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "3864535f-0af6-4129-98b3-3a0205b31a4c": "62bd0a9e-7e35-4514-8571-487e52f89572", "f6679f0b-1611-4f27-a027-1fa0318a97d9": "287b1528-09be-436a-a604-8e25b0d487c8" }, "HasUpdates": true, "Modified": "2025-07-08T18:41:49.3554314+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-07-08T18:41:49.3554314+00:00" }, "LastComment": "2025-07-08T18:41:49.3554314+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "a42f50d2-7ddf-4f6a-9d89-26db90533ec9", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "02662abd-3767-4b10-954d-1affcef9f70b", "id": "a80b21c9-6fc1-4cdf-8855-9d5ed79b613a", "ConfigId": "1a68a082-0915-4e05-b4b2-75d919de2cb4" }