1
API CreateIncomingTicket - Body w/ NewLines
Question asked by Ben Santiardo - 7/19/2022 at 7:21 AM
Answered
Hello,

Does anyone know how to get the BODY in a CreateIncomingTicket API call to honor the NewLine characters? I tried using "\n", but that didn't work. The BODY parameter is stored in the ticket as a long line of text. Newlines  (ie: Char 10 & 13) are not honored.

Help!
____________________________________
Ben Santiardo, Senior Programmer Analyst
Eastern Suffolk BOCES

1 Reply

Reply to Thread
0
Zach Sylvester Replied
Employee Post Marked As Answer
Hello, 

Thanks for reaching out to the community. We no longer allow the use of \r and \n todo styling you need to use HTML formatting. 
Here is an example.
<body><b>test</b><br/>test </body>
      <isHtml>true</isHtml>
Please let me know if this helps. 

Kind regards, 
Zach Sylvester Software Developer SmarterTools Inc. www.smartertools.com

Reply to Thread