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": "f3afb6e4-6f83-4d78-aac5-e815af76b349", "Name": "sample string 1", "Created": "2025-09-16T03:22:19.5970535+00:00", "Modified": "2025-09-16T03:22:19.5970535+00:00", "Author": "sample string 4", "Editor": "sample string 5", "AssignedTo": [ "a6f26f0b-79a0-456a-b16c-4676f58c0354", "e1c97464-0a2a-49a1-a646-4d409921e114" ], "NonLaborAssignments": [ { "Id": "3b201097-b462-4bc2-995f-961a36240db6", "ResourceId": "98d8977a-7d85-4c09-a329-f8e46e88fb98", "Quantity": 3.0 }, { "Id": "3b201097-b462-4bc2-995f-961a36240db6", "ResourceId": "98d8977a-7d85-4c09-a329-f8e46e88fb98", "Quantity": 3.0 } ], "Assignments": [ { "Id": "08356dd1-ccd8-4471-a222-f84204105eb0", "Type": 0, "ResourceId": "533ca652-b284-4d44-94d7-fc6d210d7e9d", "Units": 3.0 }, { "Id": "08356dd1-ccd8-4471-a222-f84204105eb0", "Type": 0, "ResourceId": "533ca652-b284-4d44-94d7-fc6d210d7e9d", "Units": 3.0 } ], "ParentId": "c2a3a453-30f9-46af-bd95-c570bd1513ae", "WorkTypeParentId": "9be78163-914e-4dc7-ab35-44b962c0dbf0", "WorkTypeIndex": 9, "Fields": { "sample string 1": {}, "sample string 3": {} }, "Index": 10, "Complete": true, "Comments": [ { "Id": "4382dcf5-8396-44c8-93eb-3f5c31134230", "UPN": "a3a0e8bf-36d6-419b-8e78-3f5bb5e78629", "PostDate": "2025-09-16T03:22:19.5970535+00:00", "Comment": "sample string 4", "CC": [ "d6e37265-8451-455d-87f7-4983d857dad6", "006f6c37-23e4-494d-b615-151d341c8849" ], "Users": [ "fb05ba96-4a4b-43bc-b116-e8e5926c846e", "8a2395d5-2ad1-4338-a2bc-f44044e45474" ] }, { "Id": "4382dcf5-8396-44c8-93eb-3f5c31134230", "UPN": "a3a0e8bf-36d6-419b-8e78-3f5bb5e78629", "PostDate": "2025-09-16T03:22:19.5970535+00:00", "Comment": "sample string 4", "CC": [ "d6e37265-8451-455d-87f7-4983d857dad6", "006f6c37-23e4-494d-b615-151d341c8849" ], "Users": [ "fb05ba96-4a4b-43bc-b116-e8e5926c846e", "8a2395d5-2ad1-4338-a2bc-f44044e45474" ] } ], "StartDate": "2025-09-16T03:22:19.5970535+00:00", "DueDate": "2025-09-16T03:22:19.5970535+00:00", "TaskScheduleType": 0, "StatusUpdate": { "ResourceReplacements": { "4224b3af-557f-42ef-aaec-5fff649ab375": "b89d1f1c-f14a-48e9-a1cb-e75f4ebdce76", "b4d80040-15ba-4034-b23d-82447f36dc84": "ea425f17-45c9-4d75-8004-706acf792425" }, "HasUpdates": true, "Modified": "2025-09-16T03:22:19.5970535+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-16T03:22:19.5970535+00:00" }, "LastComment": "2025-09-16T03:22:19.5970535+00:00", "IsScheduled": true, "Integration": { "IntegrationId": "0a3e7db2-f880-4bd2-bd9c-a213a8efeef3", "ExternalItemId": "sample string 2", "ExternalUrl": "sample string 3", "ReadOnlyFields": [ "sample string 1", "sample string 2" ] }, "WorkPlanId": "360bf2bb-27b2-4cc6-90d0-2dd793a7cc94", "id": "7b8bd8f9-bd4c-48fd-a143-75b4f2c90dff", "ConfigId": "1cdf1025-595c-4bec-a335-38a63a256831" }