POST api/support_ticket/{ticketId}/reply?contactId={contactId}&sendEmail={sendEmail}

Adds a contact reply to a specified support ticket.

Request Information

Parameters

NameDescriptionAdditional information
ticketId
The Id of the support ticket

Define this parameter in the request URI.

contactId
The Id of the contact

Define this parameter in the request URI.

reply
The reply information

Define this parameter in the request body.

sendEmail
Whether to send out a reply email

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "body": "sample string 1",
  "date_created": "2024-03-10T06:44:12.53548-04:00"
}

application/xml, text/xml

Sample:
<contact_reply_create xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api.Ticketing">
  <body>sample string 1</body>
  <date_created>2024-03-10T06:44:12.53548-04:00</date_created>
</contact_reply_create>

Response Information

Response body formats

application/json, text/json

Sample:
{
  "id": 1,
  "errors": [],
  "is_valid": true
}

application/xml, text/xml

Sample:
<create_result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ticket.Api">
  <errors />
  <is_valid>true</is_valid>
  <id>1</id>
</create_result>