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": "13a54e89-5a24-4673-9190-4969f0807c66", "Name": "sample string 1", "Created": "2025-07-09T07:11:35.3720758+00:00", "Modified": "2025-07-09T07:11:35.3720758+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "c10c9cba-b341-4e09-ad31-c672157cac06", "dfb744ae-b48d-4662-920e-62b2106377f9" ], "NonLaborAssignments": [ { "Id": "52f9f56b-cb38-4132-9fa7-979c94b2fbe4", "ResourceId": "e57942af-39fa-4612-8e35-3fd88c144649", "Quantity": 3.0 }, { "Id": "52f9f56b-cb38-4132-9fa7-979c94b2fbe4", "ResourceId": "e57942af-39fa-4612-8e35-3fd88c144649", "Quantity": 3.0 } ], "Assignments": [ { "Id": "f19611d4-cfaf-4416-9356-f2051ec698c6", "Type": 0, "ResourceId": "8402fcfd-f753-416d-99c2-09e4c20a70dc", "Units": 3.0 }, { "Id": "f19611d4-cfaf-4416-9356-f2051ec698c6", "Type": 0, "ResourceId": "8402fcfd-f753-416d-99c2-09e4c20a70dc", "Units": 3.0 } ], "ParentId": "42345957-bc78-4fe6-9dab-2c94de322299", "WorkTypeParentId": "010ad077-e504-4d20-8f05-6f7922e35e66", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "0ea02560-26fe-40cc-afcc-ad0a95ea463f", "UPN": "2dc0374b-fd58-4f55-aa36-42e5b4c19132", "PostDate": "2025-07-09T07:11:35.3720758+00:00", "Comment": "sample string 4", "CC": [ "bec444b3-9548-4e2f-bc59-8c7270f53347", "61236bbc-55f9-41a3-9880-ba8609a2b9f8" ], "Users": [ "4121bfdb-3aa9-4a9c-bb11-13febb050a9b", "fe528d46-c9f9-4f64-94c6-a21a23ac065b" ] }, { "Id": "0ea02560-26fe-40cc-afcc-ad0a95ea463f", "UPN": "2dc0374b-fd58-4f55-aa36-42e5b4c19132", "PostDate": "2025-07-09T07:11:35.3720758+00:00", "Comment": "sample string 4", "CC": [ "bec444b3-9548-4e2f-bc59-8c7270f53347", "61236bbc-55f9-41a3-9880-ba8609a2b9f8" ], "Users": [ "4121bfdb-3aa9-4a9c-bb11-13febb050a9b", "fe528d46-c9f9-4f64-94c6-a21a23ac065b" ] } ], "StartDate": "2025-07-09T07:11:35.3720758+00:00", "DueDate": "2025-07-09T07:11:35.3720758+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "f38d3c98-9deb-4ff1-865f-11869e770754": "d04098ee-aa49-4ba6-a9e6-f1407412189c", "bcf80e22-3648-4863-a956-e92b4bd4ac87": "a02a01c7-7e0f-49ca-a67b-34b867ce0a46" }, "HasUpdates": true, "Modified": "2025-07-09T07:11:35.3720758+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-09T07:11:35.3720758+00:00" }, "LastComment": "2025-07-09T07:11:35.3720758+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "16e0a347-7067-4650-b2f4-37d4b012a9eb", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "033c5aa2-2000-4e96-b0fa-ca90113a5f12", "id": "23125092-6a23-40a4-87fe-dee9e4c07148", "ConfigId": "0d349fc1-f894-4f37-9047-eddcc9766112" }