1. Home
  2. Application 24/7
  3. SOAP requests
  4. checkSlavesConnectedToUser

checkSlavesConnectedToUser

Operation checkSlavesConnectedToUser checks statuses of slaves connected to user.

Example SOAP request:

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="ns1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns1:checkSlavesConnectedToUser soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <username xsi:type="xsd:string">gui2</username>
      </ns1:checkSlavesConnectedToUser>
   </soapenv:Body>
</soapenv:Envelope>

Example SOAP response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="ns1">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <ns1:checkSlavesConnectedToUserResponse>
         <return xsi:type="ns1:vuiCheckSlaveStatusResponse">
            <requestStatus>SUCCESS</requestStatus>
            <requestStatusDescription>Request succeeded.</requestStatusDescription>
            <statusList>
               <item>
                  <location>
                     <slaveLocation>
                        <soapAddress>
                           <ip>192.168.3.192</ip>
                           <port>9602</port>
                        </soapAddress>
                        <applicationAddress>
                           <ip>192.168.3.192</ip>
                           <port>30202</port>
                        </applicationAddress>
                     </slaveLocation>
                     <buddyLocation/>
                  </location>
                  <userLoggedIn>gui2</userLoggedIn>
                  <status>14</status>
               </item>
            </statusList>
         </return>
      </ns1:checkSlavesConnectedToUserResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request parameters:

parameter type description
username string user name

Response parameters:

name type description
statusList slaveStatusList list of slave statuses
requestStatus string result of request
requestStatusDescription string status description
Was this article helpful to you? Yes No

How can we help?