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": "a726d28d-29cd-4bcb-ac77-f06e6f950eaa",
"Name": "sample string 1",
"Created": "2025-12-23T20:54:29.8641255+00:00",
"Modified": "2025-12-23T20:54:29.8641255+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"d9181318-09aa-4583-839b-1378758cfa80",
"3be815ad-dcbe-40fb-b052-4fe6af58940f"
],
"NonLaborAssignments": [
{
"Id": "a89bc4bc-ec83-47a2-9234-6593ea3dd05b",
"ResourceId": "7cb444ee-dfdc-4df1-b617-c63f729d6ed9",
"Quantity": 3.0
},
{
"Id": "a89bc4bc-ec83-47a2-9234-6593ea3dd05b",
"ResourceId": "7cb444ee-dfdc-4df1-b617-c63f729d6ed9",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "724e3a5a-b247-4ba2-b0a1-9273cf602b01",
"Type": 0,
"ResourceId": "17c9205e-68ec-4e09-bb66-e58450979564",
"Units": 3.0
},
{
"Id": "724e3a5a-b247-4ba2-b0a1-9273cf602b01",
"Type": 0,
"ResourceId": "17c9205e-68ec-4e09-bb66-e58450979564",
"Units": 3.0
}
],
"ParentId": "392cd839-50fd-4f0d-b947-8992a4ffdc02",
"WorkTypeParentId": "4807ed0d-91c1-43e7-a314-9241b85959c7",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "5c2d9074-ad3f-483b-bf81-f77a8c9b4a1a",
"UPN": "3055c512-21f6-4aa2-914f-94dbe8826247",
"PostDate": "2025-12-23T20:54:29.8641255+00:00",
"Comment": "sample string 4",
"CC": [
"14e029ff-90af-4d10-a542-1502b9310f56",
"3c667148-28aa-4a78-becd-bf70a0946844"
],
"Users": [
"4c858b29-a097-4c19-8f51-60a15f7e59c3",
"9f101eca-5639-4eb5-a70c-415b17424be7"
]
},
{
"Id": "5c2d9074-ad3f-483b-bf81-f77a8c9b4a1a",
"UPN": "3055c512-21f6-4aa2-914f-94dbe8826247",
"PostDate": "2025-12-23T20:54:29.8641255+00:00",
"Comment": "sample string 4",
"CC": [
"14e029ff-90af-4d10-a542-1502b9310f56",
"3c667148-28aa-4a78-becd-bf70a0946844"
],
"Users": [
"4c858b29-a097-4c19-8f51-60a15f7e59c3",
"9f101eca-5639-4eb5-a70c-415b17424be7"
]
}
],
"StartDate": "2025-12-23T20:54:29.8641255+00:00",
"DueDate": "2025-12-23T20:54:29.8641255+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"7735b16c-95d1-41b9-a5f6-e42dd98f1743": "b87e1fb2-19fb-4b51-ab80-994972b9f9e9",
"24152ded-8dff-468a-aa43-f63d087645ab": "76ffae6e-ee9a-4768-94a9-ce7a3d27ed30"
},
"HasUpdates": true,
"Modified": "2025-12-23T20:54:29.8641255+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-12-23T20:54:29.8641255+00:00"
},
"LastComment": "2025-12-23T20:54:29.8641255+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "d83a7ac5-8a01-44cb-93d1-b69b16bf5017",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "ce7138f6-84f1-46a7-ad78-22edd9596228",
"id": "95bb4dbd-7a11-4a94-b726-53afb6c37c2e",
"ConfigId": "55b333ad-ca2e-411f-bed2-eacce11c7325"
}