This api returns the html and text content of message given the id of the message.
| Argument | Data Type | Required | Description |
| id | integer | Yes | message id found from the getmessages api call |
| XML Response | JSON Response |
| <response> <message> <id>45911</id> <title>aagag</title> <datecreated>August 11, 2011, 09:18:08 pm</datecreated> <numberoftimesused>0</numberoftimesused> <datelastused>Never</datelastused> <locked>0</locked> <previewtext><![CDATA[]]></previewtext> <htmlmsg><![CDATA[ <html><body><p>test link <a href="http://www.test.com">http://www.test.com</a></p> <p> </p> <p>Image test</p> <p><img src="http://site.com/logo.jpg" alt="" width="186" height="52" /></p></body></html> ]]></htmlmsg> <textmsg><![CDATA[ test link http://www.test.com ]]></textmsg> </message> </response> |
{
"message": {
"id": "45911",
"title": "aagag",
"datecreated": "August 11, 2011, 09:18:08 pm",
"numberoftimesused": "0",
"datelastused": "Never",
"locked": "0",
"previewtext": "",
"htmlmsg": " |