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

Adds a 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.

agentId
The Id of the agent creating the reply

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:

Sample not available.

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>