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:
parameter | type | description |
---|
username | string | user login |
Response parameters:
name | type | description |
---|
requestStatus | string | result of request |
requestStatusDescription | string | status description |
Possible errors:
error | description |
---|
ERR_INVALID_USERNAME | invalid username |
Was this article helpful to you?
Yes No