1. Home
  2. Corporate Node
  3. SOAP requests
  4. fetchUserLocation

fetchUserLocation

Operation fetchUserLocation creates task which loads localization of user with provided name to cache.

Example SOAP request:

<?xml version="1.0" encoding="UTF-8"?>
<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:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:fetchUserLocation>
   <username>username3</username>
  </ns:fetchUserLocation>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Example SOAP response:

<?xml version="1.0" encoding="UTF-8"?>
<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:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:fetchUserLocationResponse>
   <return>
    <requestStatus>SUCCESS</requestStatus>
    <requestStatusDescription>Request succeeded.</requestStatusDescription>
   </return>
  </ns:fetchUserLocationResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Request parameters:

parametertypedescription
usernamestringuser login

Response parameters:

nametypedescription
requestStatusstringresult of request
requestStatusDescriptionstringstatus description

Possible errors:

errordescription
ERR_INVALID_USERNAMEinvalid username
Was this article helpful to you? Yes No

How can we help?