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": "4c896fa9-908e-4187-b54c-27f64668ff7c", "Name": "sample string 1", "Created": "2025-07-16T12:21:47.7124738+00:00", "Modified": "2025-07-16T12:21:47.7124738+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "2d9d5bd4-e3fe-43d4-8f2a-38f73dbb2499", "fe0ebc50-7ddb-4ede-93a2-7b53f4598b13" ], "NonLaborAssignments": [ { "Id": "16edddac-dc57-41cd-97dc-9988d1c645f6", "ResourceId": "65f610b6-caaa-49af-b264-a1cb5f77c71a", "Quantity": 3.0 }, { "Id": "16edddac-dc57-41cd-97dc-9988d1c645f6", "ResourceId": "65f610b6-caaa-49af-b264-a1cb5f77c71a", "Quantity": 3.0 } ], "Assignments": [ { "Id": "14a0e073-3716-427c-8453-a7cf1774134a", "Type": 0, "ResourceId": "95ceab65-0e76-4869-bb0c-533770ec67d7", "Units": 3.0 }, { "Id": "14a0e073-3716-427c-8453-a7cf1774134a", "Type": 0, "ResourceId": "95ceab65-0e76-4869-bb0c-533770ec67d7", "Units": 3.0 } ], "ParentId": "0b838a0e-bbdc-4774-840a-1729446befdd", "WorkTypeParentId": "d9535078-1e3d-48d7-bc1a-e01a1698e682", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "eabc7852-cf13-4306-a771-beafe0a4a020", "UPN": "f954505b-3d2b-40da-a1f0-a6d5fedd5dc5", "PostDate": "2025-07-16T12:21:47.7124738+00:00", "Comment": "sample string 4", "CC": [ "2c58a583-bc85-463a-8d66-596f1dbdbf16", "36bbb71c-719c-4db6-b19a-cac6683a4673" ], "Users": [ "41b4978e-e3a4-4d50-bf79-838844b02a34", "0e868ad8-f914-4f1d-8a40-37ce831f50cd" ] }, { "Id": "eabc7852-cf13-4306-a771-beafe0a4a020", "UPN": "f954505b-3d2b-40da-a1f0-a6d5fedd5dc5", "PostDate": "2025-07-16T12:21:47.7124738+00:00", "Comment": "sample string 4", "CC": [ "2c58a583-bc85-463a-8d66-596f1dbdbf16", "36bbb71c-719c-4db6-b19a-cac6683a4673" ], "Users": [ "41b4978e-e3a4-4d50-bf79-838844b02a34", "0e868ad8-f914-4f1d-8a40-37ce831f50cd" ] } ], "StartDate": "2025-07-16T12:21:47.7124738+00:00", "DueDate": "2025-07-16T12:21:47.7124738+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "8f195912-8407-4634-b88c-58d357fd5b59": "6cadf5e4-3387-4a48-90b0-36c49a235f4f", "b6e489ae-98fc-491c-b2e4-9bfc18e94b21": "5bcb9b32-1e1e-461c-aa6f-9d878ac07b85" }, "HasUpdates": true, "Modified": "2025-07-16T12:21:47.7124738+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-16T12:21:47.7124738+00:00" }, "LastComment": "2025-07-16T12:21:47.7124738+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "23b52189-a4e2-4d57-9bf8-ff8c4e6f8224", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "2c967920-56d6-41a7-816a-ecc04bda7df8", "id": "16d93a05-36c1-4b27-becf-9d4f396663c4", "ConfigId": "ba7b13f2-f99a-4f4b-9419-61955b6f093c" }