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": "d226009f-2663-4112-a2bc-b18bc3546706",
"Name": "sample string 1",
"Created": "2025-12-29T04:19:42.8559624+00:00",
"Modified": "2025-12-29T04:19:42.8559624+00:00",
"Author": "sample string 4",
"Editor": "sample string 5",
"AssignedTo": [
"97a06858-5ec3-4d93-9ce3-768de6fe6fa7",
"1b9aad2e-edc7-4881-be73-50bc4b0843d3"
],
"NonLaborAssignments": [
{
"Id": "2707e8c6-25cc-48c4-b968-b1dfd0901676",
"ResourceId": "ab7a4f64-d0d2-48d4-8620-b2c4becfcac6",
"Quantity": 3.0
},
{
"Id": "2707e8c6-25cc-48c4-b968-b1dfd0901676",
"ResourceId": "ab7a4f64-d0d2-48d4-8620-b2c4becfcac6",
"Quantity": 3.0
}
],
"Assignments": [
{
"Id": "77fb3cbd-b636-4870-924b-c1b1682f96b1",
"Type": 0,
"ResourceId": "6a5f54db-fd6b-4900-ba30-5b950663c692",
"Units": 3.0
},
{
"Id": "77fb3cbd-b636-4870-924b-c1b1682f96b1",
"Type": 0,
"ResourceId": "6a5f54db-fd6b-4900-ba30-5b950663c692",
"Units": 3.0
}
],
"ParentId": "ba9ccf78-85c8-406c-aef6-ee18e3f3ee3c",
"WorkTypeParentId": "0c4f042f-c753-45fb-b08d-01aead650124",
"WorkTypeIndex": 9,
"Fields": {
"sample string 1": {},
"sample string 3": {}
},
"Index": 10,
"Complete": true,
"Comments": [
{
"Id": "61c8e2c1-1618-48f6-8978-136b03d7897b",
"UPN": "d3dc43e3-d20b-4f7e-a490-ce382ae2e7e7",
"PostDate": "2025-12-29T04:19:42.8559624+00:00",
"Comment": "sample string 4",
"CC": [
"9cd29725-e29d-4b33-b05e-8fcf79b8162c",
"e6cbf2b0-1fbc-4185-a250-4f282b8ed1d2"
],
"Users": [
"380b5738-01c3-414e-8348-53c955317086",
"806133bd-81f3-4e31-b292-4dab17eb2303"
]
},
{
"Id": "61c8e2c1-1618-48f6-8978-136b03d7897b",
"UPN": "d3dc43e3-d20b-4f7e-a490-ce382ae2e7e7",
"PostDate": "2025-12-29T04:19:42.8559624+00:00",
"Comment": "sample string 4",
"CC": [
"9cd29725-e29d-4b33-b05e-8fcf79b8162c",
"e6cbf2b0-1fbc-4185-a250-4f282b8ed1d2"
],
"Users": [
"380b5738-01c3-414e-8348-53c955317086",
"806133bd-81f3-4e31-b292-4dab17eb2303"
]
}
],
"StartDate": "2025-12-29T04:19:42.8559624+00:00",
"DueDate": "2025-12-29T04:19:42.8559624+00:00",
"TaskScheduleType": 0,
"StatusUpdate": {
"ResourceReplacements": {
"9caf409d-4ef3-45d4-9c0d-71ba1d1096e6": "2a719ac4-fdeb-497b-93e3-459b3a4ec68f",
"b9797a3f-4cf4-4a69-95c6-6db5832d002e": "d3354236-5899-4dba-9c43-660dd74a82d4"
},
"HasUpdates": true,
"Modified": "2025-12-29T04:19:42.8559624+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-29T04:19:42.8559624+00:00"
},
"LastComment": "2025-12-29T04:19:42.8559624+00:00",
"IsScheduled": true,
"Integration": {
"IntegrationId": "47de7155-6bb7-44d6-b877-a625ede60b2c",
"ExternalItemId": "sample string 2",
"ExternalUrl": "sample string 3",
"ReadOnlyFields": [
"sample string 1",
"sample string 2"
]
},
"WorkPlanId": "b169de99-0686-4ac2-abf9-ec940f794fbf",
"id": "35ee127c-4235-4d01-a731-b5ac68db9bc3",
"ConfigId": "a7f39ea6-9fdb-4a10-8128-7925f04ca8ee"
}