POST TicketComments/Add

Request Information

URI Parameters

None.

Body Parameters

TicketComments
NameDescriptionTypeAdditional information
CommentID

integer

None.

TicketID

integer

None.

CustomerID

integer

None.

AuthorID

integer

None.

AuthorCode

string

None.

AuthorName

string

None.

AuthorRole

string

None.

Content

string

None.

IsInternal

boolean

None.

CreatedOn

date

None.

CreatedBy

string

None.

ModifiedOn

date

None.

ModifiedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CommentID": 1,
  "TicketID": 2,
  "CustomerID": 3,
  "AuthorID": 4,
  "AuthorCode": "sample string 5",
  "AuthorName": "sample string 6",
  "AuthorRole": "sample string 7",
  "Content": "sample string 8",
  "IsInternal": true,
  "CreatedOn": "2026-02-24T18:47:26.7608197+07:00",
  "CreatedBy": "sample string 9",
  "ModifiedOn": "2026-02-24T18:47:26.7613329+07:00",
  "ModifiedBy": "sample string 10"
}

application/xml, text/xml

Sample:
<TicketComments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PongOi.Api.Models">
  <AuthorCode>sample string 5</AuthorCode>
  <AuthorID>4</AuthorID>
  <AuthorName>sample string 6</AuthorName>
  <AuthorRole>sample string 7</AuthorRole>
  <CommentID>1</CommentID>
  <Content>sample string 8</Content>
  <CreatedBy>sample string 9</CreatedBy>
  <CreatedOn>2026-02-24T18:47:26.7608197+07:00</CreatedOn>
  <CustomerID>3</CustomerID>
  <IsInternal>true</IsInternal>
  <ModifiedBy>sample string 10</ModifiedBy>
  <ModifiedOn>2026-02-24T18:47:26.7613329+07:00</ModifiedOn>
  <TicketID>2</TicketID>
</TicketComments>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.