The WorkOrder can be changed by sending either WorkOrder Number or WorkOrder ID. Some data must be sent in the payload section.The date time format used in json is a timespan in milliseconds.
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer | None. | |
| Subject | string | None. | |
| Body | string | None. | |
| WorkOrderNumber | string | None. | |
| AllowClient | boolean | None. | |
| VendorId | integer | None. |
{
"Id": 1,
"Subject": "sample string 2",
"Body": "sample string 3",
"WorkOrderNumber": "sample string 4",
"AllowClient": true,
"VendorId": 1
}
<CommentInsertDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlESI.FMPilot.Core.BE.Entities.WorkOrder"> <AllowClient>true</AllowClient> <Body>sample string 3</Body> <Id>1</Id> <Subject>sample string 2</Subject> <VendorId>1</VendorId> <WorkOrderNumber>sample string 4</WorkOrderNumber> </CommentInsertDTO>
Sample not available.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer | None. | |
| Subject | string | None. | |
| Body | string | None. | |
| WorkOrderNumber | string | None. | |
| OwnerUserId | integer | None. | |
| CreateUser | string | None. | |
| CreateDateTime | date | None. | |
| AllowInternal | boolean | None. | |
| AllowClient | boolean | None. | |
| AllowVendor | boolean | None. | |
| AllowCorporate | boolean | None. | |
| WorkOrderStatusID | integer | None. | |
| CommentTypeID | integer | None. | |
| IsEmailHighImportance | boolean | None. | |
| RequestCodeID | integer | None. | |
| User | string | None. | |
| Role | string | None. | |
| Company | string | None. | |
| FirstName | string | None. | |
| LastName | string | None. | |
| ChildWorkOrderID | integer | None. | |
| WorkOrderID | integer | None. |
{
"Id": 1,
"Subject": "sample string 2",
"Body": "sample string 3",
"WorkOrderNumber": "sample string 4",
"OwnerUserId": 1,
"CreateUser": "sample string 5",
"CreateDateTime": "2025-11-02T01:49:24.0917097Z",
"AllowInternal": true,
"AllowClient": true,
"AllowVendor": true,
"AllowCorporate": true,
"WorkOrderStatusID": 1,
"CommentTypeID": 1,
"IsEmailHighImportance": true,
"RequestCodeID": 1,
"User": "sample string 8",
"Role": "sample string 9",
"Company": "sample string 10",
"FirstName": "sample",
"LastName": "string",
"ChildWorkOrderID": 1,
"WorkOrderID": 13
}
<CommentFragment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlESI.FMPilot.Core.BE.Entities.WorkOrder"> <AllowClient>true</AllowClient> <AllowCorporate>true</AllowCorporate> <AllowInternal>true</AllowInternal> <AllowVendor>true</AllowVendor> <Body>sample string 3</Body> <ChildWorkOrderID>1</ChildWorkOrderID> <CommentTypeID>1</CommentTypeID> <Company>sample string 10</Company> <CreateDateTime>2025-11-02T01:49:24.0917097+00:00</CreateDateTime> <CreateUser>sample string 5</CreateUser> <FirstName>sample</FirstName> <Id>1</Id> <IsEmailHighImportance>true</IsEmailHighImportance> <LastName>string</LastName> <OwnerUserId>1</OwnerUserId> <RequestCodeID>1</RequestCodeID> <Role>sample string 9</Role> <Subject>sample string 2</Subject> <User>sample string 8</User> <WorkOrderID>13</WorkOrderID> <WorkOrderNumber>sample string 4</WorkOrderNumber> <WorkOrderStatusID>1</WorkOrderStatusID> </CommentFragment>