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": "9fac6970-a628-439c-82ea-8c54e0065389",
"Name": "sample string 1",
"Created": "2025-12-25T06:00:28.6808196+00:00",
"Modified": "2025-12-25T06:00:28.6808196+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"bfb5b61b-bd4a-474e-8e52-e97941cc6a3d",
"32220bdf-092c-45a6-860a-5bc98963afd2"
],
"NonLaborAssignments": [
{
"Id": "6276ed14-6f15-4b84-ab36-2bdc64bae07e",
"ResourceId": "ad78ae9a-1cb8-466e-9997-eb7a628b9676",
"Quantity": 3.0
},
{
"Id": "6276ed14-6f15-4b84-ab36-2bdc64bae07e",
"ResourceId": "ad78ae9a-1cb8-466e-9997-eb7a628b9676",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "4a08ac6b-50c9-4c9a-9209-079908cda9f8",
"Type": 0,
"ResourceId": "f02eb3bb-ce05-4944-b870-d6c9fd2a0844",
"Units": 3.0
},
{
"Id": "4a08ac6b-50c9-4c9a-9209-079908cda9f8",
"Type": 0,
"ResourceId": "f02eb3bb-ce05-4944-b870-d6c9fd2a0844",
"Units": 3.0
}
],
"ParentId": "b3ca1730-26f7-40f2-b837-57e382822809",
"WorkTypeParentId": "1559cfec-f554-41b5-98e7-8263b3866ec5",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "ca90007c-16b1-420d-acf4-b7d40a412b87",
"UPN": "c9f89c0e-5673-40b5-97d0-6397d146052d",
"PostDate": "2025-12-25T06:00:28.6808196+00:00",
"Comment": "sample string 4",
"CC": [
"4de9aab6-27e2-4583-8dfd-47968192c7fd",
"e2fe664d-594d-4340-9996-2d101dcaa343"
],
"Users": [
"5dfc26b6-3737-437d-9aab-39254b9c1637",
"3c9a933a-5505-49d4-be14-4e393b44ab74"
]
},
{
"Id": "ca90007c-16b1-420d-acf4-b7d40a412b87",
"UPN": "c9f89c0e-5673-40b5-97d0-6397d146052d",
"PostDate": "2025-12-25T06:00:28.6808196+00:00",
"Comment": "sample string 4",
"CC": [
"4de9aab6-27e2-4583-8dfd-47968192c7fd",
"e2fe664d-594d-4340-9996-2d101dcaa343"
],
"Users": [
"5dfc26b6-3737-437d-9aab-39254b9c1637",
"3c9a933a-5505-49d4-be14-4e393b44ab74"
]
}
],
"StartDate": "2025-12-25T06:00:28.6808196+00:00",
"DueDate": "2025-12-25T06:00:28.6808196+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"41bc4058-b982-4ef4-85b6-a4e1ce20e3ee": "e59765bf-d59b-41c5-8dbf-3abff41e11ca",
"a0009cc6-fe40-4898-a0ea-8074857cdb17": "98c4fa89-0b52-4a62-b1ea-b7a294cacaf9"
},
"HasUpdates": true,
"Modified": "2025-12-25T06:00:28.6808196+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-25T06:00:28.6808196+00:00"
},
"LastComment": "2025-12-25T06:00:28.6808196+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "d7dde22d-d7d6-4322-82ac-2c8ecbec6b2a",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "b138c1f7-17ca-42ba-8951-490310299c32",
"id": "56c22edf-7b30-4150-bd99-167291ad85ff",
"ConfigId": "fa6b2dbb-bb7b-4314-bcae-f3b45424ce76"
}