You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


Function used to log a LAC administrator into LAC using login and password. The response returns a token that must be used to run any other Vendor API functions. The token is valid for 3 hours from successful login.
Example 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:ns="http://www.lac2.pl:8080/soap/type/vendor/version/1">
<soapenv:Header/>
<soapenv:Body>
<ns:Login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<username xsi:type="xsd:string">demo</username>
<password xsi:type="xsd:string">demo</password>
</ns:Login>
</soapenv:Body>
</soapenv:Envelope>
Example response:
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.lac2.pl:8080/soap/type/vendor/version/1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:LoginResponse>
<return xsi:type="ns1:Soap_Response_Login">
<token xsi:type="xsd:string">390bbf1a84283460a847b492843d96c57c5eff58</token>
<result_code xsi:type="xsd:int">0</result_code>
<result_string xsi:nil="true"/>
</return>
</ns1:LoginResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

  • No labels