POST v1/Tickets/{id}/Comments
Adds the specified comment.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ticket id. |
integer |
Required. |
Body Parameters
The ticket comment.
OrderCommentChanges| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the identifier. |
integer |
Must be 0 (for insert operations) |
| OrderId |
Gets or sets the order identifier. |
integer |
None. |
| Comment |
Gets or sets the comment. |
string |
Required Max length: 2147483647 |
| EmployeeId |
Gets or sets the employee identifier. |
integer |
None. |
| EmployeeName |
Gets or sets the name of the employee. |
string |
None. |
| TimeStamp |
Gets or sets the time stamp. |
date |
Required |
| OfferId |
Gets or sets the offer identifier. |
integer |
None. |
| TicketId |
Gets or sets the Ticket identifier. |
integer |
None. |
| CommentType |
Gets or sets the type of the comment. Optional. The values are: OrderAction = 2, InvoiceAction = 3, ShipmentAction = 4, PurchaseOrderAction = 5, OrderReturnAction = 6, TicketAction = 7, ServiceContractAction = 8, TaskAction = 9 |
integer |
Required |
Request Formats
application/json, text/json
{
"Id": 1,
"OrderId": 1,
"Comment": "sample string 2",
"EmployeeId": 1,
"EmployeeName": "sample string 3",
"TimeStamp": "2026-01-11T16:14:44.2085276+01:00",
"OfferId": 1,
"TicketId": 1,
"CommentType": 1
}
application/xml, text/xml
<OrderCommentChanges xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <OrderId>1</OrderId> <Comment>sample string 2</Comment> <EmployeeId>1</EmployeeId> <EmployeeName>sample string 3</EmployeeName> <TimeStamp>2026-01-11T16:14:44.2085276+01:00</TimeStamp> <OfferId>1</OfferId> <TicketId>1</TicketId> <CommentType>1</CommentType> </OrderCommentChanges>
Response Information
Resource Description
The HttpResponseMessage object.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |