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
WorkPlanTask| Name | 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": "b07cbb64-4f2c-444e-ae9b-8e5c588ef629",
"Name": "sample string 1",
"Created": "2025-11-29T02:31:42.6108863+00:00",
"Modified": "2025-11-29T02:31:42.6108863+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"dbdeccd7-a003-4285-b993-8dfc15608eb9",
"4e6c9a06-7103-4301-8eec-10c359d685af"
],
"NonLaborAssignments": [
{
"Id": "7fdd61a1-8959-4561-a1aa-4893f2b23eac",
"ResourceId": "33817192-35a7-4b88-b96e-f1cfc4aaa6ed",
"Quantity": 3.0
},
{
"Id": "7fdd61a1-8959-4561-a1aa-4893f2b23eac",
"ResourceId": "33817192-35a7-4b88-b96e-f1cfc4aaa6ed",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "2ef3bb56-a879-468a-af51-8cf9a5031204",
"Type": 0,
"ResourceId": "81f17293-3438-4854-a696-e9c41514bbf6",
"Units": 3.0
},
{
"Id": "2ef3bb56-a879-468a-af51-8cf9a5031204",
"Type": 0,
"ResourceId": "81f17293-3438-4854-a696-e9c41514bbf6",
"Units": 3.0
}
],
"ParentId": "d327b5ef-a178-4561-9b33-a9dd5be9baa2",
"WorkTypeParentId": "f564c8ba-6655-4408-aa09-ef6007c45c23",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "196e0515-b26b-4fbe-afae-0a70c77cf8b0",
"UPN": "be261f94-f5a4-467c-9356-76eba4ef36d0",
"PostDate": "2025-11-29T02:31:42.6108863+00:00",
"Comment": "sample string 4",
"CC": [
"986da7ef-2a29-4649-8b2a-da1428bf2ede",
"2b1e8eaa-12f5-4d16-afbf-431535e22b2b"
],
"Users": [
"67c00148-9287-400b-8d0c-7b460d2f3120",
"f52461d9-c994-4e37-9c02-fd2e776bce63"
]
},
{
"Id": "196e0515-b26b-4fbe-afae-0a70c77cf8b0",
"UPN": "be261f94-f5a4-467c-9356-76eba4ef36d0",
"PostDate": "2025-11-29T02:31:42.6108863+00:00",
"Comment": "sample string 4",
"CC": [
"986da7ef-2a29-4649-8b2a-da1428bf2ede",
"2b1e8eaa-12f5-4d16-afbf-431535e22b2b"
],
"Users": [
"67c00148-9287-400b-8d0c-7b460d2f3120",
"f52461d9-c994-4e37-9c02-fd2e776bce63"
]
}
],
"StartDate": "2025-11-29T02:31:42.6108863+00:00",
"DueDate": "2025-11-29T02:31:42.6108863+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"f7499131-62ad-4f97-bcda-de490f2550c9": "52fce6f2-f085-411d-a3ad-9f60074b85c3",
"a1d294e4-1cd8-4ec3-93ea-b0d77821387a": "c84161d6-b006-424d-85d6-6608318cee8f"
},
"HasUpdates": true,
"Modified": "2025-11-29T02:31:42.6108863+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-11-29T02:31:42.6108863+00:00"
},
"LastComment": "2025-11-29T02:31:42.6108863+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "ee9fd2ed-687b-4257-9cdb-35a1a1138a94",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "86c7ebf2-9adb-481b-b27f-8639be595d02",
"id": "a24d06e6-561c-4c53-b6ab-42b0eb5925dd",
"ConfigId": "d3462a22-9d97-4302-9809-707d3bd36610"
}