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": "486ee790-9684-441e-9095-3fb86aa39bd7",
"Name": "sample string 1",
"Created": "2025-10-17T11:00:05.9566464+00:00",
"Modified": "2025-10-17T11:00:05.9566464+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"982f05a2-5b7c-4c4b-b668-fd2e2444a683",
"65c3b9b5-40bf-40fb-95b2-420902d721b7"
],
"NonLaborAssignments": [
{
"Id": "61db259f-19d1-4d85-bf32-f7aff477c5a4",
"ResourceId": "eea83339-4839-4fd5-93f3-948476f9e2e2",
"Quantity": 3.0
},
{
"Id": "61db259f-19d1-4d85-bf32-f7aff477c5a4",
"ResourceId": "eea83339-4839-4fd5-93f3-948476f9e2e2",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "aa7c7328-7f11-49a5-afc2-64f0e229a385",
"Type": 0,
"ResourceId": "ff043895-4bf5-442a-bb3e-3e99bcf550e5",
"Units": 3.0
},
{
"Id": "aa7c7328-7f11-49a5-afc2-64f0e229a385",
"Type": 0,
"ResourceId": "ff043895-4bf5-442a-bb3e-3e99bcf550e5",
"Units": 3.0
}
],
"ParentId": "82fb0496-09a2-4633-b091-e4b9ee55a90d",
"WorkTypeParentId": "b5e361ad-8e5f-4d99-bc78-c9a46b17437f",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "d84b8727-b566-4e02-9569-a52cd3413a1f",
"UPN": "8d521e6d-fbe6-4cf1-9407-5a17fee2b5f8",
"PostDate": "2025-10-17T11:00:05.9566464+00:00",
"Comment": "sample string 4",
"CC": [
"07502492-32dd-4262-85dc-835d1ee0f781",
"33f4b0ff-0e3b-418a-8067-c49215f53daf"
],
"Users": [
"8aa7df52-f6c7-405d-9d84-ff400b9cea23",
"6c2ece48-1fb7-4716-931a-c99fb23784eb"
]
},
{
"Id": "d84b8727-b566-4e02-9569-a52cd3413a1f",
"UPN": "8d521e6d-fbe6-4cf1-9407-5a17fee2b5f8",
"PostDate": "2025-10-17T11:00:05.9566464+00:00",
"Comment": "sample string 4",
"CC": [
"07502492-32dd-4262-85dc-835d1ee0f781",
"33f4b0ff-0e3b-418a-8067-c49215f53daf"
],
"Users": [
"8aa7df52-f6c7-405d-9d84-ff400b9cea23",
"6c2ece48-1fb7-4716-931a-c99fb23784eb"
]
}
],
"StartDate": "2025-10-17T11:00:05.9566464+00:00",
"DueDate": "2025-10-17T11:00:05.9566464+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"2df13245-95a8-47d3-9457-66c2441c42d2": "06984e8e-016b-4dfd-b61a-423f63c3e19a",
"c8f512d1-4d48-4073-9488-4a53b5078ee4": "3238ecd8-0a79-494a-8b6b-ad9e7ae47cd2"
},
"HasUpdates": true,
"Modified": "2025-10-17T11:00:05.9566464+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-10-17T11:00:05.9566464+00:00"
},
"LastComment": "2025-10-17T11:00:05.9566464+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "9b3ee022-1e99-4583-8d2c-f83ed747893e",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "014d00ed-2248-4782-bf75-fb70f3e613d7",
"id": "fd938564-2928-4eb4-9b1d-eb8b27ea8803",
"ConfigId": "9bd15008-fabc-40c2-b61d-fce483c9a7a0"
}