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": "c30d7480-1cc7-4924-be82-7e003dd605b4",
"Name": "sample string 1",
"Created": "2025-12-26T07:05:52.8933888+00:00",
"Modified": "2025-12-26T07:05:52.8933888+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"d66df07a-5a92-4e58-ab6c-084c3dd335c5",
"de90f0e1-2e4b-4fa6-94ec-40cb47d42340"
],
"NonLaborAssignments": [
{
"Id": "a2dfa201-af98-47e8-aa54-27030af720be",
"ResourceId": "79c06844-df6a-4d42-8798-ae4e831eb1cb",
"Quantity": 3.0
},
{
"Id": "a2dfa201-af98-47e8-aa54-27030af720be",
"ResourceId": "79c06844-df6a-4d42-8798-ae4e831eb1cb",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "97566987-5c3d-450b-8704-849f18a90bfd",
"Type": 0,
"ResourceId": "2bd03a2e-14b7-4214-8974-2be58184ac98",
"Units": 3.0
},
{
"Id": "97566987-5c3d-450b-8704-849f18a90bfd",
"Type": 0,
"ResourceId": "2bd03a2e-14b7-4214-8974-2be58184ac98",
"Units": 3.0
}
],
"ParentId": "b4b847b6-5cb6-47d9-892d-673246f2f8f0",
"WorkTypeParentId": "00f8ca15-7732-4daf-8fbd-e2bf66a73532",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "58caa681-603c-47b1-9fdc-d2678f01fbdd",
"UPN": "2ca14a52-4c07-460d-9239-b0a61c596801",
"PostDate": "2025-12-26T07:05:53.0652661+00:00",
"Comment": "sample string 4",
"CC": [
"34ba6cee-2b05-40b1-a07c-8db88c30b8c2",
"3ca72e2b-8ccc-4046-948c-62410f7200ec"
],
"Users": [
"b8f508da-356c-4585-ab90-804abf4340b9",
"e6fdc1e1-e232-43e6-a751-a6c5d1742715"
]
},
{
"Id": "58caa681-603c-47b1-9fdc-d2678f01fbdd",
"UPN": "2ca14a52-4c07-460d-9239-b0a61c596801",
"PostDate": "2025-12-26T07:05:53.0652661+00:00",
"Comment": "sample string 4",
"CC": [
"34ba6cee-2b05-40b1-a07c-8db88c30b8c2",
"3ca72e2b-8ccc-4046-948c-62410f7200ec"
],
"Users": [
"b8f508da-356c-4585-ab90-804abf4340b9",
"e6fdc1e1-e232-43e6-a751-a6c5d1742715"
]
}
],
"StartDate": "2025-12-26T07:05:53.0652661+00:00",
"DueDate": "2025-12-26T07:05:53.0652661+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"8c71a00a-0c6e-4a7a-8262-1f322fdb6daf": "2f5fce58-e10c-466c-bf16-0904ec649afa",
"c322950d-b719-4457-9d75-39174326a593": "d9ecee31-3e5d-4d7b-b987-c8dffbb9e7f6"
},
"HasUpdates": true,
"Modified": "2025-12-26T07:05:53.0652661+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-26T07:05:53.0652661+00:00"
},
"LastComment": "2025-12-26T07:05:53.0652661+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "f00a29e3-dc86-4b66-9fdd-88ea7b4fde01",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "0f87b1af-9115-466a-92db-d89289d36372",
"id": "d737aa97-191a-407e-b753-61a58781edfc",
"ConfigId": "5aff1347-1bd9-4ae5-a369-640ca9e1140d"
}