PMessageAdd Class

Description

The PMessageAdd class is used for posting new personal messages. Simply build up a string in the style of either XML or JSON and POST it to the correct end point.

Property Type Description
FriendName string The name of the friend to add details to.
Recipient string The user account where the message is being sent.
Subject string The subject of the message.
Body string The body of the message.

Example XML

<PMessageAdd xmlns="http://cixonline.com" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
   <Body>For the docs</Body>
   <Recipient>xxx</Recipient>
   <Subject>Test of API</Subject>
</PMessageAdd>

Example JSON

{
  "Recipient":"xxx",
  "Subject":"Test of API",
  "Body":"For the docs"
}
 
cix.api/class.pmessageadd.txt · Last modified: 2008/10/20 17:09 by charlie
 
Except where otherwise noted, content on this wiki is licensed under the following license:Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Debian Driven by DokuWiki