add new information about MySocials development
[mysocials] / www / api.html
index fb32816..06bc6fc 100644 (file)
@@ -1,5 +1,6 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html 
+       PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <tr>
     <td bgcolor="#E2E2D2" class="border" height="40"><table width="85%" border="0" cellspacing="0" cellpadding="0">
       <tr align="center">
-       <td><a href="api.html" class="toplinks">MySocials API</a></td>
+       <td><a href="index.html" class="toplinks">About</a></td>
+       <td class="toplinks">|</td>
+        <td><a href="screenshots.html" class="toplinks">Screenshots</a></td>
+        <td class="toplinks">|</td>
+        <td><a href="api.html" class="toplinks">MySocials API</a></td>
         <td class="toplinks">|</td>
         <td><a href="privacy.html" class="toplinks">Privacy</a></td>
                <td class="toplinks">|</td>
        <p> MySocials driver is provided as a shared library (libmsa&lt;service_name&gt;.so). Structure <b>msa_module *d</b> includes information about the driver (name, identifier, pointers to driver functions). This structure is filled during initialization of the driver.
        </p>
        <h3>Driver interface</h3>
-       <p>Driver interface is described in file interface.h and consists of 4 functions:
+       <p>Driver interface is described in file interface.h and consists of 4 functions:</p>
        <ul>
        <li><b>msa_module_init(struct msa_module* d)</b> — driver initialization;</li>
        <li><b>msa_module_get_info(struct msa_module* d)</b> — getting information about driver;</li>
        <li><b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> — request sending and response receiveing;</li>
        <li><b>msa_module->shutdown(const struct msa_module*)</b> - driver shutdown.</li>
        </ul>
-       
        <h3>Driver initialization and shutting down</h3>
-       Driver initialization is performed by using <b>msa_module_init(struct msa_module* d)</b> function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance. 
-       <br>
+       <p>Driver initialization is performed by using <b>msa_module_init(struct msa_module* d)</b> function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance. 
+       <br />
        Function <b>msa_module->shutdown(const struct msa_module*)</b> is used during program termination. 
-
+       </p>
        <h3>Interaction with driver</h3>
-
-       Fuction <b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> is used to perform requests to the driver. 
+       <p>
+       Function <b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> is used to perform requests to the driver. 
 Parameter <i>request</i> is a request in XML format. Description of structure of sending and receiveing data is described <a>here</a>.
 Parameter <i>response</i> contains driver response in XML format.
 Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get information about driver (driver name and icon).
@@ -85,89 +89,86 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <h2>MySocials driver data structures</h2>
 
        <p>Here you can see description of data structures which are used by MySocials driver. These structures are declared in <b>mysocials_driver.h</b> file which is available for other applications from mysocials-dev package.  
-
+       </p>
        <h3>Enumerations</h3>
        <h4>Error codes</h4>
-       <pre>enum error_type {
-       FAILURE, // Function finished with error
-       SUCCESS, // Function finished without error
-       ERROR_ALLOCATION_OF_MEMORY, // Allocation of memory
-       ERROR_NO_FUNCTION, // Defining function error
-       ERROR_INITIALIZATION_ALREADY_PASSED, // Re-initialization error
-       ERROR_IS_BUSY, // Module is busy
-       ERROR_SEND_DATA, // Data sending error
-       ERROR_PARSE_DATA // Data parsing error
-}
+       <pre class="c" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">enum</span> error_type <span style="color: #009900;">&#123;</span>
+       FAILURE<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Function finished with error</span>
+       SUCCESS<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Function finished without error</span>
+       ERROR_ALLOCATION_OF_MEMORY<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Allocation of memory</span>
+       ERROR_NO_FUNCTION<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Defining function error</span>
+       ERROR_INITIALIZATION_ALREADY_PASSED<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Re-initialization error</span>
+       ERROR_IS_BUSY<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Module is busy</span>
+       ERROR_SEND_DATA<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Data sending error</span>
+       ERROR_PARSE_DATA <span style="color: #666666; font-style: italic;">// Data parsing error</span>
+<span style="color: #009900;">&#125;</span>
        </pre>
 
        <h3>Driver interface</h3>
-       <p>MySocials driver interface described in  <b>msa_module</b> structure. Some of the fields of this stucture are filled before initialization by application (marked with **), the rest of it is filled during initialization.</p>
-       <pre>
-       struct msa_module {
-       gchar *id;    // Identifier 
-       gchar *name;  // External driver name
-       gchar* driverName;       // Driver name for system purposes (equals driver identifier)
-       gchar *pic;   // Icon coded in base64
-       gchar *proxy;  // **Proxy server address or NULL
-       gint port; // **Proxy server port
-   
-       /* Pointer to function for processing requests.
+       <p>MySocials driver interface described in  <b>msa_module</b> structure. Some of the fields of this structure are filled before initialization by application (marked with **), the rest of it is filled during initialization.</p>
+
+       <pre class="c" style="font-family:monospace;"><span style="color: #993333;">struct</span> msa_module <span style="color: #009900;">&#123;</span>
+       gchar <span style="color: #339933;">*</span>id<span style="color: #339933;">;</span>    <span style="color: #666666; font-style: italic;">// Identifier </span>
+       gchar <span style="color: #339933;">*</span>name<span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// External driver name</span>
+       gchar<span style="color: #339933;">*</span> driverName<span style="color: #339933;">;</span>       <span style="color: #666666; font-style: italic;">// Driver name for system purposes (equals driver identifier)</span>
+       gchar <span style="color: #339933;">*</span>pic<span style="color: #339933;">;</span>   <span style="color: #666666; font-style: italic;">// Icon coded in base64</span>
+       gchar <span style="color: #339933;">*</span>proxy<span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// **Proxy server address or NULL</span>
+       gint port<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// **Proxy server port</span>
+&nbsp;
+       <span style="color: #808080; font-style: italic;">/* Pointer to function for processing requests.
           Parameters:
            xmlRequest — request in XML format
            xmlResponse — response in XML format
            info — structure with driver settings
-      
+&nbsp;
           Function returns  SUCCESS in case without errors, otherwise FAILURE. 
-       */
-   
-       error_type (*send)(char* xmlRequest, char** xmlResponse, struct msa_module *info) 
-        
-       /* Pointer to function for driver shutting down.
+       */</span>
+&nbsp;
+       error_type <span style="color: #009900;">&#40;</span><span style="color: #339933;">*</span>send<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">char</span><span style="color: #339933;">*</span> xmlRequest<span style="color: #339933;">,</span> <span style="color: #993333;">char</span><span style="color: #339933;">**</span> xmlResponse<span style="color: #339933;">,</span> <span style="color: #993333;">struct</span> msa_module <span style="color: #339933;">*</span>info<span style="color: #009900;">&#41;</span> 
+&nbsp;
+       <span style="color: #808080; font-style: italic;">/* Pointer to function for driver shutting down.
            Parameters:
            info — structure with driver settings
-      
+&nbsp;
           Function returns  SUCCESS in case without errors, otherwise FAILURE. 
-       */
-
-       error_type (*shutdown)(struct msa_module* info);
-}
-
+       */</span>
+&nbsp;
+       error_type <span style="color: #009900;">&#40;</span><span style="color: #339933;">*</span>shutdown<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">struct</span> msa_module<span style="color: #339933;">*</span> info<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
+<span style="color: #009900;">&#125;</span>
        </pre>
 
        <h2>Format of XML requests and responses</h2>
        <h3>Common format of driver request and response</h3>
        <h4>Request format</h4>
-       <pre>
-       &lt;Request class="" function="" noAuthorize="true"&gt;
-               &lt;Params&gt;
-
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">noAuthorize</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+&nbsp;
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <ul>
        <li><i>noAuthorize</i> - flag which forbids driver to call WebAuth (optional, set to false by default) </li>
        <li><i>class</i> - class which includes called function</li>
        <li><i>function</i> - name of the function</li>
-       <li><i>Params</i> - set of parameters, stricly defined for each function</li>
+       <li><i>Params</i> - set of parameters, strictly defined for each function</li>
        </ul>
 
        <h4>Response format</h4>
-       <pre>
-       &lt;Response class="" function="" authorized="true" upload="..." download="..."&gt;
-               &lt;Params&gt;
-
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">authorized</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">upload</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">download</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+&nbsp;
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        
        <ul>
-       <li><i>authorized</i> - flag which indicates authorization during request performing (flag isn't set if error occures during request performing) </li>
+       <li><i>authorized</i> - flag which indicates authorization during request performing (flag isn't set if error occurs during request performing) </li>
        <li><i>upload</i> - number of bytes sent to server</li>
        <li><i>download</i> - number of bytes received from server</li>
        </ul>
 
-       <p>Following classes are supported:
+       <p>Following classes are supported:</p>
        <ul>
        <li><i>settings:</i> class for working with settings</li>
        <li><i>profile:</i> class for receiving data about user's profile</li>
@@ -178,130 +179,120 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>video:</i> class for working with video files</li>
        <li><i>news:</i> class for working with news</li>
        </ul>   
-       </p>
-
+       
+       <!-- Settings start -->
        <h3>Settings</h3>
        <h4>getSettings</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="settings" function="getSettings"&gt;
-               &lt;Params/&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getSettings&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <b>Response:</b>
-       <pre>
-       &lt;Response class="settings" function="getSettings"&gt;
-               &lt;Params&gt;
-                       &lt;string name="mid"&gt; ... &lt;/string&gt;
-                       &lt;string name="sid"&gt; ... &lt;/string&gt;
-                       &lt;string name="secret"&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getSettings&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;mid&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;sid&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;secret&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <p>Content of <i>Params</i> tag depends on the driver. It is recommended to save content of <i>Params</i> tag and send it to setup function without any changes.</p>
 
        <h4>setSettings</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="settings" function="setSettings"&gt;
-               &lt;Params&gt;
-                       &lt;string name="mid"&gt; ... &lt;/string&gt;
-                       &lt;string name="sid"&gt; ... &lt;/string&gt;
-                       &lt;string name="secret"&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;setSettings&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;mid&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;sid&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;secret&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <p><i>Params</i> tag must contain data received from driver during <i>getSettings</i> request.</p>
        <b>Response:</b> info message or error message.
 
        <h4>getListMethods</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="settings" function="getListMethods"&gt;
-               &lt;Params/&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListMethods&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <b>Response:</b>
-       <pre>
-       &lt;Response class="settings" function="getListMethods"&gt;
-               &lt;Params&gt;
-                       &lt;string function="..." class="..."&gt; ... &lt;/string&gt;
-                       &lt;string function="..." class="..."&gt; ... &lt;/string&gt;
-                       ...
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListMethods&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               ...
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
                
        <h4>testConnection</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="settings" function="testConnection"&gt;
-               &lt;Params/&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;testConnection&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <b>Response:</b> info message or error message.
+       <!-- Settings finish -->
 
-
-
+       <!-- Profile start -->
        <h3>Profile</h3>
        <h4>getProfile</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="profile" function="getProfile"&gt;
-               &lt;Params id="..."&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;profile&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getProfile&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <p>Attribute <i>id</i> is an id of user whose profile is needed to be received (optional, equals id of owner of current account by default).</p>
        <b>Response:</b>
-       <pre>
-       &lt;Response class="profile" function="getProfile"&gt;
-               &lt;Params id="..."&gt;
-                       &lt;string name="FirstName"&gt; ... &lt;/string&gt;
-                       &lt;string name="NickName"&gt; ... &lt;/string&gt;
-                       &lt;string name="LastName"&gt; ... &lt;/string&gt;
-                       &lt;string name="Gender"&gt; ... &lt;/string&gt;
-                       &lt;string name="Birthday"&gt; ... &lt;/string&gt;
-                       &lt;string name="MobilePhone"&gt; ... &lt;/string&gt;
-                       &lt;string name="HomePhone"&gt; ... &lt;/string&gt;
-                       &lt;img name="Img"&gt; ... &lt;/img&gt;
-                       &lt;string name="CityName"&gt; ... &lt;/string&gt;
-                       &lt;string name="CountryName"&gt; ... &lt;/string>
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;profile&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getProfile&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;NickName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Gender&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Birthday&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;MobilePhone&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;HomePhone&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/img<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;CityName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;CountryName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <h4>getBaseProfile</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="profile" function="getBaseProfile"&gt;
-               &lt;Params id="..."&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;profile&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getBaseProfile&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+&nbsp;
        </pre>
        <p>Attribute <i>id</i> is an id of user whose profile is needed to be received (optional, equals id of owner of current account by default).</p>
        <b>Response:</b>
-       <pre>
-       &lt;Response class="profile" function="getBaseProfile"&gt;
-               &lt;Params id="..."&gt;
-                       &lt;string name="FirstName"&gt; ... &lt;/string&gt;
-                       &lt;string name="NickName"&gt; ... &lt;/string&gt;
-                       &lt;string name="LastName"&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;profile&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getBaseProfile&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;NickName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
+       <!-- Profile finish -->
 
-
-
+       <!-- Friends start -->
        <h3>Friends</h3>
        <h4>getListFriends</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="friends" function="getListFriends"&gt;
-               &lt;Params id="..."&gt;
-                       &lt;number name="page"&gt; ... &lt;/number&gt;
-                       &lt;number name="pageSize"&gt; ... &lt;/number&gt;
-               &lt;/Params&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;friends&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListFriends&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <ul>
        <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
@@ -309,44 +300,41 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>id</i> - user id (optional, equals id of owner of current account by default) </li>
        </ul>
        <b>Response:</b>
-       <pre>
-       &lt;Response class="friends" function="getListFriends"&gt;
-               &lt;Params id="..."&gt;
-                       &lt;array name="contactList" page="..." pageSize="..." quantity="..."&gt;
-                               &lt;struct name="contact" id="..."&gt;
-                                       &lt;string name="FirstName"&gt; ... &lt;/string&gt;
-                                       &lt;string name="NickName"&gt; ... &lt;/string&gt;
-                                       &lt;string name="LastName"&gt; ... &lt;/string&gt;
-                                       &lt;string name="FriendStatus"&gt; ... &lt;/string&gt;
-                                       &lt;img name="Img"&gt; ... &lt;/img&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;friends&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListFriends&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;contactList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;contact&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;NickName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FriendStatus&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/img<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <h4>deleteFriend</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="friends" function ="deleteFriend"&gt;
-               &lt;Params id="..."/&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;friends&quot;</span> function =<span style="color: #ff0000;">&quot;deleteFriend&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <b>Response:</b> info message or error message.
+       <!-- Friends finish -->
 
-
-
+       <!-- Photos start -->
        <h3>Photos</h3>
        <h4>createAlbum</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="photos" function="createAlbum"&gt;
-               &lt;Params id="..."&gt;
-                       &lt;string name="name"&gt; ... &lt;/string&gt;
-                       &lt;string name="description"&gt; ... &lt;/string&gt;
-                       &lt;string name="privacy"&gt;PRIVACY&lt;/string&gt;
-               &lt;/Params&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;createAlbum&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;privacy&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>PRIVACY<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        PRIVACY can have following values: 
        <ul>
@@ -362,58 +350,54 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>description</i> - optional </li>
        </ul>
        <b>Response:</b>
-       <pre>
-       &lt;Response class="photos" function="createAlbum"&gt;
-               &lt;Params id="..."&gt;
-                       &lt;string name="albumId"&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;createAlbum&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <h4>getListAlbums</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="photos" function="getListAlbums"&gt;
-               &lt;Params id="..."/&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListAlbums&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <p><i>id</i> - optional, equals id of owner of current account by default.</p>
        <b>Response:</b>
-       <pre>
-       &lt;Response class="photos" function="getListAlbums"&gt;
-               &lt;Params&gt;
-                       &lt;array name="albumList" quantity="..." ownerId="..."&gt;
-                               &lt;struct name="album" id="..."&gt;
-                                       &lt;string name="title"&gt; ... &lt;/string&gt;
-                                       &lt;string name="description"&gt; ... &lt;/string&gt;
-                                       &lt;string name="thumbId"&gt; ... &lt;/string&gt;
-                                       &lt;img name="Img"&gt; ... &lt;/img&gt;
-                                       &lt;number name="created"&gt; ... &lt;/number&gt;
-                                       &lt;number name="updated"&gt; ... &lt;/number&gt;
-                                       &lt;number name="size"&gt; ... &lt;/number&gt;
-                                       &lt;number name="canUpload"&gt; ... &lt;/number&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListAlbums&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;album&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;thumbId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/img<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;updated&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;size&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;canUpload&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <p><i>canUpload</i> - optional, if this parameter isn't set, it means that album is available for current user.</p>
 
        <h4>uploadPhoto</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;photos&quot; function = &quot;uploadPhoto&quot;&gt;
-               &lt;Params&gt;
-                       &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;albumName&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;albumPrivacy&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;albumDescription&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;file&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;fileName&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;description&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;tags&quot;&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;uploadPhoto&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumPrivacy&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumDescription&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;file&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fileName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;tags&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <ul>
        <li>There have to be only one of parameters <i>albumName</i> or <i>albumId</i> in request.</li>
@@ -425,25 +409,23 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li>Parameter <i>fileName</i> contains name of file for upload.</li>
        </ul>
        <b>Response:</b>
-       <pre>
-       &lt;Response class=&quot;photos&quot; function = &quot;uploadPhoto&quot;&gt;
-               &lt;Params&gt;
-                       &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;photoId&quot;&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;uploadPhoto&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photoId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <h4>getListPhotos</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;photos&quot; function = &quot;getListPhotos&quot;&gt;
-               &lt;Params id=&quot;...&quot;&gt;
-                       &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                       &lt;number name=&quot;page&quot;&gt; ... &lt;/number&gt;
-                       &lt;number name=&quot;pageSize&quot;&gt; ... &lt;/number&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListPhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <ul>
        <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
@@ -451,31 +433,29 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>id</i> - user id (optional, equals id of owner of current account by default) </li>
        </ul>
        <b>Response:</b>
-       <pre>
-       &lt;Response class=&quot;photos&quot; function=&quot;getListPhotos&quot;&gt;
-               &lt;Params&gt;
-                       &lt;array name=&quot;photosList&quot; page=&quot;...&quot; pageSize=&quot;...&quot; quantity=&quot;...&quot; ownerId=&quot;...&quot; albumId=&quot;...&quot;&gt;
-                               &lt;struct name=&quot;photo&quot; id=&quot;...&quot;/&gt;
-                                       &lt;string name=&quot;urlSmall&quot;&gt; ... &lt;/string&gt;
-                                               &lt;string name=&quot;urlBig&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;urlOrig&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;description&quot;&gt; ... &lt;/string&gt;
-                                       &lt;number name=&quot;created&quot;&gt; ... &lt;/number&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListPhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photosList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">albumId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photo&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlSmall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlBig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlOrig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <h4>getListUserPhotos</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;photos&quot; function = &quot;getListUserPhotos&quot;&gt;
-               &lt;Params id=&quot;...&quot;&gt;
-                       &lt;number name=&quot;page&quot;&gt; ... &lt;/number&gt;
-                       &lt;number name=&quot;pageSize&quot;&gt; ... &lt;/number&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListUserPhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <ul>
        <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
@@ -483,60 +463,57 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>id</i> - user id (optional, equals id of owner of current account by default) </li>
        </ul>
        <b>Response:</b>
-       <pre>
-       &lt;Response class=&quot;photos&quot; function=&quot;getListUserPhotos&quot;&gt;
-               &lt;Params&gt;
-                       &lt;array name=&quot;photosList&quot; page=&quot;...&quot; pageSize=&quot;...&quot; quantity=&quot;...&quot;&gt;
-                               &lt;struct name=&quot;photo&quot; id=&quot;...&quot;/&gt;
-                                       &lt;string name=&quot;ownerId&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;urlSmall&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;urlBig&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;urlOrig&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;description&quot;&gt; ... &lt;/string&gt;
-                                       &lt;number name=&quot;created&quot;&gt; ... &lt;/number&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListUserPhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photosList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photo&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlSmall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlBig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlOrig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <h4>getListPhotoTags</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;photos&quot; function = &quot;getListPhotoTags&quot;&gt;
-               &lt;Params&gt;
-                       &lt;string name=&quot;ownerId&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;photoId&quot;&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListPhotoTags&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photoId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <b>Response:</b>
-       <pre>
-       &lt;Response class=&quot;photos&quot; function=&quot;getListPhotoTags&quot;&gt;
-               &lt;Params&gt;
-                       &lt;array name=&quot;tagsList&quot; quantity=&quot;...&quot; ownerId=&quot;...&quot; albumId=&quot;...&quot; photoId=&quot;...&quot;&gt;
-                               &lt;struct name=&quot;tag&quot; id=&quot;...&quot;/&gt;
-                                       &lt;string name=&quot;userId&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;text&quot;&gt; ... &lt;/string&gt;
-                                       &lt;number name=&quot;created&quot;&gt; ... &lt;/number&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListPhotoTags&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;tagsList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">albumId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">photoId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;tag&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;userId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
+
        <p>Parameter <i>userId</i> is an id of user which is marked on photo (optional).</p>
 
        <h4>getListFavoritePhotos</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;photos&quot; function = &quot;getListFavoritePhotos&quot;&gt;
-               &lt;Params id=&quot;...&quot;&gt;
-                       &lt;number name=&quot;page&quot;&gt; ... &lt;/number&gt;
-                       &lt;number name=&quot;pageSize&quot;&gt; ... &lt;/number&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListFavoritePhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <ul>
        <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
@@ -544,98 +521,92 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>id</i> - user id (optional, equals id of owner of current account by default) </li>
        </ul>
        <b>Response:</b>
-       <pre>
-       &lt;Response class=&quot;photos&quot; function=&quot;getListFavoritePhotos&quot;&gt;
-               &lt;Params&gt;
-                       &lt;array name=&quot;photosList&quot; page=&quot;...&quot; pageSize=&quot;...&quot; quantity=&quot;...&quot;&gt;
-                               &lt;struct name=&quot;photo&quot; id=&quot;...&quot;/&gt;
-                                       &lt;string name=&quot;ownerId&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;urlSmall&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;urlBig&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;urlOrig&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;description&quot;&gt; ... &lt;/string&gt;
-                                       &lt;number name=&quot;created&quot;&gt; ... &lt;/number&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListFavoritePhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photosList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photo&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlSmall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlBig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlOrig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <h4>getPhoto</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;photos&quot; function = &quot;getPhoto&quot;&gt;
-               &lt;Params&gt;
-                       &lt;string name=&quot;url&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;path&quot;&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getPhoto&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;path&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <b>Response:</b> info message or error message.
 
        <h4>getListPhotoComments</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;photos&quot; function = &quot;getListPhotoComments&quot;&gt;
-               &lt;Params&gt;
-                       &lt;string name=&quot;ownerId&quot;&gt; ... &lt;/string&gt;
-                               &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;photoId&quot;&gt; ... &lt;/string&gt;
-                       &lt;number name=&quot;page&quot;&gt; ... &lt;/number&gt;
-                       &lt;number name=&quot;pageSize&quot;&gt; ... &lt;/number&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListPhotoComments&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photoId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <ul>
        <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
        <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
        </ul>
        <b>Response:</b>
-       <pre>
-       &lt;Response class=&quot;photos&quot; function=&quot;getListPhotoComments&quot;&gt;
-               &lt;Params&gt;
-                       &lt;array name=&quot;commentsList&quot; page=&quot;...&quot; pageSize=&quot;...&quot;  quantity=&quot;...&quot; ownerId=&quot;...&quot; albumId=&quot;...&quot; photoId=&quot;...&quot;&gt;
-                               &lt;struct name=&quot;comment&quot; id=&quot;...&quot;/&gt;
-                                       &lt;string name=&quot;ParentId&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;SenderId&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;SenderName&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;Time&quot;&gt; ... &lt;/string&gt;
-                                       &lt;string name=&quot;Text&quot;&gt; ... &lt;/string&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListPhotoComments&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;commentsList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span>  <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">albumId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">photoId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;comment&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ParentId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <p>Parameter <i>ParentId</i> is an id of previous comment, if there is such one  (optional).</p>
 
        <h4>sendPhotoComment</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;photos&quot; function=&quot;sendPhotoComment&quot;&gt;
-               &lt;Params&gt;
-                       &lt;string name=&quot;ownerId&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;photoId&quot;&gt; ... &lt;/string&gt;
-                       &lt;string name=&quot;text&quot;&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;sendPhotoComment&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photoId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <b>Response:</b> info message or error message.
-       
-
+       <!-- Friends finish -->
 
+       <!-- Messages start -->
        <h3>Messages</h3>
        <h4>getListOutboxMessages</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class=&quot;messages&quot; function=&quot;getListOutboxMessages&quot;&gt;
-               &lt;Params&gt;
-                       &lt;number name=&quot;page&quot;&gt; ... &lt;/number&gt;
-                       &lt;number name=&quot;pageSize&quot;&gt; ... &lt;/number&gt;
-                       &lt;number name=&quot;timeOffset&quot;&gt; ... &lt;/number&gt;
-               &lt;/Params&gt;
-       &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListOutboxMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <ul>
        <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
@@ -643,151 +614,468 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <li><i>timeOffset</i> - time offset for requested messages</li>
        </ul>
        <b>Response:</b>
-       <pre>
-       &lt;Response class=&quot;messages&quot; function = &quot;getListOutboxMessages&quot;&gt;              
-               &lt;Params&gt;
-                       &lt;array name=&quot;messageList&quot; page=&quot;...&quot; pageSize=&quot;...&quot; quantity=&quot;...&quot;&gt;
-                               &lt;struct name=&quot;message&quot; id=&quot;...&quot;&gt;             
-                                               &lt;string name=&quot;SenderId&quot;&gt; ... &lt;/string&gt;
-                                               &lt;string name=&quot;SenderName&quot;&gt; ... &lt;/string&gt;
-                                               &lt;array name=&quot;recipientList&quot; quantity=&quot;...&quot;&gt;
-                                               &lt;struct name=&quot;recipient&quot;&gt;
-                                                       &lt;string name=&quot;RecipientId&quot;&gt; ... &lt;/string&gt;
-                                                       &lt;string name=&quot;RecipientName&quot;&gt; ... &lt;/string&gt;
-                                               &lt;/struct&gt;
-                                               &lt;/array&gt;
-                                               &lt;string name=&quot;Time&quot;&gt; ... &lt;/string&gt;
-                                               &lt;string name=&quot;Title&quot;&gt; ... &lt;/string&gt;
-                                               &lt;string name=&quot;Text&quot;&gt; ... &lt;/string&gt;
-                                               &lt;string name=&quot;Status&quot;&gt; ... &lt;/string&gt;
-                                               &lt;attachment id=&quot;...&quot; ownerId=&quot;...&quot; type=&quot;...&quot;&gt;
-                                                ...
-                                               &lt;/attachment&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-                       &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListOutboxMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;recipientList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;recipient&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;RecipientId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;RecipientName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Status&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                                        ...
+                                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <p>Parameter <i>attachment</i> is optional, its content depends on attribute <i>type</i> and can have following values:</p>
-       <pre>
-       &lt;attachment id=&quot;...&quot; ownerId=&quot;...&quot; type=&quot;image&quot;&gt;
-               &lt;string name=&quot;name&quot;&gt; ... &lt;/string&gt;      
-               &lt;string name=&quot;albumId&quot;&gt; ... &lt;/string&gt;
-                &lt;string name=&quot;urlSmall&quot;&gt; ... &lt;/string&gt;
-                &lt;string name=&quot;urlBig&quot;&gt; ... &lt;/string&gt;
-        &lt;/attachment&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;image&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>      
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlSmall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlBig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+&nbsp;
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;video&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlImage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+&nbsp;
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;audio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+&nbsp;
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;link&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlImage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+&nbsp;
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;note&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       
+       <h4>getListInboxMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListInboxMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
+       <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
+       <li><i>timeOffset</i> - time offset for requested news (optional)</li>
+       </ul>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListInboxMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Status&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>                        
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                        ...
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>getListThreads</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListThreads&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
+       <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
+       </ul>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListThreads&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;threadList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;thread&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;size&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>getListThreadMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListThreadMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;threadId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
+       <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
+       </ul>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListThreadMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageList&quot;</span> <span style="color: #000066;">threadId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;recipientList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;recipient&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                                   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;RecipientId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                                   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;RecipientName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Status&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>                        
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                        ...
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>time</i> - time of the last message in thread</li>
+       <li><i>senderId and senderName</i> - available only for inbox messages</li>
+       <li><i>recipientList</i> - available only for outbox messages</li>      
+       </ul>
+
+       <h4>getTotalCountInbox</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountInbox&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountInbox&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
 
-       &lt;attachment id=&quot;...&quot; ownerId=&quot;...&quot; type=&quot;video&quot;&gt;
-               &lt;string name=&quot;name&quot;&gt; ... &lt;/string&gt;
-               &lt;string name=&quot;url&quot;&gt; ... &lt;/string&gt;
-                &lt;number name=&quot;duration&quot;&gt; ... &lt;/number&gt;
-                &lt;string name=&quot;urlImage&quot;&gt; ... &lt;/string&gt;
-        &lt;/attachment&gt;
+       <h4>getTotalCountOutbox</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountOutbox&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountOutbox&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
 
-       &lt;attachment id=&quot;...&quot; ownerId=&quot;...&quot; type=&quot;audio&quot;&gt;
-               &lt;string name=&quot;name&quot;&gt; ... &lt;/string&gt;
-               &lt;string name=&quot;url&quot;&gt; ... &lt;/string&gt;
-               &lt;number name=&quot;duration&quot;&gt; ... &lt;/number&gt;
-        &lt;/attachment&gt;
+       <h4>getCountInboxByTime</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getCountInboxByTime&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getCountInboxByTime&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
 
-       &lt;attachment id=&quot;...&quot; ownerId=&quot;...&quot; type=&quot;link&quot;&gt;
-                       &lt;string name=&quot;name&quot;&gt; ... &lt;/string&gt;
-                &lt;string name=&quot;url&quot;&gt; ... &lt;/string&gt;
-                &lt;string name=&quot;urlImage&quot;&gt; ... &lt;/string&gt;
-        &lt;/attachment&gt;
+       <h4>getCountOutboxByTime</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getCountOutboxByTime&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getCountOutboxByTime&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
 
-       &lt;attachment id=&quot;...&quot; ownerId=&quot;...&quot; type=&quot;note&quot;&gt;
-               &lt;string name=&quot;name&quot;&gt; ... &lt;/string&gt;
-               &lt;string name=&quot;url&quot;&gt; ... &lt;/string&gt;
-       &lt;/attachment&gt;
+       <h4>sendMessage</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;sendMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
+       <b>Response:</b> info message or error message.
 
+       <h4>readMessage</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"> <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;readMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
 
+       <h4>deleteMessage</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;deleteMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
 
+       <h4>getListWallMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListWallMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListWallMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                        ...
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+             <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <p>Content of the <i>attachment</i> tag is the same as in class <i>Messages</i>.</p> 
 
+       <h4>getTotalCountWall</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountWall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getTotalCountWall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;quantity&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>123<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>sendWallMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;sendWallMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>text of message<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
+
+       <h4>deleteWallMessages</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;deleteWallMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b> info message or error message.
+       <!-- Messages finish -->
 
+       <!-- Audio start -->
        <h3>Audio</h3>
        <h4>getListAudio</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="audio" function="getListAudio"&gt;
-               &lt;Params id="..."&gt;
-               &lt;/Params&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListAudio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <b>Response:</b>
-       <pre>
-       &lt;Response class="audio" function="getListAudio"&gt;
-               &lt;Params id="..."&gt;
-                       &lt;array name="audioList" quantity="..." ownerId="..."&gt;
-                               &lt;struct name="audio" id="..."&gt;
-                                       &lt;string name="title"&gt; ... &lt;/string&gt;
-                                       &lt;string name="artist"&gt; ... &lt;/string&gt;
-                                       &lt;number name="duration"&gt; ... &lt;/number&gt;
-                                       &lt;string name="audio"&gt; ...url... &lt;/string&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListAudio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audioList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;artist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ...url... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
+       <h4>getAudio</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getAudio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;vk...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audioId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> function = <span style="color: #ff0000;">&quot;getAudio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;vk...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;vk...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
+              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;artist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+              <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>...url...<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+          <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <!-- Audio finish -->
 
-
+       <!-- Video start -->
        <h3>Video</h3>
        <h4>getListVideo</h4>
        <b>Request:</b>
-       <pre>
-       &lt;Request class="video" function="getListVideo"&gt;
-               &lt;Params id="..."&gt;
-               &lt;/Params&gt;
-        &lt;/Request&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;video&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListVideo&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
        <b>Response:</b>
-       <pre>
-       &lt;Response class="video" function="getListVideo"&gt;
-               &lt;Params&gt;
-                       &lt;array name="videoList" quantity="..." ownerId="..."&gt;
-                               &lt;struct name="video" id="..."&gt;
-                                       &lt;string name="title"&gt; ... &lt;/string&gt;
-                                       &lt;string name="description"&gt; ... &lt;/string&gt;
-                                       &lt;number name="duration"&gt; ... &lt;/number&gt;
-                                       &lt;img name="Img"&gt; ...url... &lt;/img&gt;
-                                       &lt;string name="link"&gt; ...url... &lt;/string&gt;
-                                       &lt;string name="url"&gt; ...url to player... &lt;/string&gt;
-                               &lt;/struct&gt;
-                       &lt;/array&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;video&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListVideo&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;videoList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;video&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ...url... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/img<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;link&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ...url... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ...url to player... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
+       <!-- Video finish -->
 
-
-
+       <!-- News start -->
        <h3>News</h3>
+       <h4>getListNews</h4>
+       <b>Request:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;news&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListNews&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;newsType&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>TYPE<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <ul>
+       <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
+       <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
+       <li><i>timeOffset</i> - time offset for requested news (optional)</li>
+       </ul>
+       <p>TYPE can have following values:</p>
+       <ul>
+       <li><i>photo:</i> new friends' photos</li>
+       <li><i>message:</i> new wall messages</li>
+       <li><i>comment:</i> new comments to user's photos and comments to friends' photos that were commented by the user</li>
+       <li><i>audio:</i> new friends' audio</li>
+       <li><i>video:</i> new friends' video</li>
+       <li><i>like:</i> new "Like" marks</li>
+       <li><i>tag:</i> new mark on photos</li>
+       <li><i>friend:</i> new friends' friends</li>
+       </ul>   
+       <b>Response:</b>
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;news&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListNews&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;newsList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">newsType</span>=<span style="color: #ff0000;">&quot;TYPE&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;news&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;authorId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;authorName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;image/video/audio/link/note&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> 
+                <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>            
+        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <i>authorName</i> - news author name (optional).
+       <p>Content of the <i>attachment</i> tag is the same as in class <i>Messages</i>.</p>    
+       <!-- News finish -->
 
+       <!-- Info messages start -->
        <h3>Info and error messages</h3>
        <h4>Error message format</h4>
-       <pre>
-       &lt;Response class="systemMessages" function = "errorMessage"&gt;              
-               &lt;Params&gt;
-                       &lt;string name="moduleName"&gt; ... &lt;/string&gt;
-                       &lt;string name="code"&gt; ... &lt;/string&gt;
-                       &lt;string name="text"&gt; ... &lt;/string&gt;
-                       &lt;string name="comment"&gt; ... &lt;/string&gt;
-                       &lt;string name="type"&gt;user/internal/service &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;systemMessages&quot;</span> function = <span style="color: #ff0000;">&quot;errorMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;moduleName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;code&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;comment&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;type&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>user/internal/service <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
 
        <h4>Info message format</h4>
-       <pre>
-       &lt;Response class="systemMessages" function = "infoMessage"&gt;              
-               &lt;Params&gt;
-                       &lt;string name="moduleName"&gt; ... &lt;/string&gt;
-               &lt;/Params&gt;
-       &lt;/Response&gt;
+       <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;systemMessages&quot;</span> function = <span style="color: #ff0000;">&quot;infoMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+               <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;moduleName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
-
-
+       <!-- Info messages finish -->
       </td>
       </tr>
     </table></td>