getMessage

Returns a message from the mailbox by it's id.

Parameter
  • token (required): Authentification Token authenticate
  • msgid (required): Message Id
  • format (optional): Response-Format (xml or json)

Sample

http://thats-me.ch/api/getMessage?token=a6ae29ffdasg6adjh6ced8245b3428ff&id=6420591


Sample Return

<?xml version="1.0" encoding="utf-8"?>
<message>
 <id>
  6420591
 </id>
 <subject>
  <![CDATA[Re: neuer Fotokommentar]]>
 </subject>
 <body>
  <![CDATA[Viieln liebn Dank (;]]>
 </body>
 <read>
  1
 </read>
 <replied>
  0
 </replied>
 <senddate>
  2011-02-01 19:42:50
 </senddate>
 <sentfrommobile>
  1
 </sentfrommobile>
 <from>
  <id>
   18827
  </id>
  <nick>
   duuzduuz
  </nick>
 </from>
 <to>
  <id>
   179
  </id>
  <nick>
   broox
  </nick>
 </to>
 <notification>
  0
 </notification>
 <source>
  <forumpost>
  0
  </forumpost>
  <body>
   <![CDATA[Das ist eine Testnachricht!]]>
  </body>
 </source>
</message>

Last edited Feb 4, 2011 at 2:25 PM by cansik, version 5

Comments

No comments yet.