I'm using the generic interface (under OTRS 3.2.8 ) to create a new ticket and article. It's working perfectly for text/plain body content, but I would like to create html-based article, like it is done when you create a new mail ticket.
If I set
Code: Select all
<ContentType>text/html; charset=utf8</ContentType>
The html content I give is the full html page like
Code: Select all
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head>
<body style="font-family:Geneva,Helvetica,Arial,sans-serif; font-size: 12px;">
<span style="color:#FF8C00;">Texte html</span><br />
<b>test from WS</b>
</body></html>
So if I put a file named 'file-2' here, it could work, but I'm not happy with that.
Is there anything I do wrong? Or anyone has already created html tickets from the webservices ?
Thanks for your help