Function The Login function is used to log a LAC administrator into LAC using a valid 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.
Note that the result string for Login will contain an error message if unsuccessful. See Return Codesfor further information on error messages.
Example request:
No Format |
---|
<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> |
...