Arguments | Return value | REST (XML) example | REST (JSON) example | XML-RPC example
If calling by XML-RPC, note that this method takes a single struct as input, with the following keys:
as9d867f234o7asdf:928734982734987234:298374982734987234group:123This is a topicThis is the main body of the new topicTrueTrueTruemsg:123456POST /api/xml/peopleaggregator/newBoardMessage HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 178
authToken=as9d867f234o7asdf%3A928734982734987234%3A298374982734987234&content=This+is+the+main+body+of+the+new+topic&allowAnonymous=True&context=group%3A123&title=This+is+a+topic
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: 131
<response>
<id>msg:123456</id>
<success>true</success>
</response>
POST /api/json/peopleaggregator/newBoardMessage HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 178
authToken=as9d867f234o7asdf%3A928734982734987234%3A298374982734987234&content=This+is+the+main+body+of+the+new+topic&allowAnonymous=True&context=group%3A123&title=This+is+a+topic
HTTP/1.1 200 OK
Content-Type: application/x-javascript
Content-Length: 37
{"id": "msg:123456", "success": true}
POST /api/xmlrpc HTTP/1.1
Content-Type: text/xml
Content-Length: 1905
<?xml version='1.0'?>
<methodCall>
<methodName>peopleaggregator.newBoardMessage</methodName>
<params>
<param>
<value><struct>
<member>
<name>authToken</name>
<value><string>as9d867f234o7asdf:928734982734987234:298374982734987234</string></value>
</member>
<member>
<name>content</name>
<value><string>This is the main body of the new topic</string></value>
</member>
<member>
<name>allowAnonymous</name>
<value><boolean>1</boolean></value>
</member>
<member>
<name>context</name>
<value><string>group:123</string></value>
</member>
<member>
<name>title</name>
<value><string>This is a topic</string></value>
</member>
</struct></value>
</param>
</params>
</methodCall>
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 901
<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><struct>
<member>
<name>id</name>
<value><string>msg:123456</string></value>
</member>
<member>
<name>success</name>
<value><boolean>1</boolean></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>