4.3  Message Edition Webservice

There is a webservice that enables you to edit messages or even topics

Note that you will only be able to edit the title of a topic by editing its first message. However, if you edit the first message of a topic and then send an empty string, the "title" will not be modified.

Here are the parameters:

Here is a script example based on the Message Edition Webservice, done in PHP

require("nusoap/nusoap.php");

$sel = new soapclient("http://forumdev.MyDiscussionsnet/webservices/wservice.php");

$param = array(
    'user' => 'LoginAdministrateur',
    'pwd' => 'motdepasseAdministrateur',
    'idforum' => 1,
    'idcat' => 22,
    'idtopic' => 49,
    'idpost' => 106,
    'title' => 'New title',
    'text' => 'New message'
);
$results = $sel->call('edit_message', $param);

If everything goes right, the message or the topic will be edited and will return the 2 following parameters


4.2 Add Answer Webservice4.4 Message/Topic Deletion Webservice